Re: native compile with multilib on x86_64 that doesn't have crt1.so crti.so crtn.so

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

 



Poor Yorick writes:

 > I'd like to compile a native gcc on an x86_64 machine with an
 > altertanative prefix and with --with-multilib=all.  In particular,
 > I want to be able to compile 32-bit binaries using -m32.  Problem
 > is, this machine does not have 32-bit crt*.o files, and I do not
 > have root or sudo access to /usr.  Currently, the only way I can
 > succesfully compile gcc is with --disable-multilib.  Is there any
 > way to get gcc to bootstrap its own 32-bit crt*.o, or do I have to
 > scrounge up 32-bit crt*.o files which have been compiled elsewhere?

The problem here is that crt?.o isn't part of gcc, it's part of the C
library.  So, whatever else you do you'll have to get the 32-bit C
library from somewhere.

Andrew.

[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