This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: 64 bit gcc
- To: "Grove, David" <David_Grove at health dot state dot ak dot us>
- Subject: Re: 64 bit gcc
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 08 Dec 2000 19:28:27 -0200
- Cc: "'gcc-help at gcc dot gnu dot org'" <gcc-help at gcc dot gnu dot org>
- Organization: GCC Team, Red Hat
- References: <1623C91D4EB2D4118A2900A0C9E92D3E17BBF0@AS-JNU3E>
On Dec 8, 2000, "Grove, David" <David_Grove@health.state.ak.us> wrote:
> 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"
IIRC, this is a flag for the linker, so you have to use -Wl,-xarch=v9
so that GCC doesn't attempt to understand the flag itself, and passes
it literally to the linker. I'd think -m64 might implicitly pass this
flag to the linker, but I can't see any hooks to do it in the GCC
configuration files. Try to use just -m64 -v and see whether the flag
shows up in the linker command line. If not, pass it in explicitly
as suggested above.
> It's ironic that Sun recommended (in a training class I attended)
> the GNU compiler over their own product!
Wow! Cool :-)
--
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