Re: int.exe
- Posted by Matt Lewis <matthewwalkerlewis at gmail.com> Mar 14, 2007
- 530 views
Jesse Adkins wrote: > > I recently noticed that whenever I run the imakew script, I get an emake.bat > > file which creates a file called int.exe > <snip> > > I tried putting it in a clean bin repository but it still crashes. Upon > examing the emake.bat file, I notice that it's not compiling any .c files > with a be_ prefix to them. > > Anyone know what the int.exe file is for? If you examine the imakew file, Rob is using int.ex as the input to ecw to translate the front end. If you run emake.bat, it will try to build that using the euphoria back end, which isn't what you want. The trick is that Rob is mixing the translated front end with the hand coded back end (the be_*.c files). Without looking, I believe that machine proc 65 is how the backend is initialized by the front end. Take a look at backend.e, which basically puts the symbol table into a big C structure that the back end can use. In short, don't bother with the emake.bat created, and ignore int.exe if you do. Also, the batch file doesn't work with open watcom. You need to use the makefile. Matt