Compiling from the command line

Blitz3D Forums/Blitz3D Beginners Area/Compiling from the command line

EddieRay(Posted 2004) [#1]
Is there any way to run Blitz3D.exe in a way that will just compile the file to an EXE (and possibly run it)? I'd like to try to use my favorite editor with Blitz, but I want to avoid needing to open the same file in the BlitzIDE every time I want to compile/run/test what I'm editing.

Thanks,

Ed


Perturbatio(Posted 2004) [#2]
you need to call Blitzcc.exe not Blitz3D.exe

go to the command line, change to the Blitz3d\bin directory and type blitzcc.exe -h for command line options.


EddieRay(Posted 2004) [#3]
Thanks!


Perturbatio(Posted 2004) [#4]
oh as a side note, you need to add the BLITZPATH environment variable
In winXP, go to control panel->system->Advanced->Environment Variables
create a new user variable named BLITZPATH with a value of C:\Program Files\Blitz3D (or wherever you installed blitz to).


EddieRay(Posted 2004) [#5]
Cool... got it!