Bug 691553 - Incorrect path prevents build of WIN32 on WIN64 OS
Summary: Incorrect path prevents build of WIN32 on WIN64 OS
Status: RESOLVED WORKSFORME
Alias: None
Product: Ghostscript
Classification: Unclassified
Component: Build Process (show other bugs)
Version: 8.71
Hardware: PC Windows 7
: P4 trivial
Assignee: Default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-12 18:10 UTC by Yvan Rodrigues
Modified: 2010-08-12 18:56 UTC (History)
1 user (show)

See Also:
Customer:
Word Size: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.