[oi-dev] gcc default
ewald.ertl at gmail.com
Thu Nov 24 12:59:29 UTC 2011
On Thu, Nov 24, 2011 at 8:22 AM, Jorgen Lundman <lundman at lundman.net> wrote:
> After figuring out the sfe repository stuff, we finally managed to install
> gcc-4. OpenIndiana runs nicely in 64bit, and everything is 64bit, including
> perl and perl modules.
> And yet, when you use gcc, the default output is 32bit. Does this really
> make sense any more? (on intel at least).
> Sure I can add -m64 to everything I compile, (presumably including perl
> modules) but is there no easy way to change the default from -m32 to -m64 ?
I can not help directly, but on a Debian 6.0.1 64bit installation, the gcc
is compiling per default to 64bit and the 32bit target must be explicitly
the compile line.
> I was stuffing around in the /usr/gcc/4.6/lib/gcc/i386-pc-**
> solaris2.11/4.6.2/plugin/**include/config/i386 area, but it appears to be
> used when compiling gcc. Not after.
> Should the default be changed to 64bit in the repository?
> Jorgen Lundman | <lundman at lundman.net>
> Unix Administrator | +81 (0)3 -5456-2687 ext 1017 (work)
> Shibuya-ku, Tokyo | +81 (0)90-5578-8500 (cell)
> Japan | +81 (0)3 -3375-1767 (home)
> oi-dev mailing list
> oi-dev at openindiana.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the oi-dev