| TIP: Click on subject to list as thread! | ANSI |
| echo: | |
|---|---|
| to: | |
| from: | |
| date: | |
| subject: | MSVC / .NIX Porting |
Mon 2003-08-04 20:21, Jerry Coffin (2:292/516.666) wrote to you:
JC> MSVC out of the box supports _some_ POSIX-like functions (e.g the
JC> whole open/creat/lread/lwrite family) but nowhere close to all of
JC> them (e.g. fork is missing).
Also missing are some other useful (yet simple) functions like opendir(),
in Visual C++ 6.0 anyway. I don't know if this has changed in more recent
versions. Microsoft's emphasis is not on portability or standards
compliance (unsurprisingly).
JC> The Cygwin port of gcc has its own POSIX layer for Win32. This
JC> has both good and bad points -- it does run under the Win32
JC> subsystem (mostly a good thing) and supports some things missing
JC> from the MS POSIX subsystem, if I'm not mistaken. OTOH, some
JC> things in it are distressingly slow, and all programs compiled
JC> with it require a set of support DLLs (and fairly large ones at
JC> that).
A "Hello world." Cygwin apps only requires CYGWIN1.DLL. For many
programs speed isn't a big issue, particularly on modern CPUs. I had good
experience earlier this year porting the UNIX version of the timEd FidoNet
mail reader to Cygwin, and its speed is perfectly adequate, although I
wouldn't recommend running it under Windows 9x/ME (due to slow screen
updates) unless you were desperate - but this is more a symptom of the
underlying OS than a fault of Cygwin, eg. the native (non-Cygwin) Win32
version of Msged is also quite slow to update the screen in Win9x/ME.
JC>
JC> At 12:52 AM 8/3/2003 +0100, you wrote:
JC> * Author: Robert
You might want to disable HTML/Rich Text posts...
-- mail{at}ozzmosis.com
--- timEd/FreeBSD 1.11.b1
* Origin: Blizzard of Ozz, Mt Eliza, Melbourne, Australia (3:633/267)SEEN-BY: 633/267 270 @PATH: 633/267 |
|
| SOURCE: echomail via fidonet.ozzmosis.com | |
Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.