Boost C++ Libraries: Ticket #397: Boost on opteron AMD https://svn.boost.org/trac10/ticket/397 <pre class="wiki">Hello, I need some help. How can I build boost on solaris 10 opteron amd as a 64-bit libraries? It's no problem to build bjam as 64-bit executables but with boost I failed. Has anybody any ideas? </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/397 Trac 1.4.3 redi Thu, 12 May 2005 15:45:04 GMT <link>https://svn.boost.org/trac10/ticket/397#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/397#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=426241 What exactly failed? What compiler are you using? </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>finte</dc:creator> <pubDate>Fri, 13 May 2005 07:45:06 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/397#comment:2 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/397#comment:2</guid> <description> <pre class="wiki">Logged In: YES user_id=1277410 I use gcc 3.4.3 (csl-sol210-3_4-branch+sol_rpath). This gcc comes with solaris 10 as Sun Freeware. I could build the boost libraries, no problem, but at the end I have 32-bit libraries. I set the variable CFLAGS= -m64 - it doesn't works. I change the file user-config.jam and add the following: using gcc : : /usr/sfw/bin/gcc :&lt;compileflags&gt;-m64 &lt;linkflags&gt;-m64 ; - it doesn't works. Then I made a new configure, setting the variable CXXFLAGS and copy the new file user.hpp to .../boost/config/ - it doesn't work. Always I got 32-bit libraries. What else should I try? If you need more infos, tell me. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>nobody</dc:creator> <pubDate>Thu, 02 Jun 2005 16:13:51 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/397#comment:3 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/397#comment:3</guid> <description> <pre class="wiki">Logged In: NO Hi, we have a very similar problem here on a Red Hat Enterprise Linux 3.0 Opteron Machine. The g++ is configured to produce 64-bit binaries as one would exspect, but when trying to build 32-bit objects via the "-m32" option, the boost build mechanism simply seems to ignore the option provided. Interestingly one can provide this option to the configure script but in it's output (the user.hpp file) the option only appears as a comment. It seems to get completely ignored in the subsequent build and test stages ! Is this true or am I missing some way to configure things here ? Thanks in advance Frank-Oliver Malisch </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>finte</dc:creator> <pubDate>Fri, 03 Jun 2005 07:54:01 GMT</pubDate> <title/> <link>https://svn.boost.org/trac10/ticket/397#comment:4 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/397#comment:4</guid> <description> <pre class="wiki">Logged In: YES user_id=1277410 Hi, I solved my problem, but it's a quit and dirty solution. I modified the file ../tools/build/v1/gcc-tools.jam and added the following lines: flags gcc CFLAGS : -m64 ; flags gcc LINKFLAGS : -m64 ; at the begining of the file, where other flags were set. After this modification I got 64-bit libraries. So this may help you. </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Sun, 29 Apr 2007 18:22:39 GMT</pubDate> <title>status changed https://svn.boost.org/trac10/ticket/397#comment:5 https://svn.boost.org/trac10/ticket/397#comment:5 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> </ul> <pre class="wiki">Logged In: YES user_id=33595 Originator: NO This has been supported by asking to build the &lt;architecture&gt;x86/&lt;address-model&gt;64 variant. Specific CPU selection is also possible with the &lt;instruction-set&gt; feature. This same mechanism is supported int the upcoming 1.34 release also. </pre> Ticket