Hello. I recently installed the latest DOSEmu for linux, and the first
this that I installed was djgpp (or course). Well, I tried to compile
Allegro (the May 25th WIP), and I could only compile about 50% of the .o
files. For the rest, I was getting a message saying that I ran out of
virtual memory. I then changed the flags in the makefile from -O3 to
-O2, and I could compile about 90% of the .o files, still getting this
error on a few compiles. I then increased my DPMI memory from 8MB to
16MB. I can now compile the entile Allegro library with -O3.
Well, I was not aware that gcc would use this much memory. What I'd
like to know, is why did some of the code run fine with 8MB and -O3, and
some with -O2? Does optimization use THAT much memory? Or, is this a
problem with DOSEmu?
Also, has anyone else run Allegro programs under X-windows? When I run
test.exe, I get the video mode selection screen, but as soon as I move
the mouse far enough to change the dialog's focus, I get a SIGSEGV.
Does anyone have any experience with this?
Thanks in advance...