This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: building gcc compiler --target=x86_64
tsah marco writes:
> hi,
>
> i am trying to build gcc compiler on pc(turion64x2 with fedora-8) for
> target - athlon 64bit x2,
> i have build one compiler with the following parameters:
>
> [root@localhost gcc-4.1.0]# gcc -v
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured with: ./configure --enable-languages=c,c++
> --enable-threads=posix --disable-checking --enable-__cxa_atexit
> --disable-libunwind-exceptions --prefix=/opt/gcc/gcc-4.1.0
> Thread model: posix
> gcc version 4.1.0
>
> now i want to install gcc 64bit version the way is to change the
> --target=x86_64--pc-linux-gnu
> in the confiigure script i have som questions:
> 1) how do i know if my OS fedora-8 is 64bit based(because i install
> x86_64 version DVD)
uname -a
> 2) i believe gcc version 4.1.0 support 64 bit ,is it true?
Yes.
> 3) do you have any configure example for x86_64 bit that works for
> you?
Just use the defaults.
Andrew.
--
Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SL4 1TE, UK
Registered in England and Wales No. 3798903