Opened 16 years ago

Closed 15 years ago

#902 closed Patches (fixed)

patch for Visual Studio 8 + Windows x64 (AMD64)

Reported by: lsh123 Owned by: nobody
Milestone: Component: None
Version: None Severity: Showstopper
Keywords: Cc:

Description (last modified by René Rivera)

This patch adds "vc8" build tool to jam and fixes several issues with building boost in Visual Studio 8 on AMD64 platform:

* tools/build/jam_src/build.bat

On Windows 64 the default location for Visual Studio is "C:\Program Files (x86)\...". The ( ) confuses the bat file big time and I had to workaround it by using quotes and DeQuote function.

* tools/build/jam_src/build.jam and tools/build/jam_src/jambase.c

Simply new "vc8" tool

* tools/build/jam_src/pathunix.c

Changed DWORD -> int because on VC8 DWORD is unsigned which causes problem when we have pos=0 (then prev_pos is a huge number and everything is screwed).

* boost/config/abi/msvc_prefix.hpp

Make alignment consistent with STLPort.

* boost/config/abi/msvc_prefix.hpp

It seems that this workaround is not needed in the final version of VC 8

* libs/thread/src/once.cpp

This is a known issue (http://lists.boost.org/boost-users/2005/09/13765.php). Unfortunately, I can't figure out a better way to fix this.


Change History (3)

comment:1 by lsh123, 16 years ago

Logged In: YES 
user_id=851494
Originator: YES

forgot to add that the patch is done against boost 1_33_1

comment:2 by René Rivera, 16 years ago

Logged In: YES 
user_id=33595
Originator: NO

Boost.Jam in CVS already has many fixes to support both cross x64 and native x64 building. As for the rest, I would suggest posting separate library specific patches.

comment:3 by René Rivera, 15 years ago

Description: modified (diff)
Resolution: Nonefixed
Severity: Showstopper
Status: assignedclosed

AFAICT all the changes are either already done by now, or the code in question has been rewritten.

Note: See TracTickets for help on using tickets.