Problems with mingw32 GCC 2.8.0 !!!

Jan-Jaap van der Heijden
Tue Jan 27 16:21:00 GMT 1998

On Tue, 27 Jan 1998, Fabio Vignoli wrote:

> Hi!
> I downloaded the mingw32 required packages and tried to install on my hd:
> 1) In the installation page:
> You wrote "I shall assume `C:\MINGW32' but another location should be
> fine", but it seems that it's not, I tried another directory and gcc
> couldn't find the "specs" file in the ...gcc-lib/...

I cannot reproduce this, even when the compiler is executed from a
different drive. 
1) Did you preserve the trailing slash in GCC_EXEC_PREFIX ?
2) You did replace all `C:\MINGW32' with your alternative path, right?

> 2) The problem I encountered when I tried to compile the dlltest or other
> tests provided with the packages is more serious, maybe is my inexperience
> in using the tool but it seems that WinMain does not exist in any of the
> default libraries. (I used jam to compile it).
> I can't report the exact error message because I'm not at home but it
> seems that it can't find a reference to WinMain@16.

The problem is an old version of `jam'.

It uses GCC's former `-dll' option, which has been renamed to `-mdll'.
So, instead of building a DLL, GCC will try to link a .EXE, and fail

I guess Colin will fix this in a future release of jam.
In the mean time, I will update my www page to mention the jam problem.


With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going
to land, and it could be dangerous sitting under them as they fly
overhead.  -- RFC1925.

For help on using this list (especially unsubscribing), send a message to
"" with one line of text: "help".

More information about the Cygwin mailing list