Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!uunet!ns-mx!umaxc.weeg.uiowa.edu!williams From: williams@umaxc.weeg.uiowa.edu (Kent Williams) Newsgroups: comp.binaries.ibm.pc.d Subject: Re: gcc for MS-DOS Message-ID: <3431@ns-mx.uiowa.edu> Date: 5 Dec 90 16:11:34 GMT References: <2985@crdos1.crd.ge.COM> <1990Dec5.001636.920@sj.ate.slb.com> Sender: news@ns-mx.uiowa.edu Reply-To: williams@umaxc.weeg.uiowa.edu.UUCP (Kent Williams) Organization: U of Iowa, Iowa City, IA Lines: 24 I have ftp'ed and download the GCC package; the loader doesn't work on my machine (386SX Neat Chipset, VIP MB, with DOS 4.01) I have heard from one person who got it to compile a 'hello world' program. The loader refuses to write the output file. It creates it OK, but it bombs out of one of the other operations in the 'write_file' function -- fstat'ing it to get its permission bits, and chmod'ing it to make it executable. It would be very simple to fix this, since neither operation has any relevance to DOS, but since the loader is broken, I can't use it to load the fixed version ;-(. I suspect it is a difference in DOS 3.X versus DOS 4.01 file semantics -- since I'm getting ENOENT on an operation when the file exists, apparently the directory entry isn't written out until the file is closed. If anyone has GCC working (in particular ld!!!) please mail to me. Supposedly Uchida has a new version coming out in a few weeks, so hold off posting! -- Kent Williams --- williams@umaxc.weeg.uiowa.edu "'Is this heaven?' --- 'No, this is Iowa'" - from the movie "Field of Dreams" "This isn't heaven, ... this is Cleveland" - Harry Allard, in "The Stupids Die"