ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2009/02/03/03:48:38

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Rod Pemberton" <do_not_have AT nohavenot DOT cmm>
Newsgroups: comp.os.msdos.djgpp,comp.os.msdos.programmer
Subject: Re: TRYING TO MAKE EXE RUN ON FRIENDS MACHINE
Date: Tue, 3 Feb 2009 03:37:50 -0500
Organization: Aioe.org NNTP Server
Lines: 62
Message-ID: <gm8vmg$ju1$1@aioe.org>
References: <cc2668db-926c-41e1-9836-5a42a1210ed6 AT s9g2000prg DOT googlegroups DOT com> <4563e62e-7382-4c6a-b986-d4c8a8ff9d47 AT i18g2000prf DOT googlegroups DOT com> <0541cc98-689c-4e6c-ae02-d6f5a1b4a9cb AT l37g2000vba DOT googlegroups DOT com> <gk54mb$i0$1 AT news DOT tornevall DOT net> <886d17b9-399f-48ed-ac4d-45ca11d3879f AT s20g2000yqh DOT googlegroups DOT com> <gk5qld$euh$1 AT news DOT tornevall DOT net> <d0ac44e3-772a-44f7-9528-2d6f3f6f1a2c AT h20g2000yqn DOT googlegroups DOT com> <gk6cuo$qor$1 AT news DOT tornevall DOT net> <eec87f79-da47-45ca-9f26-b55dc37ba7ab AT e3g2000vbe DOT googlegroups DOT com> <gkahb5$ecb$1 AT news DOT tornevall DOT net> <59d15676-685a-4ad8-a43a-7715035abbaa AT f3g2000yqf DOT googlegroups DOT com> <gkj2p9$r5j$1 AT news DOT tornevall DOT net> <fed9d4c7-d6a7-4780-bc31-7bdd66aed79b AT r40g2000yqj DOT googlegroups DOT com> <gkk3fk$fqi$1 AT news DOT tornevall DOT net> <06631d19-297f-4622-b8e8-9f2b5fc8c892 AT a12g2000pro DOT googlegroups DOT com> <gm7obc$rq7$1 AT news DOT tornevall DOT net> <5a8fd366-52e8-4389-adde-8ea41684279c AT t39g2000prh DOT googlegroups DOT com>
NNTP-Posting-Host: pldq+kT97bAAp/ObDwnZyQ.user.aioe.org
X-Complaints-To: abuse AT aioe DOT org
NNTP-Posting-Date: Tue, 3 Feb 2009 08:36:33 +0000 (UTC)
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1933
X-Notice: Filtered by postfilter v. 0.7.7
X-Newsreader: Microsoft Outlook Express 6.00.2800.1933
Cancel-Lock: sha1:D48kNgATPvkqBflEgmYUCP7FeIk=
X-Priority: 3
X-MSMail-Priority: Normal
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Rugxulo" <rugxulo AT gmail DOT com> wrote in message
news:5a8fd366-52e8-4389-adde-8ea41684279c AT t39g2000prh DOT googlegroups DOT com...
>
[QEMU issues]

Yeah, I'll probably end up creating an harddisk image as you suggest...
copy everything to it...

> 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.  As you may recall, I've keeping
track of similar info.  Although from what they listed, that minimum set
seems quite large to me...  and has way too much POSIX.  It's amazing to
think about the fact that they didn't have the forsight to restrict coding
their utilities using only ANSI C - except where impossible.  It's a huge
waste of the potential of their codebase, i.e., not portable except to POSIX
environments.

> 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.  It's likely nowhere
near ANSI C.  I just can't win.  Although, it could be a good starting point
for an ANSI C compileable libc, if you wanted to deal with the GPL.

"Use of LibGw32c as a separate development library is very complicated. The
most practical way is to copy the source code for the necessary functions to
your own source code and to adapt your include files and Makefiles. For some
functions you must also link with the following standard libraries: -
libole32.a - libuuid.a - libwsock32.a"

Ah, my life story...  never anything to reduce work.

From the description you quoted, I would've thought it was *new* code, not
reduced glibc.  And, it's GPL even though there is no license...  The
smaller size is important.  Who needs (another) GPL'd libc?  A non-GPL'd
libc would be useful.  Although, I guess if you didn't want Cygwin's .dll,
it's one more option.

> 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 (?).  I think I
looked at that RSX stuff.  I don't recall what I thought about it.  I'm
unfamiliar with the other combinations.


RP



- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019