#1570 closed defect (fixed)
MinGW: configure script doesn't clean up afterwards
Reported by: | eriktorbjorn | Owned by: | Kirben |
---|---|---|---|
Priority: | normal | Component: | Port: Win32 |
Version: | Keywords: | ||
Cc: | Game: |
Description
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 , 21 years ago
comment:2 by , 21 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:4 by , 21 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
comment:5 by , 6 years ago
Component: | → Port: Win32 |
---|
Note:
See TracTickets
for help on using tickets.
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 ... :-)