64 bit gcc
Grove, David
David_Grove@health.state.ak.us
Fri Dec 8 12:44:00 GMT 2000
Thank you for your comment.
I downloaded the binary development snapshot of the 64 bit enabled egcs from
www.sunfreeware.com.
I can successfully create 64 bit object modules. (as verified by the 'file'
utility).
But when attempting to link with 64 bit libraries supplied by Informix (they
used Sun Workshop 5.0 compiler with -xarch=v9) it fails with the following
message:
"gcc: language arch=v9 not recognized"
I used "-mcpu=ultrasparc" and "-m64" in the command string, but didn't help.
My question is, does the use of -xarch=v9 by Informix in their original
compile of libraries using Sun cc preclude me from using gcc to compile new
64 bit objects and link to the Informix libraries? In other words, are
there any options I can set in the command string of gcc so that I can link
with libraries compiled with Sun cc using "-xarch=v9"? If not with the
3/06/2000 snapshot of egcs, perhaps the current development snapshot, or the
anticipated gcc 3.0?
The motivation, of course, is to avoid having to buy Sun's compiler. It's
ironic that Sun recommended (in a training class I attended) the GNU
compiler over their own product!
Thank you for your comments.
David Grove
State of Alaska
Dept. Health & Social Services
-----Original Message-----
From: Alexandre Oliva [ mailto:aoliva@redhat.com ]
Sent: Wednesday, December 06, 2000 9:54 AM
To: Grove, David
Cc: 'gcc-help@gcc.gnu.org'
Subject: Re: 64 bit gcc
On Dec 6, 2000, "Grove, David" <David_Grove@health.state.ak.us> wrote:
> Have tried using the version of gcc Sun includes as a courtesy with the
> Solaris distribution media. I used -mcpu=ultrasparc and -m64, but didn't
> work.
This is not fully supported in GCC 2.95.2, the latest official release
of GCC. It is supposed to work in development snapshots that will
eventually become GCC 3.0
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me
More information about the Gcc-help
mailing list