[comp.binaries.ibm.pc.d] gcc

rb@cc.ic.ac.uk (Robin Becker) (03/08/91)

I am having problems trying to get gcc working.

I have been following the discussion so far and have tried to eliminate
all the possible errors.  the config.sys looks like
---------------------------
files=20
BUFFERS=12
SHELL=c:\dos\command.com c:\dos\ /e:512/p
COUNTRY=044,437,c:\dos\country.sys
device=c:\dos\ansi.sys
---------------------------
and the autoexec.bat contains
---------------------------
set TELIX=C:\UX\
set INCLUDE=c:\include
set LIB=c:\lib
set gccbin=f:/g/bin
set gcclib=f:/g/lib
set gcctmp=f:/g/tmp
set gccinc=f:/g/inc
path c:\ux;f:\g\bin;c:\ux;c:\dos;c:\
---------------------------
i.e. I have nothing which uses XMS.

gcc -o try try.c

produces a huge number of messages and locks up the machine PS/2 M70
20Mhz. with 4Mb. ram.  There is plenty of space on the f: disk >7Mb.
free. Any ideas? Thanks in advance for any help. Also has anybody
managed to obtain the sources for this beast?
	Robin Becker

P.S. try.c is
#include <stdio.h>
#include <malloc.h>
main()
{
	long		count;
	unsigned	size;
	char		*ptr;
	float		f;
	double		d;

	fprintf("sizeof(long)=%u sizeof(unsigned)=%u\n", sizeof(long),
		sizeof(unsigned));
	fprintf("sizeof(char)=%u sizeof(char *)=%u\n", sizeof(char),
		sizeof(char *));
	fprintf("sizeof(float)=%u sizeof(double)=%u\n", sizeof(float),
		sizeof(double));
}