Opened 17 years ago

Closed 16 years ago

Last modified 23 months ago

#1570 closed defect (fixed)

MinGW: configure script doesn't clean up afterwards

Reported by: eriktorbjorn Owned by: Kirben
Priority: normal Component: Port: Win32
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, 16 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, 16 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, 16 years ago

It still leaves /tmp/scummvm-conf.exe

comment:4 by Kirben, 16 years ago

Owner: set to Kirben
Resolution: fixed
Status: newclosed

comment:5 by digitall, 23 months ago

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