Go Back   ZeroC Forums > Help Center

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
  #1 (permalink)  
Old 06-05-2007
Markus Bernhard Markus Bernhard is offline
Registered User
 
Name: Markus Bernhardt
Organization: Software Consulting Markus Bernhardt GmbH
Project: BlackMagic
 
Join Date: Jun 2006
Location: Munich, Germany
Posts: 22
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
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

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


All times are GMT -4. The time now is 11:57 AM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.0.0
(c) 2008 ZeroC, Inc.