Bug 691553

Summary: Incorrect path prevents build of WIN32 on WIN64 OS
Product: Ghostscript Reporter: Yvan Rodrigues <yvan>
Component: Build ProcessAssignee: Default assignee <ghostpdl-bugs>
Status: RESOLVED WORKSFORME    
Severity: trivial CC: chris.liddell
Priority: P4    
Version: 8.71   
Hardware: PC   
OS: Windows 7   
Customer: Word Size: ---

Description Yvan Rodrigues 2010-08-12 18:10:50 UTC
The documentation in msvc32.mak explains to define WIN32 or WIN64 to build the corresponding target; however it uses this information not only in building the target, but in locating the compiler on the build system.

So when building the 32-bit configuration on a 64-bit system in VS9 for example, line 473 of msvc.mak sets the DEVSTUDIO path to where one would expect to find it on a 32-bit machine, resulting in a failed build because the compiler cannot be found.

Workaround: Change the path as required.

Fix: Do not use WIN32 or WIN64 in determining the DEVSTUDIO path.
Comment 1 Chris Liddell (chrisl) 2010-08-12 18:56:04 UTC
I believe this issue was fixed with revisions: 10798 and 10811.