
A couple of questions for the HP gurus about Boost on HP-UX with GNU GCC. I see that the development builds target this configuration, but the 1.34 release does not, so I'm not sure that I can even do this with the 1.34 build. I am new to using bjam so be gnetle. Platform: HP-UX, on itanium ia64, 11.23, building for 64 bit linker: hp-ux GCC:4.1.1 Boost:1.34 User config file: using gcc: : :<cxxflags>-mlp64 <linkflags>-mlp64 Is this suffcient, or do I need to indicate the archtiecture (ia64 on itanium) in some way? Threading: gcc.jam indicates that GCC on HP-UX does not support threading. We have built many libraries with threading using GCC so is this an old comment or is it specific to the gnu linker and not HP-UXs. Can I modify a config file to support threading correctly? Failing libs Zlibs and bzlib builds fail. How do I disable building them? Can the build fail and it's not a problem for the rest of the libraries. Do I need to modify any of the source to work correctly? Would I be better off using a development build? Will boost work correctly on HP 11.31? Thanks!

On Wed, 20 Feb 2008 11:58:19 -0700 stacie@dcindigos.com wrote:
Threading: gcc.jam indicates that GCC on HP-UX does not support threading. We have built many libraries with threading using GCC so is this an old comment or is it specific to the gnu linker and not HP-UXs. Can I modify a config file to support threading correctly?
I can't help for the rest of your questions, but we use GCC+HP-UX+Boost in our work without any problem. The only real difference with your environment is that we work in HP-UX 11.23 but on PA-RISC... We had to "force" Boost to believe that this environment is OK for building multi-thread versions of the libraries. As you have said, gcc.jam indicates that GCC on HP-UX does not support threading.

Hi.
We had to "force" Boost to believe that this environment is OK for building multi-thread versions of the libraries. As you have said, gcc.jam indicates that GCC on HP-UX does not support threading.
If you have information regarding this, or even better - an update proposal for gcc.jam - please send it to the boost.build mailing list. :-) (well, you could send it here - but that list seems more appropriate and there is less chance of it getting lost in all the noise...) Thanks. Best regards, Jurko Gospodnetić

stacie@dcindigos.com wrote:
User config file: using gcc: : :<cxxflags>-mlp64 <linkflags>-mlp64
Is this suffcient, or do I need to indicate the archtiecture (ia64 on itanium) in some way?
gcc.jam on the trunk has fixes for HP-UX, both ia64 and PA-RISC. For 64-bit build, you can specify the following in your user-config.jam: using gcc : : : <compileflags>"-mlp64" <linkflags>"-mlp64" ; There is no need to indicate archtiecture. Note that HP-UX/gcc testing on the trunk is done in 32-bit mode -- click on HP-UX_ia64_gcc to see user-config.jam I'm using and other details.
Threading: gcc.jam indicates that GCC on HP-UX does not support threading.
This is a bug in 1.34. Fixed in gcc.jam on the trunk.
Failing libs Zlibs and bzlib builds fail. How do I disable building them? Can the build fail and it's not a problem for the rest of the libraries.
You can pass the following options to bjam to disable zlib: --bjam-options="-sNO_BZIP2=1 -sNO_ZLIB=1"
Do I need to modify any of the source to work correctly? Would I be better off using a development build?
The best would be to use stable soon-to-be-released 1.35. gcc.jam in 1.35 is different from that on trunk, but, as far as I can tell, the differences are mostly "cosmetic" ones. Unfortunately, I cannot point you to 1.35 tests results on HP-UX/gcc. I asked permission to do release branch testing, but the request was denied. See http://lists.boost.org/Archives/boost/2008/01/132329.php
Will boost work correctly on HP 11.31?
It does work on 11.31. I do boost testing with aCC6 on a 11.31 machine.
See test results for HP-UX_ia64_aCC, both trunk and release branch.
Thanks,
Boris
----- Original Message -----
From:
A couple of questions for the HP gurus about Boost on HP-UX with GNU GCC. I see that the development builds target this configuration, but the 1.34 release does not, so I'm not sure that I can even do this with the 1.34 build. I am new to using bjam so be gnetle.
Platform: HP-UX, on itanium ia64, 11.23, building for 64 bit linker: hp-ux GCC:4.1.1 Boost:1.34
User config file: using gcc: : :<cxxflags>-mlp64 <linkflags>-mlp64
Is this suffcient, or do I need to indicate the archtiecture (ia64 on itanium) in some way?
Threading: gcc.jam indicates that GCC on HP-UX does not support threading. We have built many libraries with threading using GCC so is this an old comment or is it specific to the gnu linker and not HP-UXs. Can I modify a config file to support threading correctly?
Failing libs Zlibs and bzlib builds fail. How do I disable building them? Can the build fail and it's not a problem for the rest of the libraries.
Do I need to modify any of the source to work correctly? Would I be better off using a development build?
Will boost work correctly on HP 11.31?
Thanks!
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (4)
-
Boris Gubenko
-
Jurko Gospodnetić
-
raulh39@ya.com
-
stacie@dcindigos.com