SmallerC icon indicating copy to clipboard operation
SmallerC copied to clipboard

Default output filename "aout.exe" is not detected by autoconf

Open winspool opened this issue 1 year ago • 0 comments

The default filename for dos or windows targets is "aout.exe"

That name is not detected by autoconf, and I think, that SmallerC is far too small that autoconf would change that.

Easiest fix would be to use a default name, which is already detected by autoconf:

The possible output files:

ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"

Since the sourcefile has the name "conftest.c", i suggest to create a "conftest.exe" or fall back to "a.exe" ("a_out.exe" is also detected, but not removed before the test or after the test)

winspool avatar Aug 09 '23 20:08 winspool