Compiler

BlitzPlus Forums/BlitzPlus Beginners Area/Compiler

If you are trying to make an IDE how would you compile a file? How would you send it to the BlitzBasic compiler?

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.

Thanks!

Would this work?

ExecFile ("blitzcc -c test.bb")