gcc-conf-discuss
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gcc-conf-discuss] Solaris 64-bit compiles fail


From: Mr Herbert Swan
Subject: [Gcc-conf-discuss] Solaris 64-bit compiles fail
Date: Wed, 17 Dec 2003 13:16:25 -0800 (PST)

I'm wondering if anyone can identify what I'm doing
wrong.  I'm trying to compile a C file in 64-bit
addressing mode for an Ultra-SPARC 5 machine.  Here's
what happens:

chaos% gcc -c -g -m64 -mcmodel=medlow closarcy.c
cc1: -m64 is not supported by this configuration
cc1: -mcmodel= is not supported on 32 bit systems

chaos% gcc -v
Reading specs from
/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/3.0.3/specs
Configured with: ../gcc-3.0.3/configure 
Thread model: posix
gcc version 3.0.3

chaos% uname -a
SunOS chaos 5.8 Generic_108528-17 sun4u sparc
SUNW,Ultra-5_10

chaos% isainfo -n
sparcv9

chaos% isainfo -v
64-bit sparcv9 applications
32-bit sparc applications


The compiler seems to be telling me that I can't run
64-bit programs on my architecture.  However, that
seems to contradict what the "isainfo" command says.

Thanks in advance for any guidance you might be able
to offer.


__________________________________
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]