Path: utzoo!attcan!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: <3560@ns-mx.uiowa.edu> Date: 11 Dec 90 18:04:40 GMT References: <3105@uc.msc.umn.edu> Sender: news@ns-mx.uiowa.edu Reply-To: williams@umaxc.weeg.uiowa.edu.UUCP (Kent Williams) Organization: U of Iowa, Iowa City, IA Lines: 38 uchida san just sent me a new ld that does work with DOS 4.01. If anyone has had trouble with the linker for gcc, mail me and I'll mail a copy. He is working on the next release, and the comp.binaries.ibm.pc moderator has said that gcc will be posted when it is stable. It is semi-stable now, and is available from ocf.berkeley.edu For those of you that are still having trouble 1. Get rid of everything in your config.sys and your autoexec.bat that uses protected mode. This includes highmem.sys, 386max.sys, and qemm386.sys. It may in fact work with one or more of those, but then again it may not. I don't know if his dos extender is DPMI compliant. If it isn't, you can get the source. Fix it, and mail diffs back to uchida san. 2. If you are running DOS 4.01, then you'll need the fixed ld. I have a copy and can mail it to whomever needs it. 3. Pay close attention to environment variables, and the config file, gnucc.cfg. The config file is in the top level directory once you install, you'll need to copy it into whatever work directory you want to use. I'm not sure, but I think you can override some of these things with environment variables. Try gcc -? for info. Here is my gnucc.cfg -I/gnu/usr/include -O -L/gnu/usr/lib -msoft-float 4. Try gcc -n flubber.c. The -n option tells you what gcc is trying to do to you. You can fool around with the result one command at a time in order to come up with something useful. -- 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"