www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/04/06/05:01:15

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,TW_CX,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <w2r6f80c1521004041222ld8842dc8pdc028341e165205a@mail.gmail.com>
References: <w2r6f80c1521004041222ld8842dc8pdc028341e165205a AT mail DOT gmail DOT com>
Date: Tue, 6 Apr 2010 11:00:50 +0200
Message-ID: <r2m1ef5a52f1004060200vad577fddz40886a22e7f106ee@mail.gmail.com>
Subject: Re: __cxa_atexit
From: Csaba Raduly <rcsaba AT gmail DOT com>
To: cygwin AT cygwin DOT com
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Sun, Apr 4, 2010 at 9:22 PM, June Kim wrote:
> I'm building CppUTest from http://cpputest.sf.net with cygwin.
>
> make from the CppUTest path results in a huge list of errors with
> ___cxa_atexit reference, for e.g.:
>
...
> I believe it has something to do with cygwin's latest gcc's being
> compiled with "--disable-__cxa_atexit". Would it work on cygwin if I
> compile gcc with --enable-__cxa_atexit option? Any other options?


Just remove --use-cxa-atexit from the CppUTest Makefile :

Running CppUTest_tests
.................!................................
.........................!........................
..................................................
...!!................
OK (171 tests, 167 ran, 599 checks, 4 ignored, 0 filtered out, 15 ms)

-- 
Life is complex, with real and imaginary parts

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

- Raw text -


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