http://gcc.gnu.org/bugzilla/show_bug.cgi?id=58833
Bug ID: 58833 Summary: RFE: 64-bit native compiler on Solaris Product: gcc Version: unknown Status: UNCONFIRMED Severity: normal Priority: P3 Component: target Assignee: unassigned at gcc dot gnu.org Reporter: stefan.teleman at oracle dot com This is much more of a RFE than a bug (defect). Would it be possible for GCC in Solaris to auto-configure itself as a 64-bit native compiler by default (instead of the current 32-bit native compiler default)? The output of `uname -p` in Solaris is always 'i386' or 'sparc', regardless of whether or not the kernel is 32-bit or 64-bit. In Solaris 11 and later, kernels are 64-bit only, so the output of `uname -p` does not really reflect reality. One way of working around this `uname -p` limitation in Solaris is to use the first string token in the output of `isainfo`, which is: 'amd64 i386' (on Intel) 'sparcv9 sparc' (on SPARC) I realize that 'isainfo' is not a Standard UNIX command, and that the suggestion of using 'isainfo' instead of `uname -p` is very Solaris-specific (and likely non-portable). Again, this is just a RFE. Thank you very much! --Stefan