X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Rugxulo Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer Subject: Re: TRYING TO MAKE EXE RUN ON FRIENDS MACHINE Date: Tue, 3 Feb 2009 15:19:29 -0800 (PST) Organization: http://groups.google.com Lines: 80 Message-ID: <6565a771-ac36-4a64-b7c7-65f3ceaa64d9@w34g2000yqm.googlegroups.com> References: <886d17b9-399f-48ed-ac4d-45ca11d3879f AT s20g2000yqh DOT googlegroups DOT com> <59d15676-685a-4ad8-a43a-7715035abbaa AT f3g2000yqf DOT googlegroups DOT com> <06631d19-297f-4622-b8e8-9f2b5fc8c892 AT a12g2000pro DOT googlegroups DOT com> <5a8fd366-52e8-4389-adde-8ea41684279c AT t39g2000prh 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 1233703170 9229 127.0.0.1 (3 Feb 2009 23:19:30 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Tue, 3 Feb 2009 23:19:30 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: w34g2000yqm.googlegroups.com; posting-host=65.13.115.246; posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO User-Agent: G2/1.0 X-HTTP-UserAgent: Opera/9.63 (Windows NT 6.0; U; en) Presto/2.1.1,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, On Feb 3, 2:37=A0am, "Rod Pemberton" wrote: > "Rugxulo" wrote in message > > news:5a8fd366-52e8-4389-adde-8ea41684279c AT t39g2000prh DOT googlegroups DOT com... > > >http://gnuwin32.sourceforge.net/packages/libgw32c.htm > > > "This is an implementation of a small part of GLibC, just enough to > > compile most Unix programs on MS Windows. > > It's good to know what that minimum set is. =A0As you may recall, I've ke= eping > track of similar info. =A0Although from what they listed, that minimum se= t > seems quite large to me... =A0and has way too much POSIX. =A0It's amazing= to > think about the fact that they didn't have the forsight to restrict codin= g > their utilities using only ANSI C - except where impossible. =A0It's a hu= ge > waste of the potential of their codebase, i.e., not portable except to PO= SIX > environments. Windows isn't POSIX either. They've removed their POSIX subsystem in latest versions, Interix is non-free and seems frozen (from what I've heard), and people always whine about how they lack many functions. So I dunno. Of course, the main point of me mentioning this is that "Hey, somebody ported part of GLIBC, so I guess DOSEMU ain't too impossible to host on Windows now." Then again, DOSBox CVS is supposedly improved a fair bit now (P166 ??), but I'm not really interested in that until final release. > > It contains functions for > > passwords, process id's groups, and strings. Most are interfaces to > > the MS-Windows Win32 API. Some are just dummy functions that do > > nothing. " > > The conversion to Win32 API makes it useless for non-Windows use... > although it probably edited out much useless *nix code. =A0It's likely no= where > near ANSI C. =A0I just can't win. =A0Although, it could be a good startin= g point > for an ANSI C compileable libc, if you wanted to deal with the GPL. There are a lot of projects that aren't as wide-reaching as GNU. Of course, even GNU seems to hinge on "GNU/Linux" these days (thus at cost of less support for others, if at all). > > Hmmm, actually all I had otherwise was just a bunch of links to GCC / > > EMX / FPC cross-compiler stuff (e.g. BinUtils Win32 cross-tools from > > FreePascal for various targets, various EMX DOS+OS/2 compilers + > > updates, various RSX + RSXNT + RSXNTDJ + NT09D files which are > > apparently very hard to find, as well as the old FPC 1.0.10 DOS+OS/2 > > EMX version). I guess that's not hugely relevant here, but at least I > > found it interesting. > > I've heard of EMX, but since I don't have OS/2... useless (?). =A0I think= I > looked at that RSX stuff. =A0I don't recall what I thought about it. =A0I= 'm > unfamiliar with the other combinations. I've never had OS/2 either, but EMX isn't useless (although OpenWatcom now exists and works well too), esp. since it works in both DOS and OS/ 2. RSX is just the extender to work under DPMI instead of VCPI (which most Windows hate). RSXNTDJ 1.51 lets you use DJGPP to make "bound" .EXEs that run in either DOS (w/ RSX.EXE) or Win32 (w/ RSXNT.DLL). Actually, his RSXWIN + RSHELL lets you run EMX or RSX apps in a Win16 GUI shell (uses less memory than standard DOS prompt). Seems that he dropped bound support in 1.6 beta2 (which I can only find truncated at 99% from WayBack), preferring separate DOS and Win32 .EXEs (and using CRTDLL instead, which loosens the license a bit). But at least 1.6 beta2 has a more recent version of RSX.EXE (5.24) and RSXNT.DLL: rsx exe 111,900 Feb,09,2000 06:59:32pm A... rsxnt dll 60,416 Jan,06,2002 07:56:50pm A...