Alfred Monticello writes:
> The one in /opt/sfw can produce 64bit code but is a 32bit binary. I couldn't 
> get a later version to compile, or if I did, it complained about not being 
> able to produce 64bit code even though the binary was 64bit.

The old /opt/sfw path is the Companion CD.  If you're using anything
produced in the last couple of years or so, you should be using
/usr/sfw/bin/gcc.  It's a 32-bit binary, but it can compile to produce
32- and 64-bit objects just fine.

The bitted-ness of the compiler doesn't matter; having a 64-bit
compiler doesn't necessarily give you 64-bit binaries, and a 32-bit
compiler doesn't restrict you from producing valid 64-bit binaries.
What matters are the options used.

-- 
James Carlson, Solaris Networking              <[EMAIL PROTECTED]>
Sun Microsystems / 35 Network Drive        71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to