From: janjaap@Wit381304.student.utwente.nl (Jan-Jaap van der Heijden)
Subject: Re: Problems with mingw32 GCC 2.8.0 !!!
27 Jan 1998 19:56:09 -0800
Message-ID: <Pine.LNX.3.96.980128011515.383C-100000.cygnus.gnu-win32@zoo-station.student.utwente.nl>
References: <Pine.SOL.3.95.980127111117.5547C-100000@split.com.dist.unige.it>
Mime-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
To: Fabio Vignoli <bafio@dist.unige.it>
Cc: GNU-Win32 list <gnu-win32@cygnus.com>,
        Colin Peters <colin@bird.fu.is.saga-u.ac.jp>

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:
> 
> http://agnes.dida.physik.uni-essen.de/~janjaap/mingw32/installation.html
> 
> 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
miserably.

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.

Greetings,
JanJaap

---
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
"gnu-win32-request@cygnus.com" with one line of text: "help".
