delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/01/23:48:35

From: fjh AT cs DOT mu DOT OZ DOT AU (Fergus Henderson)
Subject: Re: Does the b19 gcc have a compatibility option for compiling Mingw3
1 Mar 1998 23:48:35 -0800 :
Message-ID: <19980302171727.32957.cygnus.gnu-win32@murlibobo.cs.mu.OZ.AU>
References: <199803012249 DOT WAA42566 AT out5 DOT ibm DOT net>
Mime-Version: 1.0
To: vischne AT ibm DOT net
Cc: gnu-win32 AT cygnus DOT com

On 01-Mar-1998, vischne AT ibm DOT net <vischne AT ibm DOT net> wrote:
> >   vischne AT ibm DOT net
> >   Sun, 1 Mar 1998 07:41:57 GMT
> >That's the question:  Is there a command-line option that can be added
> >to the ming specs so that gcc-b19 compiles ming-compatible code and
> >links with, say, the latest egcs ming libraries?
> >
> >Contrariwise, is anyone in the ming camp going to make an addon ming
> >release compatible with gcc-b19?
> 
> If you compile the minimalist MINGW32 source using gcc-b19, then attempt
> to compile hello.c with the ming specs in place and the includes and lib
> changed, you get a message to the effect that gcc-b19 can't find __main.
> Adding test __main and _main to ming doesn't get rid of that message.

This is probably because b19 does not include libgcc.a in cygwinb19.dll.
The fix would be to change the mingw32 specs file to link in libgcc.a.

-- 
Fergus Henderson <fjh AT cs DOT mu DOT oz DOT au>   |  "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh>   |  of excellence is a lethal habit"
PGP: finger fjh AT 128 DOT 250 DOT 37 DOT 3         |     -- the last words of T. S. Garp.
-
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