public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: 64 bits code generation
       [not found] <616BE6A276E3714788D2AC35C40CD18D2C58A6@whale.softwire.co.uk>
@ 2002-01-14  8:30 ` Rupert Wood
  0 siblings, 0 replies; 2+ messages in thread
From: Rupert Wood @ 2002-01-14  8:30 UTC (permalink / raw)
  To: 'Celestino Gómez Cid'; +Cc: gcc-help

Celestino Gómez Cid wrote:

> I'im using the gnu g++ compiler running in a UltraSparc solaris 2.7,
: 
> Is it possible to generate 64 bits objects ? If it is,  which
> version shall I use ? do I need to add some configuration options
> when installing the compiler ?

You need to use GCC 3.1: 3.0 and earlier do not properly support the
64-bit Solaris ABI.

GCC 3.1 is currently in development but is in a bug-fixing development
phase. You'll have to fetch source from CVS (as described on the GCC
website) or obtain a development source snapshot. You don't need any
special configuration options: it will, by default, built a 32-bit
compiler and both 32- and 64-bit libraries.

To generate 64-bit objects use option '-m64'.

Rup.

^ permalink raw reply	[flat|nested] 2+ messages in thread

* 64 bits code generation
@ 2002-01-14  8:21 Celestino Gómez Cid
  0 siblings, 0 replies; 2+ messages in thread
From: Celestino Gómez Cid @ 2002-01-14  8:21 UTC (permalink / raw)
  To: gcc-help


Hello,

	I'im using the gnu g++ compiler running in a UltraSparc solaris 2.7, and I
would like to know, please, if it is possible with any of the versions of
the compiler to generate 64 bit, binary files (similar to the -v9 option in
the compiler from SUN).

	There is a compiler option -mcpu=v9 but I'm not sure that has the same
results as I get an error:

/usr/ccs/bin/as: "/var/tmp/ccax7Qbi.s", line 33: error: cannot use v8plus
instructions in a non-v8plus target binary
/usr/ccs/bin/as: "/var/tmp/ccax7Qbi.s", line 36: error: cannot use v8plus
instructions in a non-v8plus target binary

Is it possible to generate 64 bits objects ? If it is,  which version shall
I use ? do I need to add some configuration options when installing the
compiler ?

Thanks very much.


Celestino Gomez Cid.
GMV S.A.
Directorate Of Operations
Issac Newton 11, P.T.M. Tres Cantos
28760 Madrid, Spain
Telf  : +34-918073340
Fax   : +34-918072199
e-mail: cgomez@gmv.es

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-01-14 16:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <616BE6A276E3714788D2AC35C40CD18D2C58A6@whale.softwire.co.uk>
2002-01-14  8:30 ` 64 bits code generation Rupert Wood
2002-01-14  8:21 Celestino Gómez Cid

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).