diff options
author | jimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-04-20 23:15:03 +0000 |
---|---|---|
committer | jimb <jimb@7b3dc134-2b1b-0410-93df-9e9f96275f8d> | 2007-04-20 23:15:03 +0000 |
commit | 534d2e9ab78a202f03b8db39d80f8d2b81c5f1b6 (patch) | |
tree | 7d70383920760de87cb95f63746c23e514e38e89 | |
parent | d196dd9dcccf1d625941499a94349d2ba7a90810 (diff) |
* EGLIBC.cross-building: doc fix.
git-svn-id: svn://svn.eglibc.org/trunk@2037 7b3dc134-2b1b-0410-93df-9e9f96275f8d
-rw-r--r-- | libc/ChangeLog.eglibc | 4 | ||||
-rw-r--r-- | libc/EGLIBC.cross-building | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libc/ChangeLog.eglibc b/libc/ChangeLog.eglibc index d49cfbd5d..5c3999f37 100644 --- a/libc/ChangeLog.eglibc +++ b/libc/ChangeLog.eglibc @@ -1,3 +1,7 @@ +2007-04-20 Jim Blandy <jimb@codesourcery.com> + + * EGLIBC.cross-building: doc fix. + 2007-04-19 Joseph Myers <joseph@codesourcery.com> * scripts/run-with-env.sh: Also handle diff --git a/libc/EGLIBC.cross-building b/libc/EGLIBC.cross-building index aadc8d217..6d5871981 100644 --- a/libc/EGLIBC.cross-building +++ b/libc/EGLIBC.cross-building @@ -265,11 +265,16 @@ whatever languages and libraries we would like to use: > --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. |