Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

Borland C/C++ 5.5.1 for Win32 (Developers)

posted by Rugxulo Homepage, Usono, 11.11.2009, 04:51

> I think that msvcrt dlls are default present on windows system

Which MSVCRT? Which Windows? I don't think they are compatible, for the most part, hence you're kinda on your own. I'm not sure MinGW (or anybody) runs on anything older than Win2k. If that's fine with you, fine. Otherwise, don't expect it to work. (And I think some HX apps don't work with Vista's MSVCRT.DLL, but I could be wrong, I never tried too much.)

> so for mingw
> progs you just provide a few kb binary but for cygwin you need big extra
> dll.

You only need to download it once, though, and like I said, if you develop some open source app, it doesn't need to distribute the .DLL with it (but you'll need to ship srcs too if you do include it).

> I don't have experiences with OW but both mingw and cygwin use gcc
> and some standard libs which is good for source code compatability with
> djgpp or linux gcc, etc.

If something relies on GCC, it's not very portable. The standards are not written by GNU. Sadly, however, GCC still doesn't fully implement C99 yet, MSVC probably never will, OpenWatcom lacks POSIX (as does Cygwin), and even Cygwin is more Unix-y than Windows (almost). In other words, it's harder getting something working on several compilers than it probably should be. :-(

Actually, if you get the MinGW runtimes, you can build MinGW-ish apps from Cygwin ("-mno-cygwin", IIRC), best of both worlds.

> I don't compare mingw/cygwin with djgpp because I use mingw only for progs
> using winapi or some specific windows functions that's impossible with
> djgpp. for other cases I prefer djgpp, it's then possible to compile it
> under mingw or linux (if some dos/bios specific not used).

The days of one app to rule them all (and in the darkness bind them) are over. You can no longer rely on Win32 apps working everywhere nor Linux apps nor DOS apps, etc. It's really annoying.

 

Complete thread:

Back to the forum
Board view  Mix view
22752 Postings in 2119 Threads, 402 registered users (1 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum