Re: MSVC is broken for x86 builds on x64 hosts
"Joseph C. Brill" <[email protected]>
| Newsgroups | gmane.comp.programming.tools.scons.user |
|---|---|
| Message-ID | <002101d4e625$2fb1d8f0$8f158ad0$@com> |
Wrong thread. Sorry. -----Original Message----- From: Joseph C. Brill [mailto:[email protected]] Sent: Friday, March 29, 2019 7:04 AM To: '[email protected]'; '[email protected]' Subject: RE: [Scons-users] MSVC is broken for x86 builds on x64 hosts Out of curiosity, can the compilers be configured correctly directly from the command line? For example for 12 and 14.0: @rem 64-bit host, 32-bit target call YOURPATH-TO-MSVC\VC\vcvarsall x86 I once had a problem setting up cross-compiling on x86 to x64 where the MSVS/MSVC install did not correctly populate the batch file for setting up the x64 (vcvarsx86_amd64.bat) environment. This was causing other tools to fail in a mysterious and hard to diagnose manner. I don't exactly remember, but I think there were environment variables that were not configured correctly that caused downstream and calling batch files and scripts to result in errors. This happened for MSVC 2005 where the x64 bit compiler was added long after the x86 compiler was installed. _______________________________________________ Scons-users mailing list [email protected] https://pairlist4.pair.net/mailman/listinfo/scons-users