Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!cc.ic.ac.uk!rb From: rb@cc.ic.ac.uk (Robin Becker) Newsgroups: comp.binaries.ibm.pc.d Subject: gcc(MSDOS) PS/2 problem? Message-ID: <1991Mar7.173107.28848@cc.ic.ac.uk> Date: 7 Mar 91 17:31:07 GMT Organization: Imperial College Computer Centre Lines: 50 Originator: rb@cc.ic.ac.uk Nntp-Posting-Host: suns1cc 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 #include 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)); }