Boost logo

Boost :

From: SourceForge.net (noreply_at_[hidden])
Date: 2006-12-20 17:40:33


Patches item #1619769, was opened at 2006-12-20 14:40
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1619769&group_id=7586

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Nobody/Anonymous (nobody)
Summary: bjam: always define OSPLAT

Initial Comment:
Please patch boost/tools/jam/src/jam.h so that OSPLAT is always defined. Note that I don't know if I should have removed "!defined( OS_AS400 )" in the X86 section.

$ cvs diff -c jam.h
Index: jam.h
===================================================================
RCS file: /cvsroot/boost/boost/tools/jam/src/jam.h,v
retrieving revision 1.21
diff -c -r1.21 jam.h
*** jam.h 7 Sep 2006 03:57:02 -0000 1.21
--- jam.h 20 Dec 2006 22:34:30 -0000
***************
*** 447,476 ****
       defined( __alpha__ )
  # define OSPLAT "OSPLAT=AXP"
  # endif
!
  # if defined( _i386_ ) || \
       defined( __i386__ ) || \
       defined( _M_IX86 )
- # if !defined( OS_FREEBSD ) && \
- !defined( OS_DRAGONFLYBSD ) && \
- !defined( OS_OS2 ) && \
- !defined( OS_AS400 )
  # define OSPLAT "OSPLAT=X86"
- # endif
  # endif
  
  # ifdef __sparc__
- # if !defined( OS_SUNOS ) && \
- !defined( OS_SOLARIS )
  # define OSPLAT "OSPLAT=SPARC"
  # endif
- # endif
  
  # ifdef __mips__
- # if !defined( OS_SGI )
  # define OSPLAT "OSPLAT=MIPS"
  # endif
- # endif
  
  # ifdef __arm__
  # define OSPLAT "OSPLAT=ARM"
--- 447,472 ----
       defined( __alpha__ )
  # define OSPLAT "OSPLAT=AXP"
  # endif
!
  # if defined( _i386_ ) || \
       defined( __i386__ ) || \
       defined( _M_IX86 )
  # define OSPLAT "OSPLAT=X86"
  # endif
  
+ # if defined( __x86_64__ ) || \
+ defined( __amd64__ ) || \
+ defined( _M_AMD64 )
+ # define OSPLAT "OSPLAT=X86_64"
+ # endif
+
  # ifdef __sparc__
  # define OSPLAT "OSPLAT=SPARC"
  # endif
  
  # ifdef __mips__
  # define OSPLAT "OSPLAT=MIPS"
  # endif
  
  # ifdef __arm__
  # define OSPLAT "OSPLAT=ARM"

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=307586&aid=1619769&group_id=7586

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Boost-bugs mailing list
Boost-bugs_at_[hidden]
https://lists.sourceforge.net/lists/listinfo/boost-bugs


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk