[OSX] arm-GTA02-linux-gnueabi toolchain for i386-apple-darwin

Dr. H. Nikolaus Schaller hns at computer.org
Thu Jan 15 21:45:29 CET 2009


Am 09.01.2009 um 23:22 schrieb Christopher Friedt:

> Good work ;-)
>
> On Fri, Jan 9, 2009 at 5:09 PM, Dr. H. Nikolaus Schaller
> <hns at computer.org> wrote:
>> :) :) :)
>>
>> After doing some more magical tricks, now the glibc configure with  
>> NPTL
>> succeeds and the first phase gcc is being built!
>>
>> So it appears that I have (a still incomplete) gcc that supports C  
>> (but no
>> C++ and Obj-C and of course no real glibc).

Unfortunately it turned out that this gcc can really create .o files -  
but ld does not find crt1.o

>> Next steps tomorrow...

I was a little too optimistic...

In the build log I have found an error message that is as simple as:

checking for library containing strerror... configure: error: Link  
tests are not allowed after GCC_NO_EXECUTABLES.
make[1]: *** [configure-target-libiberty] Error 1

The key issue appears that the build of 4.1.2 gcc it tries to  
configure some libraries for the target processor [configure-target- 
libiberty] before crt1.o is built. And these configure scripts try to  
build executables (using xgcc, ld and crt1.o). So this fails and  
crt1.o is not built at all.

As usual Google reveals that others also had this problem but nobody  
appears to post solutions to recent gcc building issues...

So, let's jump again into the mud of cross toolchain building...

Nikolaus



More information about the devel mailing list