Re: gcc 7.3 bootstrap: ld is skipping incompatible mpc/mpfr/gmp libs

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

 



On 21 March 2018 at 15:26, Michael Brunnbauer wrote:
>
> Hello Jonathan,
>
> On Wed, Mar 21, 2018 at 03:11:33PM +0000, Jonathan Wakely wrote:
>> What do you mean by "hardware name is x86_64"?
>
> uname -m
>
>> What does running the config.guess script from the gcc source tree print?
>
> x86_64-pc-linux-gnu

That's definitely the problem. I don't think you mentioned this
unusual setup, you said you were building on a "x86 32 bit system".


> Hm... that should probably be i686-pc-linux-gnu. "gcc -dumpmachine" for my
> old gcc says i686-pc-linux-gnu and that is what I want gcc to produce:
> 32 bit code that will run on older CPUs and 64 bit code only when requested.
>
> Should I pass something like --with-cpu=i686 to configure?

That's not a valid cpu for x86_64.

Try --host=i686-pc-linux-gnu

Maybe also --build=i686-pc-linux-gnu



[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