Opened 20 years ago

Closed 20 years ago

Last modified 5 years ago

#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 fingolfin, 20 years ago

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 ... :-)

comment:2 by eriktorbjorn, 20 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 Kirben, 20 years ago

It still leaves /tmp/scummvm-conf.exe

comment:4 by Kirben, 20 years ago

Owner: set to Kirben
Resolution: fixed
Status: newclosed

comment:5 by digitall, 5 years ago

Component: Port: Win32
Note: See TracTickets for help on using tickets.