g++ linker problem with libcygwin.a
Philipp Kraus
philipp.kraus@flashpixx.de
Sat Oct 22 22:49:00 GMT 2011
On 2011-10-22 23:43:32 +0200, René Berber said:
> 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.
I have checked each library (*.dll, *.a, *.dll.a) but no library file
as got a reference to the _WinMain
and I use the -mconsole linker flag. I don't understand why the linker
creates the error on some
codes and on other code there is no error. Linker options are the same
Thx
Phil
--
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
More information about the Cygwin
mailing list