[Boost 1.33.1].[64-bit]
Hi, I am trying to get 64-bit build of Boost 1.33.1 on following platforms: 1.Solaris 10 - Sun Studio 11 - Sparc. URL's listed below helped me to build some if not all. Patch -- http://blogs.sun.com/sga/entry/boost_1_33_1 Instruction for passing the relevant options to bjam -- http://blogs.sun.com/sga/category/Boost 2.HP-UX 11.23 - aCC A.06.02 - Itanium. How do I pass "+DD64" option to the compiler and the linker for 64-bit build. 3.AIX 5.3 - xlC/C++ 8.0 - PowerPC. Correct way to pass "-q64" option to the compiler and the linker. I do not really want to use the environment variable OBJECT_MODE. -- regards, Prashant Thakre
Prashant Thakre wrote:
2.HP-UX 11.23 - aCC A.06.02 - Itanium. How do I pass "+DD64" option to the compiler and the linker for 64-bit build.
You can modify tools/build/v1/acc-tools.jam to add +DD64 to CXX command line in aCC-Link-action, acc-Cc-action and aCC-C++-action. Or you can extend acc toolset by creating a file, say, 64bit_acc-tools.jam: { extends-toolset acc ; flags 64bit_acc C++FLAGS : +DD64 ; flags 64bit_acc LINKFLAGS : +DD64 ; } and invoking bjam with -sTOOLS=64bit_acc I did not try it, but a similar technique used to work in 1.33 build.
aCC A.06.02
I strongly recommend to upgrade to a more recent aCC6 compiler. Boris ----- Original Message ----- From: "Prashant Thakre" <prashant.thakre@gmail.com> To: <boost-users@lists.boost.org> Sent: Tuesday, January 23, 2007 12:51 AM Subject: [Boost-users] [Boost 1.33.1].[64-bit]
Hi, I am trying to get 64-bit build of Boost 1.33.1 on following platforms: 1.Solaris 10 - Sun Studio 11 - Sparc. URL's listed below helped me to build some if not all. Patch -- http://blogs.sun.com/sga/entry/boost_1_33_1 Instruction for passing the relevant options to bjam -- http://blogs.sun.com/sga/category/Boost 2.HP-UX 11.23 - aCC A.06.02 - Itanium. How do I pass "+DD64" option to the compiler and the linker for 64-bit build. 3.AIX 5.3 - xlC/C++ 8.0 - PowerPC. Correct way to pass "-q64" option to the compiler and the linker. I do not really want to use the environment variable OBJECT_MODE.
-- regards, Prashant Thakre
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boris Gubenko <Boris.Gubenko <at> hp.com> writes:
You can modify tools/build/v1/acc-tools.jam to add +DD64 to CXX command line in aCC-Link-action, acc-Cc-action and aCC-C++-action. Or you can extend acc toolset by creating a file, say, 64bit_acc-tools.jam: { extends-toolset acc ; flags 64bit_acc C++FLAGS : +DD64 ; flags 64bit_acc LINKFLAGS : +DD64 ; }
and invoking bjam with -sTOOLS=64bit_acc
I did not try it, but a similar technique used to work in 1.33 build.
The idea of directly adding "+DD64" option to the CXX command did come up, but wanted to check if there was a better way of achieving the same i.e by passing <instruction-set> or some similar option to bjam. Thanks a lot, guess will use the same trick for AIX. Does boost 1.34 has some better option for 64-bit build ?
aCC A.06.02 I strongly recommend to upgrade to a more recent aCC6 compiler. Am in the process of upgrading aCC to A.06.13.
Boris -- regards, Prashant Thakre
Prashant Thakre wrote:
The idea of directly adding "+DD64" option to the CXX command did come up, but wanted to check if there was a better way of achieving the same i.e by passing <instruction-set> or some similar option to bjam. Thanks a lot, guess will use the same trick for AIX. Does boost 1.34 has some better option for 64-bit build ?
I don't know. In 1.34, +DD64 is hard-coded in boost/tools/build/v2/tools/acc.jam, so on HP-UX, we build 64-bit boost by default.
aCC A.06.02 I strongly recommend to upgrade to a more recent aCC6 compiler. Am in the process of upgrading aCC to A.06.13.
Great! Boris ----- Original Message ----- From: "Prashant Thakre" <prashant.thakre@gmail.com> To: <boost-users@lists.boost.org> Sent: Tuesday, January 23, 2007 11:12 AM Subject: Re: [Boost-users] [Boost 1.33.1].[64-bit]
Boris Gubenko <Boris.Gubenko <at> hp.com> writes:
You can modify tools/build/v1/acc-tools.jam to add +DD64 to CXX command line in aCC-Link-action, acc-Cc-action and aCC-C++-action. Or you can extend acc toolset by creating a file, say, 64bit_acc-tools.jam: { extends-toolset acc ; flags 64bit_acc C++FLAGS : +DD64 ; flags 64bit_acc LINKFLAGS : +DD64 ; }
and invoking bjam with -sTOOLS=64bit_acc
I did not try it, but a similar technique used to work in 1.33 build.
The idea of directly adding "+DD64" option to the CXX command did come up, but wanted to check if there was a better way of achieving the same i.e by passing <instruction-set> or some similar option to bjam. Thanks a lot, guess will use the same trick for AIX. Does boost 1.34 has some better option for 64-bit build ?
aCC A.06.02 I strongly recommend to upgrade to a more recent aCC6 compiler. Am in the process of upgrading aCC to A.06.13.
Boris -- regards, Prashant Thakre
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boris Gubenko <Boris.Gubenko <at> hp.com> writes:
Prashant Thakre wrote:
Does boost 1.34 has some better option for 64-bit build ?
I don't know. In 1.34, +DD64 is hard-coded in boost/tools/build/v2/tools/acc.jam, so on HP-UX, we build 64-bit boost by default.
That would force users of boost to build 64-bit binaries even if they don't want to. I was hoping that some option would be made available from 1.34 regarding 32-bit/64-bit build i.e. --build_mode=64/32. Thanks.
Boris
-- regards, Prashant Thakre
Prashant Thakre wrote:
That would force users of boost to build 64-bit binaries even if they don't want to.
Most likely some users will and some won't: there is no way to satisfy all users with a single default. The users wanting 32-bit libraries will either have to remove +DD64 or override it by adding +DD32 to the flags. I don't know bjam and Boost.Build v2 well enough to suggest how to override it outside acc.jam.
I was hoping that some option would be made available from 1.34 regarding 32-bit/64-bit build i.e. --build_mode=64/32.
You might want to post it to the boost.build list. Thanks, Boris ----- Original Message ----- From: "Prashant Thakre" <prashant.thakre@gmail.com> To: <boost-users@lists.boost.org> Sent: Tuesday, January 23, 2007 11:50 AM Subject: Re: [Boost-users] [Boost 1.33.1].[64-bit]
Boris Gubenko <Boris.Gubenko <at> hp.com> writes:
Prashant Thakre wrote:
Does boost 1.34 has some better option for 64-bit build ?
I don't know. In 1.34, +DD64 is hard-coded in boost/tools/build/v2/tools/acc.jam, so on HP-UX, we build 64-bit boost by default.
That would force users of boost to build 64-bit binaries even if they don't want to. I was hoping that some option would be made available from 1.34 regarding 32-bit/64-bit build i.e. --build_mode=64/32. Thanks.
Boris
-- regards, Prashant Thakre
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Boris Gubenko wrote:
Prashant Thakre wrote:
That would force users of boost to build 64-bit binaries even if they don't want to.
Most likely some users will and some won't: there is no way to satisfy all users with a single default.
The users wanting 32-bit libraries will either have to remove +DD64 or override it by adding +DD32 to the flags. I don't know bjam and Boost.Build v2 well enough to suggest how to override it outside acc.jam.
I'm afraid that would require editing acc.jam, that toolset does not use the general mechanisms used to specify toolset options when configuring the toolset. - Volodya
Vladimir Prus wrote:
I'm afraid that would require editing acc.jam, that toolset does not use the general mechanisms used to specify toolset options when configuring the toolset.
Something to look into, eventually... :-) Thanks for the reply! -boris ----- Original Message ----- From: "Vladimir Prus" <ghost@cs.msu.su> To: <boost-users@lists.boost.org> Sent: Tuesday, January 23, 2007 3:48 PM Subject: Re: [Boost-users] [Boost 1.33.1].[64-bit]
Boris Gubenko wrote:
Prashant Thakre wrote:
That would force users of boost to build 64-bit binaries even if they don't want to.
Most likely some users will and some won't: there is no way to satisfy all users with a single default.
The users wanting 32-bit libraries will either have to remove +DD64 or override it by adding +DD32 to the flags. I don't know bjam and Boost.Build v2 well enough to suggest how to override it outside acc.jam.
I'm afraid that would require editing acc.jam, that toolset does not use the general mechanisms used to specify toolset options when configuring the toolset.
- Volodya
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (3)
-
Boris Gubenko
-
Prashant Thakre
-
Vladimir Prus