Compiling gcc with -mcmodel=large fails

Andrew Haley aph@redhat.com
Tue Jul 3 12:55:00 GMT 2012


On 07/03/2012 01:53 PM, Adrian Smith wrote:
> I'm sort-of worried by the "/32/" in that path there. Do I have
> to specify something to make sure I'm building a 64-bit compiler? I
> assume not, as my OS is 64-bit, the installed gcc which will be used
> to build the first phase of bootstrapping is 64-bit, and the compiler
> I built which worked outputted a 64-bit executable (at least according
> to "file").

It's applying -mcmodel=medium to the 32-bit build.

--disable-multilib



More information about the Gcc-help mailing list