Building on basis of 32bit and 64bit on solaris

Hi,

I need to generate executable for 32 and 64 bit both on Solaris.
Is there any macro that can be used to differentiate between both of them
like in windows we have WIN32 and WIN64.

It kind of depends on what version of Solaris you are using. Read this link for a good overview:

 
http://docs.oracle.com/cd/E18752_01/html/816-5138/dev-env-2.html 


Of course, if you aren't using Sun's compilers, such as using gcc, check out their documentation.
Topic archived. No new replies allowed.