Re: Compiling gcc in 64 bits mode

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

 



lol37 lol37 <lol37cs16@xxxxxxxxx> writes:

> now that i know and compiled with success gcc, i wonder how i can make
> a gcc compiler for 64 bits platform, is the compiliation process is
> the same except that extras flags are involved, and if yes, which ?
> i've looked on the net for binutils i found --enable-64-bit-bfd,
> --host=x86_64-mingw32 and also for --target
> is there any other flags for gcc dependencies ( like gmp, mpfr, mpc,
> pthread ... ) ?

Normally if you build gcc on a 64-bit host it will automatically be
configured to generate 64-bit code.

If you are building gcc on a 32-bit x86 host, you can use the configure
option --enable-targets=all to include support for 64-bit x86.  See the
installation documentation.

You can also use --target but for various reasons that is harder.

Ian


[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