Opened 15 years ago

Closed 15 years ago

Last modified 10 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:


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


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 Changed 15 years ago by fingolfin

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 Changed 15 years ago by eriktorbjorn

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 Changed 15 years ago by Kirben

It still leaves /tmp/scummvm-conf.exe

comment:4 Changed 15 years ago by Kirben

Owner: set to Kirben
Resolution: fixed
Status: newclosed

comment:5 Changed 10 months ago by digitall

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