[oi-dev] gcc default
Jorgen Lundman
lundman at lundman.net
Thu Nov 24 07:22:23 UTC 2011
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 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?
Lund
--
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)
More information about the oi-dev
mailing list