delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/07/05/14:03:39

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
From: tjoen AT dds DOT nl
Message-Id: <199907050503.HAA09745@localhost.localdomain>
Subject: Re: Libraries not working
To: cygwin AT sourceware DOT cygnus DOT com
Date: Mon, 5 Jul 1999 07:03:17 +0200 (MEST)
In-Reply-To: <199907050050.TAA20237@mercury.xraylith.wisc.edu> from "Mumit Khan" at Jul 4, 99 07:50:57 pm

> tjoen AT dds DOT nl writes:
> > 
> > I guess that it is only declared, not defined
> > 
> > > Also I have a main function and the FAQ says that if you
> > > get the undefined reference to `WinMain AT 16' to include a blank main
> > > statement, well, I am not building a library I already HAVE a main
> > > statement.
> > 
> > One solution: link with WinMain.o
> > The other was explained by Mumit Khan in a posting May 13
> 
> I believe you're referring to the problem that shows up when linking V 
> GUI examples, which puts WinMain in a library. The solution there is to
> use -Wl,-u,_WinMain AT 16 when linking (in addition to -mwindows).

Yes, just reread that when the problem came along

> I don't have enough information on this particular problem to be able
> to comment. 

That is true. By private e-mail the original poster came with
new details. I was on the wrong track.
I replied to post the problem more clearly on the list.


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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