Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [198.240.212.25] From: "Chris Twiner" To: cygwin AT cygwin DOT com Subject: Re: mno_cygwin gcc 3.2 Date: Wed, 20 Nov 2002 15:56:34 +0000 Mime-Version: 1.0 Content-Type: text/plain; format=flowed Message-ID: X-OriginalArrivalTime: 20 Nov 2002 15:56:35.0182 (UTC) FILETIME=[670380E0:01C290AD] ok finally cracked it: g++ -mno-cygwin -enable-threads=no -nostdlib -shared -v -e _DllMain AT 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. In answer to the mingw stuff I added the paths to $LIBRARY_PATH and then it caused pthread issues which I couldn't seem to resolve hence the -nostdlib. Thanks, Chris _________________________________________________________________ Tired of spam? Get advanced junk mail protection with MSN 8. http://join.msn.com/?page=features/junkmail -- 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/