delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/20/15:24:07

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <00fd01c290d2$c05764c0$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Chris Twiner" <c_twiner AT hotmail DOT com>, <cygwin AT cygwin DOT com>
References: <F129SOc7wo95EFk2H3b00016d6f AT hotmail DOT com>
Subject: Re: mno_cygwin gcc 3.2
Date: Wed, 20 Nov 2002 20:23:56 -0000
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106

Chris Twiner <c_twiner AT hotmail DOT com> wrote:

> 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.

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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019