Boost logo

Boost-Build :

From: Boris Gubenko (Boris.Gubenko_at_[hidden])
Date: 2007-11-12 17:14:38

When compiled with aC++ on HP-UX ia64, bjam does not define OSPLAT
variable. This is because jam.h checks __ia64__ and __IA64__ which
are the macros defined by gcc on an ia64 platform, but not __ia64
which is the macro defined by aC++ (for the completeness, as far
as I can see, on Linux, both gcc and icc define only __ia64__).

Attached patch fixes the problem. Verified with aC++ A.06.14 on
HP-UX ia64. Ok to commit?


Index: src/jam.h
--- src/jam.h (revision 41044)
+++ src/jam.h (working copy)
@@ -455,7 +455,7 @@
 # define OSPLAT "OSPLAT=X86"
 # endif

-# if defined( __ia64__ ) || defined( __IA64__ )
+# if defined( __ia64__ ) || defined( __IA64__ ) || defined( __ia64 )
 # define OSPLAT "OSPLAT=IA64"
 # endif

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at