Saving to a user-chosen filename?

Linux specific forum
Alex
User
User
Posts: 41
Joined: Fri Aug 19, 2005 8:14 pm

Saving to a user-chosen filename?

Post by Alex »

I've just started with PureBasic, and I've tried a couple different ways to make the command-line compiler save to a specified filename, but it always saves to the name "purebasic.exe." Does anyone know how to make the compiler output a user-chosen output filename?

Currently I'm using a shell script to do the same thing, but I'd rather know the right way to do it.

Alex
"How is it possible to bring order out of memory? I should like to begin at the beginning, patiently, like a weaver at his loom. I should like to say, 'This is the place to start, there can be no other.'

-Beryl Markham
Beach
Enthusiast
Enthusiast
Posts: 677
Joined: Mon Feb 02, 2004 3:16 am
Location: Beyond the sun...

Post by Beach »

This works for me:

$ pbcompiler foo.pb -e bar.pbe

Compiles "foo.pb" to "bar.pbe"
-Beach
Post Reply