This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Here's a patch Carl sent me and forgot to cc the list. Maybe it's important, I haven't tried it yet. - Dan
-------- Original Message -------- Subject: crosstool followup patch Date: Wed, 24 Dec 2003 16:10:05 -0800 From: Carl Miller <chaz@energoncube.net> To: dank@kegel.com
Minor cleanups and (my) stupidity fixes. To be applied on top of my previous patch set. Index: all.sh =================================================================== RCS file: /home/cvs/tools/crosstool-0.25/all.sh,v retrieving revision 1.4 retrieving revision 1.6 diff -d -u -r1.4 -r1.6 --- all.sh 20 Dec 2003 00:16:31 -0000 1.4 +++ all.sh 20 Dec 2003 00:36:50 -0000 1.6 @@ -86,6 +86,8 @@ if test -z "$PREFIX_NO_REMOVE"; then rm -rf $PREFIX mkdir -p $PREFIX + else + rm -rf $PREFIX/$TARGET fi mkdir -p $BUILD_DIR cd $BUILD_DIR @@ -93,7 +95,7 @@ cd $TOP_DIR if echo "$GCC_EXTRA_CONFIG" | \ - egrep -- "--with-languages=c( | |\$)"; then + egrep -- "--enable-languages=c( | |\$)"; then TEST_HELLO_OPTS="--c-only"; fi # Cute little compile test Index: crosstool.sh =================================================================== RCS file: /home/cvs/tools/crosstool-0.25/crosstool.sh,v retrieving revision 1.5 retrieving revision 1.6 diff -d -u -r1.5 -r1.6 --- crosstool.sh 20 Dec 2003 00:07:47 -0000 1.5 +++ crosstool.sh 20 Dec 2003 00:35:17 -0000 1.6 @@ -178,7 +178,7 @@ # pregenerated locales is not compatible with crosstool; besides, # crosstool downloads them as part of getandpatch.sh. if echo "$GCC_EXTRA_CONFIG" | \ - egrep -v -- "--with-languages=c( | |\$)"; then + egrep -v -- "--enable-languages=c( | |\$)"; then cat >> munge-oldconfig.sed <<-ENDSED s/^\\# UCLIBC_CTOR_DTOR is not set/UCLIBC_CTOR_DTOR=y/ s/^\\# UCLIBC_HAS_WCHAR is not set/UCLIBC_HAS_WCHAR=y/
------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |