This is the mail archive of the cygwin@cygwin.com 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: mno_cygwin gcc 3.2


Chris Twiner <c_twiner@hotmail.com> wrote:

> ok finally cracked it:
> 
> g++ -mno-cygwin -enable-threads=no -nostdlib -shared -v -e
> _DllMain@12 -o xwinclip_hook.dll xwinclip_hook.o -lkernel32 -luser32
> 
> not that the :-enable-threads=no seems to matter a damn.
> 
> I don't use any c++ but it still asks for and unresolved symbol:
> 
> __gxx_personality_v0
> 
> so I added a :
> 
> extern "C" {long __gxx_personality_v0;}
> 
> And that seems to keep everything happy.
> 
> Not pretty but it works.

For how long? This is an ugly hack.

Are you really trying to compile xwinclip for MinGW? Why?

Max.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


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