Re: WinMain in an own static lib -> _WinMain@16 undefined reference ?! ;.(

2004-03-03 Thread G.-B. Hauck
> g++ -mwindows -mno-cygwin -o test.exe test.o -lmingw32 -L./ -lmaintest :-) Thank You ! - And now i know something about "ld" - yeah Georg -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://

WinMain in an own static lib -> _WinMain@16 undefined reference ?! ;.(

2004-03-03 Thread G.-B. Hauck
Hi Gurus ! I have a problem with cygwin gcc (gcc version 3.3.1 cygwin-special) - i think that i just don't understand "ld" - so maybe someone can help me For my "Application-Framework" i need to put WinMain(...) in a lib - but it doesnt work - please take a look on a minimalistic example: