delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/02/01/08:26:13

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: pavenis AT lanet DOT lv
To: "Joel Saunders" <jbs30000 AT aol DOT com>, djgpp AT delorie DOT com
Date: Fri, 1 Feb 2002 15:25:13 +0200
MIME-Version: 1.0
Subject: Re: Compiling and linking ASM and C++ files.
Message-ID: <3C5AB359.25951.12C4C15@localhost>
In-reply-to: <e6f34726e8d4c68a3eb1d97a6dfa436f.62691@mygate.mailgate.org>
X-mailer: Pegasus Mail for Windows (v4.01)
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

On 1 Feb 2002 at 12:10, Joel Saunders wrote:

> It helped, but in main() the start(); still gives me this error:
> undefined reference to `__gxx_personality_v0'
> I have no clue what that means.  Maybe I'll have to change start to
> something else.

You should link with libstdcxx.a

> "Christophe BARIBAUD" <cbaribau AT jnjfr DOT jnj DOT com> wrote in message
> news:a3dl1i$92t$1 AT suaar1aa DOT prod DOT compuserve DOT com...
> 
> > Try
> > extern "C" void start();
> > to avoid C++ mangling
> 


- Raw text -


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