|
|
|
|||||
|
Compiler flag -xarch deprecated in Sun Studio 12
Hi,
in the upcoming Sun Studio 12 compiler (CC: Sun C++ 5.9 SunOS_i386 2007/05/03) the flag -xarch is deprecated. With the following changes to config/Make.rules.SunOS the warning goes away: ifeq ($(CCVERSION),5.9) ifeq ($(LP64),yes) CXXARCHFLAGS = -m64 else CXXARCHFLAGS = -m32 endif else ifeq ($(MACHINE_TYPE),sun4u) ifeq ($(LP64),yes) CXXARCHFLAGS = -xarch=v9 else CXXARCHFLAGS = -xarch=v8plus endif endif ifeq ($(MACHINE_TYPE),i86pc) ifeq ($(LP64),yes) CXXARCHFLAGS = -xarch=amd64 endif endif endif Best regards, Markus
__________________
Markus Bernhardt Software Consulting Markus Bernhardt GmbH Spieljochstr. 34..Phone: +49-89-420903-14 81825 München.......Fax: +49-89-420903-20 mailto:Markus.Bernhardt@scmb.de http://www.scmb.de |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Visual Studio Express 2005 C++ compiler error | blonder | Help Center | 6 | 05-22-2007 11:04 AM |
| identitytostring deprecated | shimrod | Help Center | 2 | 05-04-2007 05:55 PM |
| Connections Issue #12 | marc | Announcements | 0 | 03-10-2006 10:40 AM |
| IcePatch2/Util.cpp namespace resolution problem on Solaris 10 / Sun Studio 10 | failys | Bug Reports | 1 | 11-17-2005 10:17 AM |
| Compiling with Sun Studio 10 | mwilson | Help Center | 1 | 07-08-2005 11:15 AM |