Re: bootstrap gcc for i686-linux-gnu on x86_64 host

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

 



On 23 August 2016 at 04:45, Prathamesh Kulkarni wrote:
> Hi,
> Is it possible to bootstrap gcc for i686-linux-gnu on x86_64 host ?
> Should the following work ?
> a) Build binutils for i686-linux-gnu
> b) configure gcc with --host=i686-linux-gnu --build=i686-linux-gnu
> --target=i686-linux-gnu
> c) make BOOT_CFLAGS="-m32"

My memory of trying this is hazy, but IIRC this isn't sufficient, and
you need CC='gcc -m32' CXX='g++ -m32' or something like that.



[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