[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[commits] r2037 - in /trunk/libc: ChangeLog.eglibc EGLIBC.cross-building



Author: jimb
Date: Fri Apr 20 16:15:03 2007
New Revision: 2037

Log:
* EGLIBC.cross-building: doc fix.

Modified:
    trunk/libc/ChangeLog.eglibc
    trunk/libc/EGLIBC.cross-building

Modified: trunk/libc/ChangeLog.eglibc
==============================================================================
--- trunk/libc/ChangeLog.eglibc (original)
+++ trunk/libc/ChangeLog.eglibc Fri Apr 20 16:15:03 2007
@@ -1,3 +1,7 @@
+2007-04-20  Jim Blandy  <jimb@xxxxxxxxxxxxxxxx>
+
+	* EGLIBC.cross-building: doc fix.
+
 2007-04-19  Joseph Myers  <joseph@xxxxxxxxxxxxxxxx>
 
 	* scripts/run-with-env.sh: Also handle

Modified: trunk/libc/EGLIBC.cross-building
==============================================================================
--- trunk/libc/EGLIBC.cross-building (original)
+++ trunk/libc/EGLIBC.cross-building Fri Apr 20 16:15:03 2007
@@ -265,10 +265,15 @@
     >     --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