This is the mail archive of the crossgcc@sources.redhat.com 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]

Re: cygwin arm-elf-linux gcc build failure


Kai Ruottu wrote:
> 
>  Generally it sounds absurd that someone could be a novice and to be the
> first to build binutils+gcc+glibc for something called 'uClinux-2.4' for
> ARM... Prebuilt binutils and gcc binaries aren't necessary, but the
> prebuilt glibc is... Anyone trying to build GCC for his/hers host, will
> need some target libs & headers first if not being familiar with building
> from scratch. So I would expect the 'arm-linux' C-library being easily
> available in the net...

I don't believe this is true. I haven't tried it myself, but I'm pretty
sure you can build gcc and just point it at the glibc headers. Don't build
anything else, just gcc (i.e. configure with --enable-languages=c and do
make all-gcc install-gcc (also with LANGUAGES=c with older gcc sources)).

Once you've got that, you can build glibc. Once you've built glibc, then
you go back and rebuild the compiler properly.

As I said I haven't done it myself, but it is my understanding.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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