[Bug bootstrap/55293] bootstrap failure: invalid conversion from 'char**' to 'const char**' [-fpermissive]

ebotcazou at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Nov 14 08:50:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55293

--- Comment #16 from Eric Botcazou <ebotcazou at gcc dot gnu.org> 2012-11-14 08:49:46 UTC ---
> FWIW, I bootstrapped a pure 64-bit gcc-4.7.2 on Solaris 10/SPARC64 yesterday,
> with C, Ada, and C++, using a normal 32-bit-but-64-bit-capable gcc-4.7.2 as
> host compiler.  About the only issue was that I had to coerce the host compiler
> to generate 64-bit code by default; for that I put
> 
> #!/bin/sh
> exec gcc -m64 "$@"
> 
> in a "gcc64" shell script and passed the path to it in CC when configuring gcc.

That's not even necessary, just do CC="gcc -m64" ./configure [options].

> Overriding CFLAGS might have worked too, but I didn't try that.

Nope, fiddling with CFLAGS, BOOT_CFLAGS and the like is strongly discouraged.



More information about the Gcc-bugs mailing list