delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2006/01/12/21:30:25

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: "Bryan" <bryanmlane AT yahoo DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: eh_throw.o undefined reference to `__Unwind_Resume_or_Rethrow'
Date: 12 Jan 2006 18:25:43 -0800
Organization: http://groups.google.com
Lines: 135
Message-ID: <1137119143.110902.209680@g47g2000cwa.googlegroups.com>
NNTP-Posting-Host: 143.182.124.1
Mime-Version: 1.0
X-Trace: posting.google.com 1137119148 10035 127.0.0.1 (13 Jan 2006 02:25:48 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Fri, 13 Jan 2006 02:25:48 +0000 (UTC)
User-Agent: G2/0.2
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; .NET CLR 1.1.4322),gzip(gfe),gzip(gfe)
X-HTTP-Via: 1.0 chfwpr01.ch.intel.com:911 (squid/2.5.STABLE7)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: g47g2000cwa.googlegroups.com; posting-host=143.182.124.1;
posting-account=eijfrg0AAADfuuo_d1Q__RQiKo2IJROX
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

I've heard good things about this group from looking on the net at
several install issues I've been having.  This is the first time I have
installed DJGPP.  I would like to compile a simple hello program,
listed below:

#include<iostream>
using namespace std;

int main(void)
{
        cout << "Hello" << endl;
        return 0;
}

According to the FAQ, there is certian information required to engage
the help of the GURUs in the group.  Here is the list of the
information required.  If you have any thoughts or ideas, it would be
greatly appreciated.  Thank you!

gpp -v -o test2.exe test2.cpp 2> output.txt

output:

Using built-in specs.
Target: djgpp
Configured with: /gnu/gcc-4.01/configure djgpp --prefix=/dev/env/DJDIR
--disable-nls --disable-werror --disable-checking
--enable-languages=c,ada,c++,f95,objc
Thread model: single
gcc version 4.0.1
 c:/djgpp/bin/../libexec/gcc/djgpp/4.01/cc1plus.exe -quiet -v -iprefix
c:/djgpp/bin/../lib/gcc/djgpp/4.01/ -remap -imacros
c:/djgpp/bin/djgpp.ver test2.cpp -quiet -dumpbase test2.cpp
-mtune=pentium -auxbase test2 -version -o c:/djgpp/tmp/ccLL39Iw.s
ignoring nonexistent directory
"c:/djgpp/bin/../lib/gcc/djgpp/4.01/include"
ignoring nonexistent directory
"c:/djgpp/bin/../lib/gcc/djgpp/4.01/../../../../djgpp/include"
ignoring nonexistent directory "c:/djgpp/lib/gcc/djgpp/4.01/include/"
ignoring nonexistent directory "c:/djgpp/djgpp/include/"
#include "..." search starts here:
#include <...> search starts here:
 c:/djgpp/bin/../lib/gcc/djgpp/4.01/../../../../include/cxx/4.01
 c:/djgpp/bin/../lib/gcc/djgpp/4.01/../../../../include/cxx/4.01/djgpp

c:/djgpp/bin/../lib/gcc/djgpp/4.01/../../../../include/cxx/4.01/backward
 c:/djgpp/include/cxx/4.01/
 c:/djgpp/include/cxx/4.01/djgpp/
 c:/djgpp/include/cxx/4.01/backward/
 c:/djgpp/include/
End of search list.
GNU C++ version 4.0.1 (djgpp)
	compiled by GNU C version 4.0.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
 c:/djgpp/bin/as.exe -o c:/djgpp/tmp/ccgMt1cl.o c:/djgpp/tmp/ccLL39Iw.s
 c:/djgpp/bin/collect2.exe -o test2.exe c:/djgpp/lib/crt0.o
-Lc:/djgpp/bin/../lib/gcc/djgpp/4.01 -Lc:/djgpp/bin/../lib/gcc
-Lc:/djgpp/lib/gcc/djgpp/4.01 -Lc:/djgpp/bin -Lc:/djgpp/lib
-Lc:/djgpp/bin/../lib/gcc/djgpp/4.01/../../.. -Lc:/djgpp/lib
c:/djgpp/tmp/ccgMt1cl.o -lstdcxx -lm -lgcc -lc -lgcc
c:/djgpp/bin/../lib/gcc/djgpp/4.01/libstdcxx.a(eh_throw.o):: undefined
reference to `__Unwind_Resume_or_Rethrow'
collect2: ld returned 1 exit status

Evironment:

ADP=LDAP://CN=Lane\, BryanX M,OU=Workers,DC=amr,DC=corp,DC=intel,DC=com
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\bmlaneX\Application Data
COMMERCE_SERVER_ROOT=C:\Program Files\Microsoft Commerce Server 2002\
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=BMLANEX-DESK
ComSpec=C:\WINNT\system32\cmd.exe
DJGPP=C:/DJGPP/djgpp.env
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\bmlaneX
INCLUDE=C:\Program Files\Microsoft Visual Studio .NET
2003\SDK\v1.1\include\
LFN=y
LIB=C:\Program Files\Microsoft Visual Studio .NET 2003\SDK\v1.1\Lib\
LOGONSERVER=\\AZSAMR102
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program

Files\Microsoft SQL
Server\80\Tools\BINN;C:\WINNT\System32\wbem\;C:\Program

Files\Microsoft BizTalk Server\;C:\Program Files\Common Files\Microsoft


Shared\Enterprise Servers\Commerce\;C:\Program Files\Microsoft Commerce
Server

2002\;C:\Program Files\Common Files\Microsoft Shared\Enterprise

Servers\Commerce\;C:\Program Files\doxygen\bin;C:\DJGPP\BIN
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 4 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0401
ProgramFiles=C:\Program Files
PROMPT=$P$G
PSTLoc=C:\Documents and Settings\bmlanex\Local Settings\Application

Data\Microsoft\Outlook
SESSIONNAME=Console
SMS_LOCAL_DIR=C:\WINNT
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\DOCUME~1\bmlaneX\LOCALS~1\Temp
TMP=C:\DOCUME~1\bmlaneX\LOCALS~1\Temp
USERDNSDOMAIN=AMR.CORP.INTEL.COM
USERDOMAIN=AMR
USERNAME=bmlaneX
USERPROFILE=C:\Documents and Settings\bmlaneX
VS71COMNTOOLS=C:\Program Files\Microsoft Visual Studio .NET
2003\Common7\Tools\
windir=C:\WINNT


C:\bu\Work\Test\temp>go32-v2
go32/v2 version 2.0 built Dec 24 2001 21:25:02
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2
binaries as
 well as v1 binaries (old makefiles).  Put ahead of the old go32 in
your PATH
 but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=y in the environment to get verbose output.

DPMI memory available: 493831 Kb
DPMI swap space available: 0 Kb

- Raw text -


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