diff options
author | Steve Huston <shuston@riverace.com> | 2002-01-01 20:43:30 +0000 |
---|---|---|
committer | Steve Huston <shuston@riverace.com> | 2002-01-01 20:43:30 +0000 |
commit | 9ae43f25a786f8697ac99404fe40b77fbb3d658b (patch) | |
tree | 5e258e307fa555e9494e2512e9c0981c8173ead9 /include | |
parent | fbdedc72578a8235fa4b60d2e812dfcfe95dd26d (diff) | |
download | ATCD-9ae43f25a786f8697ac99404fe40b77fbb3d658b.tar.gz |
ChangeLogTag:Tue Jan 1 15:36:39 2002 Steve Huston <shuston@riverace.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/makeinclude/platform_sunos5_sunc++.GNU | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/makeinclude/platform_sunos5_sunc++.GNU b/include/makeinclude/platform_sunos5_sunc++.GNU index 778452b71f1..b7c8f2eba46 100644 --- a/include/makeinclude/platform_sunos5_sunc++.GNU +++ b/include/makeinclude/platform_sunos5_sunc++.GNU @@ -18,6 +18,9 @@ # the target CPU. The /opt/SUNWspro/ Sun C++ installation directory # is site-specific. # +# To build 64-bit binaries with Forte 6, build with the "buildbits=64" +# option (make buildbits=64). +# # With slight modification, this file could be used with Sun C++ 4.1. # However, it's likely that you won't be able to build all of ACE # with Sun C++ 4.1. @@ -125,6 +128,17 @@ else # ! 4.2 ifeq (0,$(stdcpplib)) CCFLAGS += -library=iostream -DACE_USES_OLD_IOSTREAMS endif # stdcpplib + + # If 64-bit build is desired, turn that on. If no code gen options + # are given to Forte 6, the default build is 32-bit, even when + # building on a 64-bit system. Specifying xarch=v9 generates code + # that runs on any Sparc v9 (64-bit) processor. If you want to + # tune this further, you should extract and insert from CCFLAGS + # in a private platform_macros.GNU file. + ifeq (64,$(buildbits)) + CCFLAGS += -xarch=v9 + LDFLAGS += -xarch=v9 + endif # buildbits endif # CC 5.0 endif # compat4 requested endif # CC 5.0 or later |