delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/01/27/19:56:09

From: janjaap AT Wit381304 DOT student DOT utwente DOT 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 DOT SOL DOT 3 DOT 95 DOT 980127111117 DOT 5547C-100000 AT split DOT com DOT dist DOT unige DOT it>
Mime-Version: 1.0
To: Fabio Vignoli <bafio AT dist DOT unige DOT it>
Cc: GNU-Win32 list <gnu-win32 AT cygnus DOT com>,
Colin Peters <colin AT bird DOT fu DOT is DOT saga-u DOT ac DOT 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 AT 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 AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019