Re: DOS source ?
- Posted by jimcbrown (admin) Jun 30, 2013
- 4662 views
In the source code there is a file called " make_be_callback.ex ". If it is executed it creates a file called " be_callback.c ". I can not find any place in the source code that executes this file . Does anyone have any knowledge of the execution of " make_be_callback.ex " file .
I wrote it. The idea is that we have one big file, be_callback.c, that defines all the possible call_back options, however typing all of that out by hand was very tedious, so I wrote a helper script, make_be_callback.ex, to save some effort.
The idea was that, I'd run make_be_callback.ex once, commit the source, and that was it. You shouldn't ever need to run make_be_callback.ex ever again...
If I manually execute it and run the watcom compiler I get the following error : Internal compiler limit exceeded, break module into smaller pieces.
This was originally designed for OSX. I forgot about the DOS/Watcom limit on a file size. You should be able to make this work if you modify make_be_callback.ex to write out the code into multiple files instead of one file.