Open Bug 584461 Opened 15 years ago Updated 3 years ago

configure should check that the current C++ compiler matches the requested target on Windows

Categories

(Firefox Build System :: General, defect)

x86_64
Windows 7
defect

Tracking

(Not tracked)

People

(Reporter: justin.lebar+bug, Unassigned)

Details

If you try to do a Windows 64-bit build but accidentally load start-msvc?.bat instead of start-msvc?-x64.bat, you get an unhelpful error message: build/win32/crashinject.cp: __readfsdword identifier not found. To avoid this confusion, configure should check that the cl binary in scope is for x64 if the mozconfig's target is for x64, and similarly that the cl binary is x86 if the mozconfig is targeting x86.
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.