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] | |
Hi Yann,
I am building toolchain for ppc with gcc 4.2.4 and glibc 2.6.1 on Fedora8.
I had to delete patch "270-soft-float.patch". With this in place glibc build always
fails due to missing arithmetic primitives (__gcc_gadd, __gcc_gsub, __gcc_gmul, __gcc_gdiv).
Is there a better way to fix this than what I did by removing the file?
There was also problems with build tuple (CT_BUILD). F8 native gcc -dumpmachine gives i386-redhat-linux,
but config.guess says i686-pc-linux-gnu and build fails. Your latest version in svn almost fixes this and
a small change made it work for me:
+ # Canonicalise CT_BUILD and CT_HOST
+ # Not only will it give us full-qualified tuples, but it will also ensure
+ # that they are valid tuples (in case of typo with user-provided tuples)
+ # That's way better than trying to rewrite config.sub ourselves...
+ CT_BUILD=$(./tools/config.sub "${CT_BUILD}")
+ CT_HOST=$(./tools/config.sub "${CT_HOST}")
changed two last lines to
+ CT_BUILD=$(`dirname $0`/../tools/config.sub "${CT_BUILD}")
+ CT_HOST=$(`dirname $0`/../tools/config.sub "${CT_HOST}")
--Jussi
--
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] |