cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
UNIX/Linux Programming
Building on basis of 32bit and 64bit on
Building on basis of 32bit and 64bit on solaris
Sep 11, 2013 at 11:42am UTC
mogha
(29)
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.
Sep 11, 2013 at 1:45pm UTC
kooth
(746)
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.