X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp Subject: Re: Ruby 1.8.7pl330 + DJGPP (was Re: GCC-4.5.2) Date: Wed, 26 Jan 2011 14:39:08 -0800 (PST) Organization: http://groups.google.com Lines: 39 Message-ID: <5941e6f8-3429-41a5-b591-d12a60efef9c@s5g2000yqm.googlegroups.com> References: <4D24895D DOT 5010701 AT iki DOT fi> <4D2BF57A DOT 8080206 AT iki DOT fi> <1fe05fe1-8da1-4680-98d9-0394c965dc0c AT d8g2000yqf DOT googlegroups 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 1296081635 21187 127.0.0.1 (26 Jan 2011 22:40:35 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Wed, 26 Jan 2011 22:40:35 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: s5g2000yqm.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.80 (Windows NT 5.1; U; en) Presto/2.7.62 Version/11.00,gzip(gfe) Bytes: 2618 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Hi, On Jan 14, 1:13=A0am, "Rod Pemberton" wrote: > > I dropped comp.lang.ruby for now. =A0I hope you're checking c.o.m.d. I only posted it there in the (naive) hope that somebody would recognize and maybe fix it for the next (bugfix) release. Since I think it got lost in the shuffle there, I should probably e-mail the maintainer directly: Urabe Shyouhei. > At the top of the file, you'll probably also want to add "|| defined > (__DJGPP__)" to the end of the line which is used to include : Is that needed? I thought it was only Windows (or old DOS compilers) that needed io.h. Is there a difference between open() and _open() ? fcntl.h: int open(const char *_path, int _oflag, ...); io.h: int _open(const char *_path, int _oflag); :-/ > unlink() is only available with 204. =A0So, it's possible _unlink may may= need > to be rmdir() or remove(), e.g., for 203. I don't see unlink() in libsupp.h. Hmmm, actually, it seems to be in 2.03p2 also (unistd.h), and DJLSR203.ZIP has unlink.S that basically only does "jmp _remove". So I'm not sure why you had such errors, but considering how flaky / annoying the *nix build process is, I'm not really surprised. Such a mess. :-( > HTH. =A0I suspect that that is close... =A0Good luck. This wasn't crucial by any means, but big thanks anyways.