Mail Archives: djgpp/1994/11/10/19:34:39
Hi. Thanks to many readers I have been able to speed up my compile time
enormously (thanks, especially, to Stephen Turnbull and Aaron Ucko; yes,
I omitted "himem.sys" from my earlier description.)
Following the sound advice of Darwin Hawes I've moved to the real mode
version. When I compile or link with this thing, though, I can get
"Floating Point exception" messages. For example, suppose I wanted
to compile, but not link, the "hello.c" file supplied in the djgpp
release using the real-mode version of gcc. I enter
(Me) ..\..\utils\gcc-rm\gcc -o hello.o hello.c -v
(It) [Some preprocessor messages, including
GNU CPP version 2.6.0 (80386, BSD syntax) ]
: :
End of search list.
d:/djgpp/bin/cc1.exe d:/djgpp/tmp/cc000042 -quiet -dumpbase hello.c -version -o
d:/djgpp/tmp/cca00042
GNU C version 2.6.0 (80386, BSD symtax) compiled by GNY C version 2.6.0.
d:/djgpp/bin/as.exe -o d:/djgpp/tmp/ccb00042 d:/djgpp/tmp/cca00042
d:/djgpp/bin/ld.exe -o hello.o d:/djgpp/lib/ctr0.o -Ld:/djdpp/lib d:/djgpp/tmp/
ccb00042 -lgcc -lc -lgcc
Floating Point exception at eip=9809
eax=00000001 ebx=0003106c ecx=0000ae7e edx=00000000 esi=00000000 edi=00000000
ebp=7ffffb70 esp=7ffffb58 cs=d8 ds=48 es=48 fs=48 gs=38 ss=48 cr2=0000adf6
Call frame traceback EPIs:
0x00009809
0x0000b362
0x0000c34e
I have a 387, if that helps. When I just type "go32" I get
go32 version 1.12 Copyuright (C) 1994 DJ Delorie
Lowest version I can run is 1.08
(usage line)
go32 build time was Thu Aug 04 19:52:27 1994
XMS Memory available: 5236 Kb
Swap space available: 19512 Kb
I have 8 MB of real RAM in this baby. I run DOS 5.0 and Windows 3.1,
whence I got slightly more recent versions of HIMEM.SYS and EMM386.EXE.
I am not, for the moment, using a RAMdrive, but I'm willing to. My
autoexec.bat looks like this:
@loadhigh c:\dos\share.exe /l:500 /f:5100
@D:\STACKER\CHECK /WP
C:\WINDOWS\SMARTDRV.EXE
(PATH, which includes d:\djgpp\bin)
c:\dos\keyb US 437 c:\dos\keyboard.sys
c:\windows\mouse.com /Y
c:\dos\cmdedit
set DJGPP=d:/djgpp/djgpp.env
set TMP=d:/djgpp/tmp
set GO32TMP=d:/djgpp/tmp
(end)
Following some advice from the above-mentioned readers, I now have a
CONFIG.SYS that looks like:
DEVICE=C:\DOS\SETVER.EXE
files=30
buffers=30
DEVICE=C:\WINDOWS\HIMEM.SYS
SHELL=C:\DOS\COMMAND.COM /e:1000 /p
DOS=HIGH,UMB
stacks=0,0
device=c:\windows\emm386.exe noems
device=d:\stacker\stacker.com
devicehigh=d:\stacker\sswap.com
(end)
[By the way, I'm typing all this, so there may be typos.]
These last two belong to "stacker." My D: drive, on which djgpp
is located, is a stacker drive. As far as I know, the only TSRs I
have are stacker and c:\dos\cmdedit. Finally, "mem" tells me:
655360 bytes total conventional memory
655360 bytes available to DOS
590736 largest executable program size
7733248 bytes total contiguous extended memory
0 bytes available contiguous extended memory
5365760 bytes available XMS memory
MS-DOS resident in High Memory Area
Anyone have any ideas, thoughts, or comments?
Sam Buttrey (buttrey AT stat DOT berkeley DOT edu)
- Raw text -