delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/04/07/11:35:35

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <20040407150836.78889.qmail@web60904.mail.yahoo.com>
Date: Wed, 7 Apr 2004 08:08:36 -0700 (PDT)
From: Thomas Tutone <thomas8675309 AT yahoo DOT com>
Subject: Re: linker error __gxx_personality_v0 ?
To: djgpp AT delorie DOT com
MIME-Version: 1.0

"PT" <ptalloen AT hotmail DOT com> wrote:

> undefined reference to __gxx_personality_v0 ?
> 
> what is generating this error ?
> how can it be solved ?

Dude, you've violated the cardinal rule for getting
help.  You need to provide a small example program
that generates the error, then post the exact compiler
command line you typed in that generated the error,
along with the complete error message.  Without that,
we're all stuck staring into our crystal balls trying
to figure out your problem.  So here goes...

My crystal ball tells me that you have a C++ program
that uses <iostream>, and you've saved it with the
name mystery.cpp.  You then tried to compile it with
the command:

gcc mystery.cpp

leading to your error.  The problem, according to my
crystal ball, is that gcc does not link in the C++
library unless you tell it do so.  The solution is to
use gpp instead of gcc:

gpp mystery.cpp

That links in the C++ standard library automatically.

If that doesn't fix it, please provide the smallest
piece of compilable code that reproduces the error,
the exact compiler command line you used to compile,
and the exact text of the error.  While you're at it,
also provide the exact response to "gcc -v", which may
also give us some helpful info.

Good luck.

Best regards,

Tom

















__________________________________
Do you Yahoo!?
Yahoo! Small Business $15K Web Design Giveaway 
http://promotions.yahoo.com/design_giveaway/

- Raw text -


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