On 3 Apr 2001, at 17:41, the Illustrious Ross Smith wrote:
> Paul Sokolovsky wrote:
> > I don't remember your describing of the problems you face, either.
> > I don't recommend having wrappers around make, etc - that's way too
> > complicated. Just have /mingw/bin in front of your PATH always (when
> > you want to use mingw, of course).
> A wrapper around make is the easiest way to accomplish that, as far as I
> can see. What's complicated about it? How else would you do it?
> > With that, it should work
> > automagically without any further steps. If not (hm), take a look at
> > "gcc -v" output, then at "gcc -v <your_app>.c" output. It should show
> > clearly what's wrong. If it won't, submit those outputs along with
> > dump of your environment via bugtracker at
> > http://sourceforge.net/projects/mingw/ .
> I finally got it all working. The problems I was having with includes
> and linking came down to three causes:
> (Or four. My biggest mistake was listening to Paul Garceau. After a few
> rounds of email with him, with me getting increasingly confused, I
> finally came to my senses and realised he was talking complete bollocks,
> and went back to figuring it out for myself.)
> First, I had my library paths set up so my Cygwin libraries (my own
> libraries compiled with Cygwin, I mean, not the ones that come with
You did not mention this to me...
> were being found before the Mingw-compiled versions, so of
> course anything that used them wouldn't link. That was easy to fix by
> giving them different names.
Of course they wouldn't link...that's because of the path settings you
had and due to the fact that you compiled those libraries with Cygwin --
libraries, which apparently were stored in your Cygwin directory tree,
not your mingw directory tree. As noted, the system path, as you
defined it, assumed that the libraries you were wanting were somewhere
in your mingw directory tree. (mingw\bin was first on your path).
So now you state exactly what you were doing...thanks; I'm sure a
whole lot of confusion would have been eliminated had you said this up
front in our personal correspondence...as it stands, that was not the
case...as a courtesy, in the future, please make it clear, up front,
what exactly you are trying to accomplish...it makes it a whole lot
easier (and much less confusing) when everyone knows what you are
Otherwise people have to figure out, through trial, error and a whole
bunch of confusion, what exactly it is you are trying to do...such an
approach makes things next to impossible to comprehend for everyone
Nothing real can be threatened.
Nothing unreal exists.