Boost C++ Libraries: Ticket #798: bjam: always define OSPLAT https://svn.boost.org/trac10/ticket/798 <pre class="wiki">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 ) &amp;&amp; \ - !defined( OS_DRAGONFLYBSD ) &amp;&amp; \ - !defined( OS_OS2 ) &amp;&amp; \ - !defined( OS_AS400 ) # define OSPLAT "OSPLAT=X86" - # endif # endif # ifdef __sparc__ - # if !defined( OS_SUNOS ) &amp;&amp; \ - !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" </pre> en-us Boost C++ Libraries /htdocs/site/boost.png https://svn.boost.org/trac10/ticket/798 Trac 1.4.3 mclow Thu, 21 Dec 2006 18:09:40 GMT <link>https://svn.boost.org/trac10/ticket/798#comment:1 </link> <guid isPermaLink="false">https://svn.boost.org/trac10/ticket/798#comment:1</guid> <description> <pre class="wiki">Logged In: YES user_id=131412 Originator: NO Rene - let me know if you're not the right person for this - thanks! </pre> </description> <category>Ticket</category> </item> <item> <dc:creator>René Rivera</dc:creator> <pubDate>Fri, 11 May 2007 06:40:08 GMT</pubDate> <title>component changed https://svn.boost.org/trac10/ticket/798#comment:2 https://svn.boost.org/trac10/ticket/798#comment:2 <ul> <li><strong>component</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">bjam</span> </li> </ul> Ticket René Rivera Sun, 16 Sep 2007 21:53:51 GMT description changed; severity, milestone set https://svn.boost.org/trac10/ticket/798#comment:3 https://svn.boost.org/trac10/ticket/798#comment:3 <ul> <li><strong>severity</strong> → <span class="trac-field-new">Problem</span> </li> <li><strong>description</strong> modified (<a href="/trac10/ticket/798?action=diff&amp;version=3">diff</a>) </li> <li><strong>milestone</strong> → <span class="trac-field-new">Boost.Jam 3.1.15</span> </li> </ul> Ticket René Rivera Sun, 16 Sep 2007 21:55:03 GMT status, resolution changed https://svn.boost.org/trac10/ticket/798#comment:4 https://svn.boost.org/trac10/ticket/798#comment:4 <ul> <li><strong>status</strong> <span class="trac-field-old">assigned</span> → <span class="trac-field-new">closed</span> </li> <li><strong>resolution</strong> <span class="trac-field-old">None</span> → <span class="trac-field-new">fixed</span> </li> </ul> <p> (In <a class="changeset" href="https://svn.boost.org/trac10/changeset/39331" title="Define OSPLAT var unconditionally, and more generically, when ...">[39331]</a>) Define OSPLAT var unconditionally, and more generically, when possible. (fixes <a class="closed ticket" href="https://svn.boost.org/trac10/ticket/798" title="#798: Patches: bjam: always define OSPLAT (closed: fixed)">#798</a>) </p> Ticket