RE: Help building gcc with x86-64 support

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

 



Willow Schlanger wrote:

> To do this I need a gcc cross-compiler from Linux i686 to Linux ELF
> x86_64.
:
> That is because for OS development I don't need a 64-bit C runtime
> library built in any case.

To build a complete GCC toolchain you do need a C library; you need all of:

  - GCC
  - binutils (assembler and linker)
  - a C library, e.g. newlib or glibc

built for your target platform. The C library is at least required to help build GCC's own runtime libraries such as libgcc. At that point you could then either take the partial GCC build you have and use that to build a C library and then rebuild GCC, or you might already have enough of GCC built for what you need.

If you want to build a complete cross-compiler toolchain for a Linux target a good place to start is Crosstool,

    http://kegel.com/crosstool/

although it might not support very recent GCC versions.

Good luck!
Rup.


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email 
______________________________________________________________________


[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