Re: 64 bit output

From: Madan (mvatten_at_numbat.cs.rmit.edu.au)
Date: 04/30/03


Date: 30 Apr 2003 15:11:33 +1100


 A Big thanx to all .. Got the naswer I wanted

 

vishwas <vishwas@india.hp.com> wrote:
>>>> I am currently working on a Solaris and SPARC machines.. Juts wonder! when I produce binaries with my gcc am I outputting code which is
>>>> 64 bit comaptible .. any answers .. also is there anyway to check out whether the code is 64 bit comaptible or not ...
>>>
>>
>>>Run it and see what happens. :-)
>>
>> They do run .. Just wnat to know how to find whether the code is 64 bit compatible.. if there is a way around to find out ..

> Run `file a.out` or any other elf utility to find out the binary is
> 64bit. If your solaris box does not support 64bit objects then
> see gcc options: see info section (gcc.info.gz)SPARC Options

> cc option -m32 , should help you in creating 32bit objects.

> -vvp

Regards

-- 
Madan Mohan Vattem