delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2004/08/18/11:00:33

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
Message-ID: <20040818143221.44432.qmail@web81007.mail.yahoo.com>
Date: Wed, 18 Aug 2004 07:32:21 -0700 (PDT)
From: STEVEN BOWTON <stevenlb AT sbcglobal DOT net>
Subject: Help
To: djgpp AT delorie DOT com
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

Hello,
     I am sorry to bother anyone but this is my first
try...I am trying to teach myself C++.  I made a very
small .cc file named "hello" as I am sure many have
started with this.
     The problem...when I go to compile using gcc
command...gcc hello.cc -o hello.exe, I get the
following error:

c:/djgpp/tmp/ccOFOb6B.o(.eh_frame+0x11):hello.cc:
undefined reference to `___gxx
_personality_v0'

Could anyone help me with this?
I have set a new environment variable to DJGPP as the
variable and DJGPP=c:/djgpp/djgpp.env as the value.

I made autoexec.bat as the following

@echo off
set PATH=c:\djgpp\bin;%PATH%
set DJGPP=c:\djgpp\djgpp.env
chdir c:\djgpp\mystuff   (or any other directory)
command

Any help would be very appreciated
Steve

- Raw text -


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