Compiler

BlitzPlus Forums/BlitzPlus Beginners Area/Compiler

Ked(Posted 2007) [#1]
If you are trying to make an IDE how would you compile a file? How would you send it to the BlitzBasic compiler?


b32(Posted 2007) [#2]
If it works the same as with blitz3d, you need to call blitzcc in the program files\blitz\bin directory and you also need to supply the 'blitzpath' environment variable.
Somewhat like this:
(windows:)
Start->Run->Cmd
(dos:)
cd\program files\blitzplus\bin
set blitzpath=c:\program files\blitzplus
blitzcc

More info:
http://www.blitzbasic.com/Community/posts.php?topic=44544
or search for 'blitzcc blitzpath' in google.


Ked(Posted 2007) [#3]
Thanks!


Ked(Posted 2007) [#4]
Would this work?

ExecFile ("blitzcc -c test.bb")