From: Greg C. <gch...@sb...> - 2008-10-21 11:29:41
|
On 2008-10-21 06:15Z, Thomas Steinbach wrote: > > The problem is that the runtime of a compiled/linked > test.exe use the unix-like behavior of the shell and > expand the commandline wildcards to a list of files > which will passed to the test.exe . > But I really need to have the behavior of the MS > (Borland) Compiler/Linker which pass the commandline > ags and the wildcards directly to the program. [...] > Perhaps it is possible to patch the MinGW Runtime > files crt0 etc.? http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/mingw/CRT_noglob.c?annotate=1.2&cvsroot=src The easiest way IMO is to copy line fifteen of that file into your program. > btw: which are the stdlibs of the gcc linker > for *.exe files? MinGW uses the C runtime library provided by the operating system. |