Hi I have a one-off requirement to compile and install a python package with some included C code on Windows 10. I'm failing to call the compiler; I have seen older threads on this list with similar problems, but either they are so old that the parameters needed are now different, or the threads seem to have no resolution.
The host: 64bit OS, x64-based processor (Windows 10) I downloaded mingw-w64-install.exe from sourceforge and ran it with the following settings: Version: 6.2.0 Arch: x86_64 Threads: win32 Exception: she I've accepted the offered install location, C:\Program Files\mingw-w64\x86_64-6.2.0-win32-she-rt_v5-rev1 After installation I added the following path to the User path: C:\Program Files\mingw-w64\x86_64-6.2.0-win32-she-rt_v5-rev1\mingw64\bin Calling 'gcc' from the command line works at this point. I then added to the compiler options in the build batch script: '-c mingw64'. On running the build script, I get the message: "error: don't know how to compile C/C++ code on platform 'nt' with 'mingw64' compiler" I have tried changing the compiler name to everything I can think of, always with the same result. Thanks for any advice Graham Please don't print this e-mail unless you really need to. ----------------------------------------------------------------------------------- National Archives Disclaimer This email and any files transmitted with it are intended solely for the use of the individual(s) to whom they are addressed. If you are not the intended recipient and have received this email in error, please notify the sender and delete the email. Opinions, conclusions and other information in this message and attachments that do not relate to the official business of The National Archives are neither given nor endorsed by it. ------------------------------------------------------------------------------------ ------------------------------------------------------------------------------ _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
