From: geier@forwiss.uni-passau.de (Roland Geier)
Subject: RE: Undefined reference to 'WinMain@16'???
3 Jul 1997 07:14:21 -0700
Approved: cygnus.gnu-win32@cygnus.com
Distribution: cygnus
Message-ID: <199707031335.PAA17895.cygnus.gnu-win32@bombadill.forwiss.uni-passau.de>
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit
Original-To: gnu-win32@cygnus.com
X-Face: 
	 %JjDwL,CM#gbv*uICrNLdM9yk_LRxMh3DV'.fQ>iw'N;7([Jq}2|J#5o".kzM&>7tW`8T^Z
	 buvRLp?jvQ+sbD3BND%=&D: lT%vT4p7cGcGRP5JO+F'^
X-Mailer: ELM [version 2.4ME+ PL31 (25)]
Original-Sender: owner-gnu-win32@cygnus.com

Sergey Okhapkin wrote:

>> Roland Geier wrote:
>> When trying to build a dll consisting of serveral c++-object-files I
>> always get an undefined reference to 'WinMain@16'. 
>
>
> Add empty main() function to one of your sources.

Thx, it works!

--- Roland.

---
Roland Geier                    Phone: ++49 (8505) 92182          
Universitaet Passau, GER 	Fax:   ++49 (8505) 922311
Lehrstuhl Prof. Dr. Donner      geier@forwiss.uni-passau.de	
D-94032 Passau                  http://www.uni-passau.de/~geier/

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".
