This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

How to use SPARC m64 option of gcc-3.0.2


 Dear Sir, 

First, thank you for your efforts. 
I am a system administrator of Sun Blade 1000 (Ultra-III) which I have installed the gcc-3.0.2
According to man command, the gcc have following option for sparc machine.
 
SPARC Option

         -mcpu=cpu-type -mtune=cpu-type -mcmodel=code-model -m32
         -m64 -mapp-regs  -mbroken-saverestore  -mcypress
         -mepilogue  -mfaster-structs -mflat -mfpu  -mhard-float
         -mhard-quad-float -mimpure-text  -mlive-g0  -mno-app-
         regs -mno-epilogue  -mno-faster-structs  -mno-flat
         -mno-fpu -mno-impure-text  -mno-stack-bias  -mno-
         unaligned-doubles -msoft-float  -msoft-quad-float
         -msparclite  -mstack-bias -msupersparc  -munaligned-
         doubles  -mv8

I hope to compile my c-code with 64-bit option. 
Can gcc-3.0.2 support the 64-bit compiling under Sun Solaris-8 (Ultra Sparc-III machine) ?
Though I have installed gcc-3.0.2, I can not use -m64 option in my computer.
Following error is generated when I use -m64 option.

gcc -m64 -o sample sample.c -lm
cc1: -m64 is not supported by this configuration

Please, would tell me the way how I can use -m64 option to compile my code with 64-bit ?
May I reinstall the gcc-3.0.2 with other configure option to use -m64 option in my machine ?
Thank you for your kindness in advance.

Sincerely yours,

Yujong Kim   








Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]