On Sun, 24 Jan 1999 14:55:29 +0100, Frank Heckenbach wrote:
PS: Does EMX work again? Last thing I heard was that it didn't work with GCC 2.8.x. Did you fix it, or did EM finally do something about it?
Well to start at the bottom, yes there is a new EMX (0.9d) and a new gcc (2.8.1) with it -- there has been since like a week after I told Peter there was no 2.8.x yet for OS/2 :) I waited for a new gpc before I started work on updating it for OS/2. I thought 2.8.1 would mean an easy compile of gpc, but there seemed to be more problems than I expected.
I had to back patch EM's work on gcc.c (about 50 lines) into gpc.c , and some differences between c-typeck.c and gpc-typeck.c held me up. [The latter problem is because EM integrates the Jones' bounds checking routines for gcc.] The RTS compiled fine -- needs to be tested more, but pretty good so far. The short of it is that I have a working 19990118 now and once I clean stuff up I should be able to upload the patches and binaries in the next couple days.
Another sticky problem was with the OS_DOS code in gpc.c (ironically considering how this thread started). Basically I dump core when it reaches 'free (cpp_predefines);' [line 1620 or so] which I don't find too unreasonable because I didn't think you could free(3) static globals. Of course the code does work on other systems so maybe it is just EMX being picky. I just #ifdef'd the line out for EMX and it compiles now. There is also a weird looking "If False" block in the same area which looks like the code is still under construction.
As far as the units, I'll look at them later but I have BSDCurses & PDCurses and NCurses is available so CRT should be okay, LPT1 is okay, and I'll have to check the memory stuff. I can do most bash style redirection in the default shell so that should be okay too.
-Kevin -- Kevin A. Foss --- kfoss@mint.net