I'm trying to set gpc.exe output path using the -O switch. For example:
gpc.exe -O"/documents/"
But it's giving the output files weird names ie g.cpp instead of outg.cpp. There's also no out.reqire file generated. When the source files are compiled into a binary the binary program displays for a second and then exits abruptly.
The GLBasic manual says this in relation to the -O switch:
-O"Output prefix (with path)"
What does 'prefix' mean? Am I using it wrong?
Yes. Put a string. "gpc" or "dummy", not a path.
Quote from: Kitty Hello on 2013-Jun-26
Yes. Put a string. "gpc" or "dummy", not a path.
Thanks Gernot. I'd like to put a prefix
and a path. Is that possible?