Preprocessing BCC

BlitzMax Forums/BlitzMax Programming/Preprocessing BCC

grable(Posted 2008) [#1]
Heres a little something to add preprocessing to BCC, see the original post here: http://www.blitzbasic.com/Community/posts.php?topic=76527

Ive cleaned it up and added a simple installer for those wanting to try it out. bcc_ppc.rar

Since this patches the ORIGINAL bcc.exe, it might delete all your files, burn down your house and cause world war 3.
So use at your own risk!


Beaker(Posted 2008) [#2]
Which version of and where do you get the M4 preproc from? Or am I missing something?

Thanks.


grable(Posted 2008) [#3]
Oh yeah, i forgot to mention that.
M4 comes with MinGW+MSYS and theres no version requirement, but any preprocessor will do.


Beaker(Posted 2008) [#4]
If I have MinGW installed do I already have M4? Looking at all the possible MinGW/MSYS downloads on sourceforge I think I can be forgiven for being moderately confused. :)

And, can anyone recommend any other preprocs?


grable(Posted 2008) [#5]
You could always use GCC as a preprocessor (also comes with MinGW).

These are the files you need to get GCC and M4 btw (and a whole lot of other useful tools)
And there is a thread somewhere on this forum on how to setup MinGW properly.
MinGW-5.1.3.exe
MSYS-1.0.10.exe

I dont know of any other preprocs, but i havent realy looked either ;)