Mail Archives: djgpp/1995/05/23/12:20:02
On Tue, 23 May 1995, Eli Zaretskii wrote:
> > The machine information:
> > processor: AMD 386sx/sxl 20
> > 200 Mb hard disk
> > 2 Mb Ram
> > ega card with monochrome monitor
>
> Your system has an extremely low memory size, and you didn't post your
> CONFIG.SYS and AUTOEXEC.BAT, so I can't figure out exactly how much
> free RAM is available to DJGPP. However, what go32 prints:
>
> XMS memory available: -4 Kb
> Swap space available: 131040 Kb
>
> means TROUBLE!! That ``-4 Kb'' free XMS memory means that there is NO
> free extended memory on your machine! How can this be possible? Please
> read section 2.8 of the DJGPP FAQ list (available as faq101.zip from the
> same place you got DJGPP) and see if your system configuration is as
> recommended there. If this won't solve your problem, then see Chapter
> 6 there which discusses several known reasons for DJGPP to crash. Failing
> all that, post your CONFIG.SYS and AUTOEXEC.BAT files, so that we could
> help you further.
>
> But first be sure to make things set up such that go32 will at least have
> 1.5 MBytes of free XMS RAM, otherwise at least the compiler won't run at all.
>
I have done what's suggested in the FAQ.
My config.sys file:
FILES=15
autoexec.bat file:
@echo off
prompt $p$g
path c:\bat;c:\bin;c:\unixbin;c:\dos;c:\fprot;c:\djgpp\bin;
set temp=c:\temp
I am using Ms-dos 5.0
The mem program (dos 5) reports:
591568 largest executable program size
1048576 bytes total contiguous extended memory
1048576 bytes available contigous extended memory
go32 (version 1.12.maint3) reports:
Extended memory available 1020 Kb
Swap space available 131040 Kb
stubedit -v gcc.exe reports:
0x40000 (256k) Minimum amount of stack space (bytes/K/M)
0 (0k) Maximum amount of virtual memory to keep when spawning
0 (0k) Amount of conventional memory to leave (bytes/K/M)
The environment variables are set up as before.
gcc hello.c or gcc -v hello.c
still gives
Unsupported INT 0x06
Invalid Opcode at eip= .... etc.
I have 2Mb of ram, amd386sx/sxl 20, ega card and monochrome monitor. The
time taken to perform a compile is not important to me at this stage.
The readme file says that 4Mb of hard disk space and 512Kb of ram is
required.
Thanks
Shri Rai
- Raw text -