Opened 19 years ago
Closed 19 years ago
Last modified 4 years ago
#1570 closed defect (fixed)
MinGW: configure script doesn't clean up afterwards
|Reported by:||eriktorbjorn||Owned by:||Kirben|
The configure script doesn't clean up after itself when running it under MinGW. I don't have a complete list of files that are left behind, but at least the following ones:
tmp_cxx_compiler.exe tmp_endianness_check.exe tmp_find_type_with_size.exe /tmp/scummvm-conf.exe
The pattern is quite obvious: the script doesn't know that under MinGW it needs to add .exe to the name of the executable file it wants to remove.
Ticket imported from: #925297. Ticket imported from: bugs/1570.
Change History (5)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
At the very least, it works much better now. I don't have the time right now to check if it's completely fixed.
comment:3 by , 19 years ago
It still leaves /tmp/scummvm-conf.exe
comment:4 by , 19 years ago
|Status:||new → closed|
comment:5 by , 4 years ago
|Component:||→ Port: Win32|
So essentially, the configure script should use something like EXEEXT in the Makefile, a variables which is set to ".exe" on Windows/DOS and to nothing everywhere else. And then this rm -f tmp_endianness_check tmp_endianness_check.cpp is changed to this: rm -f tmp_endianness_check$(EXEEXT) tmp_endianness_check.cpp
Clearly, this should be done by somebody who can actually test whether the solution works ... :-)