X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: gcc difficulties on MSDOS 6.22 with LFN driver installed Date: Sat, 3 Sep 2011 12:07:17 -0700 (PDT) Organization: http://groups.google.com Lines: 36 Message-ID: References: <201108310027 DOT 22056 DOT juan DOT guerrero AT gmx DOT de> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1315076837 5775 127.0.0.1 (3 Sep 2011 19:07:17 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sat, 3 Sep 2011 19:07:17 +0000 (UTC) Cc: Eric Auer Complaints-To: groups-abuse AT google DOT com Injection-Info: g30g2000vbu.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:6.0.1) Gecko/20100101 Firefox/6.0.1,gzip(gfe) Bytes: 2816 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id p83JF2k8026432 Reply-To: djgpp AT delorie DOT com Hi, On Aug 30, 5:27 pm, Juan Manuel Guerrero wrote: > > I have tried to compile a simple program on MSDOS 6.22.  I have installed stock > djgpp 2.04 binaries.  Before installing djgpp I installed doslfn 0.40e so I had > LFN support avialable during unzipping the djgpp packages.  All djgpp programs > I started were able to use the installed LFN driver.  The only exception was > gcc and gpp.  I was not able to compile a trivial hello world program.  I tried > gcc 3.4.4 and gcc 4.6.1.  This is surprissing because the LFN driver used is the > same I use with FreeDOS, and there it works.  It makes no difference if I load > the driver in conventional memory or if I load it in UMBs. Also it makes no difference > if the driver generates numerical tails for the SFN or not.   Of course, as soon > as I remove the driver gcc works again.  Below is the error output produced by > gcc.  Any suggestions would be welcome. I've read the thread so far, but I'm still confused. Why would it work at all on FreeDOS then? Perhaps they support the API (only)? I don't think they (even these days) support bigger than 2 GB files, even on FAT32. I guess it silently fails, dunno. I wish somebody (FD kernel dev) would take a look, esp. since what other (free) choice is there? Win9x is rare these days, and I'm not sure even Win2k/WinXP support large files. Maybe EDR-DOS (FAT+), who knows. Sorry if this comment isn't very helpful, but I felt like I had to say it. :-(