11-20-2004, 09:34 PM
Added a real command-line parser today (was using batch files before :P), format is now:
To create foo.exe it's simple as: fbc foo.bas
I wish BC was that easy when i started, heh..
Code:
Usage: fbc [options] inputlist
inputlist: xxx.a = library, xxx.o = object, xxx.bas = source
options:
-a <name> add an object file to linker's list
-b <name> add a source file to compilation
-c compile only, do not assemble or link
-d <name=val> define a preprocessor's constant
-e add error checking
-g add debug info (testing)
-l <name> add a library file to linker's list
-m <name> main file w/o .ext (entry point)
-o <name> output name (in the same number as source files)
-s <name> subsystem (gui, console)
-v verbose
-x <name> executable name
To create foo.exe it's simple as: fbc foo.bas
I wish BC was that easy when i started, heh..