Building on basis of 32bit and 64bit on solaris


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: 

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