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]

Re: Cannot build a gcc cross-compiler


Martin Guy wrote:
It seems a chicken and egg problem: glibc needs gcc, gcc needs glibc.
It is. You need a robot chicken to make your first egg. Specifically,
you build a stripped-down gcc that is enough to build glibc, then use
that two to build the final gcc.

I'm trying to build the stripped-down gcc, but it still fails after having added --disable-decimal-float --without-headers --with-newlib --disable-threads --disable-shared --disable-libmudflap --disable-libssp.


I have also looked at crosstools-ng, but it also fails (at configure stage) because of automake.

Also, I'd like to avoid automatic scripts that do the job for me, because even if they work, I would not understand and learn anything about building a toolchains and cross-compilers. Instead what I probably really need is good documentation, but after having extensively searched the web I only found laconic or obsolete pages.


-- 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]