[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[patches] EGLIBC.cross-building doc fix
- To: patches@xxxxxxxxxx
- Subject: [patches] EGLIBC.cross-building doc fix
- From: Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
- Date: Fri, 20 Apr 2007 16:15:44 -0700
I've committed the below.
ChangeLog.eglibc:
2007-04-20 Jim Blandy <jimb@xxxxxxxxxxxxxxxx>
* EGLIBC.cross-building: doc fix.
Index: EGLIBC.cross-building
===================================================================
--- EGLIBC.cross-building (revision 2036)
+++ EGLIBC.cross-building (working copy)
@@ -265,11 +265,16 @@
> --target=$target \
> --prefix=$tools \
> --with-sysroot=$sysroot \
+ > --enable-__cxa_atexit \
> --disable-libssp --disable-libgomp --disable-libmudflap \
> --enable-languages=c,c++
$ PATH=$tools/bin:$PATH make
$ PATH=$tools/bin:$PATH make install
+The '--enable-__cxa_atexit' option tells GCC what sort of C++
+destructor support to expect from the C library; it's required with
+EGLIBC.
+
And since GCC's installation process isn't designed to help construct
sysroot trees, we must manually copy certain libraries into place in
the sysroot.