X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: Is there a list of error numbers for G77 ??? Date: Sun, 2 Aug 2009 16:46:45 -0700 (PDT) Organization: http://groups.google.com Lines: 35 Message-ID: References: <002418f0$0$4775$c3e8da3 AT news DOT astraweb DOT com> NNTP-Posting-Host: 65.13.115.246 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1249256805 6794 127.0.0.1 (2 Aug 2009 23:46:45 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Sun, 2 Aug 2009 23:46:45 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: k1g2000yqf.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US) AppleWebKit/530.5 (KHTML, like Gecko) Chrome/2.0.172.37 Safari/530.5,gzip(gfe),gzip(gfe) To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, I don't grok Fortran, but I'll pipe in here (unless someone else volunteers, doubt it!), On Aug 2, 4:43=A0pm, "Walter Dnes (delete the 'z' to get my real address)" wrote: > > =A0 For obscure reasons (no flames please) I want to write a program in > Fortran 77 code. =A0Since the gnu gcc maintainers have abandoned F77, the > only free choice seems to be DJGPP. =A0I'm running it on linux, under > dosemu 1.4.0.0, so it's effectively running under FreeDos. =A0Since I > downloaded gcc295.zip and g77-295b.zip, I assume I'm running DJGPP 2.95. Technically, no, DJGPP's version is whatever your manifest/djdev*.ver file says (probably 2.03p2, if I had to guess ... anything older is too old, so upgrade, it's free!!). From what I can tell, G77 was last supported in GCC 3.4.4 (for DJGPP, at least), so I'd suggest you at least get the latest / greatest if you can (instead of 2.95). However, I blindly assume that G95 also has a F77 mode, so I don't think it's "exclusive or." Even Cygwin (still stuck at 3.4.4 "stable" last I checked) should have it. http://gd.tuwien.ac.at/pc/dos/djgpp/beta/v2gnu/g77344b.zip Also, be aware that even OpenWatcom has a F77 compiler (with all the same targets, I assume: DOS, Win16, OS/2 16-bit/32-bit, Win32, etc). ftp://ftp.openwatcom.org/open-watcom-f77-dos-1.8.exe > =A0 Now for my question. =A0I'm trying to read from a text file into a > character string. =A0I get error 103, which is really useless as far as > debugging is concerned. =A0Is there any list of error codes and English > explanations thereof? I don't know, check the Info docs, perhaps?