This is the mail archive of the
mailing list for the Cygwin project.
Re: Does the b19 gcc have a compatibility option for compiling Mingw3
- To: vischne at ibm dot net
- Subject: Re: Does the b19 gcc have a compatibility option for compiling Mingw3
- From: Fergus Henderson <fjh at cs dot mu dot OZ dot AU>
- Date: Mon, 2 Mar 1998 17:17:27 +1100
- Cc: gnu-win32 at cygnus dot com
- References: <199803012249.WAA42566@out5.ibm.net>
On 01-Mar-1998, firstname.lastname@example.org <email@example.com> wrote:
> > firstname.lastname@example.org
> > 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 <email@example.com> | "I have always known that the pursuit
WWW: <http://www.cs.mu.oz.au/~fjh> | of excellence is a lethal habit"
PGP: finger firstname.lastname@example.org | -- the last words of T. S. Garp.
For help on using this list (especially unsubscribing), send a message to
"email@example.com" with one line of text: "help".