GLBasic forum

Main forum => GLBasic - en => Topic started by: marovada on 2013-Jun-22

Title: Output path
Post by: marovada on 2013-Jun-22
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?


Title: Output path
Post by: Kitty Hello on 2013-Jun-26
Yes. Put a string. "gpc" or "dummy", not a path.
Title: Re: Output path
Post by: marovada on 2013-Jun-26
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?