www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/16/08:30:18

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "deckerben" <deckerben AT freenet DOT de>
Newsgroups: comp.os.msdos.djgpp
References: <ec077a42 DOT 0204151402 DOT 6b7f5b4e AT posting DOT google DOT com>
Subject: Re: SkySound - Build Problem: gxx_personality_v0
Date: Tue, 16 Apr 2002 14:38:56 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 13
Message-ID: <3cbc178e$0$12701$9b622d9e@news.freenet.de>
NNTP-Posting-Host: 213.7.8.101
X-Trace: 1018959759 news.freenet.de 12701 213.7.8.101
X-Complaints-To: abuse AT freenet DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> exemple.o(.eh_frame+0x11):exemple.cpp: undefined reference to   <---
notice gcc compiling a C++
> `__gxx_personality
> _v0'

This problem occurrs for me when gcc is told to compile a C++ executable.
The batch file must be changed by hand and/or the variable CC=GPP.EXE (or
CXX=GPP.EXE) must be set. GCC does not automaticly link libstdcxx.a with
.cpp code, and it needs to.

Ben


- Raw text -


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