Question about cygwin, SDL, ming and STL

Question about cygwin, SDL, ming and STL … OH BOY.

I have an existing cygwin project I build on an Athlon with win98. It uses STL’s vector class. I tried using SDL ming distribution under cygwin using the -mno-cygwin option as needed. But this seems to make me lose my Vector class … probably because the defaul libs and all change when I apply -mno-cygwin.

Maybe If I could rob a stand-alone vector template from somewhere, I’d be all set.

Or maybe you have better advice ?

I don’t quite understand the ming vs cygwin thing yet … I guess I should do some research.---------------------------------
Do You Yahoo!?
Yahoo! Finance - Get real-time stock quotes

Question about cygwin, SDL, ming and STL … OH BOY.

I have an existing cygwin project I build on an Athlon with win98.
It uses STL’s vector class. I tried using SDL ming distribution
under cygwin using the -mno-cygwin option as needed. But this
seems to make me lose my Vector class … probably because the
defaul libs and all change when I apply -mno-cygwin.

Exact differences can be seen by passing “-v” to g++ with and without
"-mno-cygwin". I had to mess with ‘specs’ but iirc recent cygwin’s have
much more comprehensive mingw support.

Maybe If I could rob a stand-alone vector template from somewhere,
I’d be all set.

No need. You’ve got it. As indicated above it can be done manually
(symlink /usr/include/mingw/g+±3 to /usr/include/g+±3) but let the
installer do it for you. STL itself isn’t in a lib of course but you may
be missing the libs that pull in the MSVC dlls, so…

Or maybe you have better advice ?

…bung the Setup program on “Full” view. There’s a “mingw” and a
"mingw-runtime" entry. You probably want those.

I don’t quite understand the ming vs cygwin thing yet …

Loosely, mingw==win32 and cygwin==unix. The “-mno-cygwin” exists to
disable anything & everything that would require cygwin1.dll to get
linked. Having achieved that it enables anything & everything it can
find which is related to mingw.

I guess I should do some research.

Archives can be searched here: http://cygwin.com/ml/cygwin/On Sun, 25 Aug 2002 06:11:25 -0700 (PDT), Bill Boggs wrote:


swamp-dog at ntlworld.com