This is the mail archive of the crossgcc@sourceware.org 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]

[CT_NG] bug - compiling mips gcc (4.1.2) with glibc 2.6.1


Hello,

Seems as if when configuring part of the glibc package, the native compiler (gcc) is being used instead of the newly built boot strapped compiler (mips-unknown-linux-gnu-gcc in my case). This causes the compiler to barf when getting mips specific arguments (in my case: cc1: error: unrecognized command line option "-mabi=32").

A one line change was enough to get me going (listed below)

My build log is available should someone want to look at it.


Thanks,


Marco


---------------------------- --- libc_glibc.sh 2007-10-29 13:58:28.000000000 -0400 +++ libc_glibc.sh.patched 2007-10-29 14:04:12.000000000 -0400 @@ -88,7 +88,7 @@ CT_DoLog DEBUG "Extra config passed : \"${addons_config}\""

    libc_cv_ppc_machine=yes                     \
-    CC=${CT_CC_NATIVE}                          \
+    CC=${cross_cc}                              \
    "${CT_SRC_DIR}/${CT_LIBC_FILE}/configure"   \
        --build="${CT_UNIQ_BUILD}"              \
        --host="${CT_TARGET}"                   \

Attachment: build.log.bz2
Description: Binary data

--
For unsubscribe information see http://sourceware.org/lists.html#faq

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]