This is the mail archive of the cygwin 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]
Other format: [Raw text]

Re: g++ linker problem with libcygwin.a


On 10/22/2011 3:37 PM, Philipp Kraus wrote:

[snip]
> error
> is created again. Should I rebuild my libraries with the -mconsole
> option, at the time
> I have build them only with configure, make, make install?

You can check which libraries have a reference to _WinMain@16 by using nm.

$ nm /usr/local/bin/<your_library>.dll | grep WinMain

then rebuild only those.
-- 
René Berber



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


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