public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Building gcc 3.1 with 64 bit support on Solaris 2.6?
@ 2002-06-18  8:36 Adam Stein
  0 siblings, 0 replies; only message in thread
From: Adam Stein @ 2002-06-18  8:36 UTC (permalink / raw)
  To: gcc-help

I can build a version of gcc 3.1 with 64 bit support if I'm compiling on Solaris 
8 (and running a 64 bit kernel).

What I would like to do is compile gcc 3.1 on a Solaris 2.6 running a 32 bit 
kernel (it is an ultrasparc machine if that matters).  In this way, gcc would be 
able to compile normally using 32 bit code which would run on Solaris 2.6 and 
up, but have the "-m64" option work when compiling on Solaris 8 systems without 
having two versions of gcc 3.1.

Is there any way to do this?  I've tried various combinations of configurations 
options, but it seems that gcc compiled on Solaris 2.6 won't have the "-m64" 
support when being run on Solaris 8 systems.

Any help is appreciated, even if you can tell me that you definitely can NOT do 
this.

Otherwise, I will have to have two versions of gcc, one for Solaris 2.6 and one 
for Solaris 8.

                                                Adam
--
Adam Stein @ Xerox Corporation       Email: adam@scan.mc.xerox.com
                                            
Disclaimer: All views expressed             
here have been proved to be my own.  [http://www.csh.rit.edu/~adam/]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-06-18 15:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-06-18  8:36 Building gcc 3.1 with 64 bit support on Solaris 2.6? Adam Stein

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).