Gcc 4.2.4 (also 4.2.3) built for Solaris versions 2.5.1, 8 and 10 does not handle a command line macro if the definition contains spaces. This was discovered while building Ghostscript. Following is an example. > gcc -DGX_COLOR_INDEX_TYPE="unsigned long long" test.c gcc: long: No such file or directory gcc: long: No such file or directory Note that the definition is quoted.
Are you sure that your gcc program is not a shell script that calls the real gcc program.
I just checked and it is a shell script. I should have thought of that. Sorry for the noise.