Re: cross compiling gcc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>> So the reaon this test fails is not necessarily because forced unwind
>> support is missing, but because crt1.o is...
>
> Interesting problem.  crt1.o actually comes from glibc, so it's no
> surprise that gcc can't find it when configuring glibc for the first
> time.

See the eglibc build instructions:
http://www.eglibc.org/cgi-bin/viewcvs.cgi/*checkout*/branches/eglibc-2_5/libc/EGLIBC.cross-building

It says:
"Next, there are a few object files needed to link shared libraries,
which we build and install by hand:

    $ mkdir -p $sysroot/usr/lib
    $ make csu/subdir_lib
    $ cp csu/crt1.o csu/crti.o csu/crtn.o $sysroot/usr/lib
"

>> It can't honestly be that hard to build a cross compiler.
>
> Yes, I'm afraid it can.

Indeed.  Those eglibc instructions help a lot; whenever you run into a
problem though, you're on your own.


Segher



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux