This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Does the b19 gcc have a compatibility option for compiling Mingw3


On 01-Mar-1998, vischne@ibm.net <vischne@ibm.net> wrote:
> >   vischne@ibm.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@cs.mu.oz.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@128.250.37.3         |     -- the last words of T. S. Garp.
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]