This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: bootstrap gcc for i686-linux-gnu on x86_64 host
- From: Prathamesh Kulkarni <prathamesh dot kulkarni at linaro dot org>
- To: gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Tue, 23 Aug 2016 09:22:26 +0530
- Subject: Re: bootstrap gcc for i686-linux-gnu on x86_64 host
- Authentication-results: sourceware.org; auth=none
- References: <CAAgBjMm-h3P9pF2Lv37BiMH4tO-w_znMSqKT4pmCmBdDKQHqGw@mail.gmail.com>
On 23 August 2016 at 09:15, Prathamesh Kulkarni
<prathamesh.kulkarni@linaro.org> 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"
I am building mpc/mpfr/gmp/isl in-tree.
Thanks,
Prathamesh
>
> Thanks,
> Prathamesh