|
![](/i/fill.gif) |
Christoph Hormann <chr### [at] gmx de> wrote:
> In general gcc should be able to generate 64 bit code, but i can't say for
> sure if it does here
The 'file' utility (which is usually found in most unix systems) should
tell whether the executable binary is 64-bit or not.
For example here:
warp@keisarikotka:~/temp/tmp>gcc3 -m64 test.c -o test
cc1: -m64 is not supported by this configuration
warp@keisarikotka:~/temp/tmp>gcc3 -mv9 test.c -o test
cc1: Invalid option `v9'
warp@keisarikotka:~/temp/tmp>gcc3 test.c -o test
warp@keisarikotka:~/temp/tmp>file ./test
./test: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not
stripped
warp@keisarikotka:~/temp/tmp>cc -xarch=v9 test.c -o test
warp@keisarikotka:~/temp/tmp>file ./test
./test: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not
stripped
--
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}// - Warp -
Post a reply to this message
|
![](/i/fill.gif) |