From: George R. <gr...@gm...> - 2007-07-26 06:28:56
|
I'm trying to run a tool that we created from GNU make. This tool is built with MinGW. One of the command line arguments is suppose to be a literal asterisk (*). In our Makefile we use the following argument when running one of the tools we built earlier in our makefile. -x \* When our tool is built with Microsoft Visual C++ on Windows, Cygwin's gcc on Windows, Linux, Solaris, Mac OS X, BSD, AIX, HP-UX, z/OS, i5/OS and several other platforms, this argument is passed to our compiled tool as a literal asterisk. When our tool is built with MinGW, this asterisk is turned into a list of files in the current directory. Since the same tool can be built with Visual C++ with the same Cygwin based makefiles, and this problem doesn't happen in that scenario, I have a feeling that that MinGW is mangling the arguments. Is there a way to turn this "feature" off? George |