ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2008/10/20/14:45:37

X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f
From: Lance <lance DOT delahaye AT gmail DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: ld.exe: cannot find -lstdcxx
Date: Mon, 20 Oct 2008 11:44:15 -0700 (PDT)
Organization: http://groups.google.com
Lines: 59
Message-ID: <93f194e0-7735-426d-be8d-23407e6ff5a5@a29g2000pra.googlegroups.com>
NNTP-Posting-Host: 118.172.36.84
Mime-Version: 1.0
X-Trace: posting.google.com 1224528256 1735 127.0.0.1 (20 Oct 2008 18:44:16 GMT)
X-Complaints-To: groups-abuse AT google DOT com
NNTP-Posting-Date: Mon, 20 Oct 2008 18:44:16 +0000 (UTC)
Complaints-To: groups-abuse AT google DOT com
Injection-Info: a29g2000pra.googlegroups.com; posting-host=118.172.36.84;
posting-account=xbinmQoAAAA_GVkVwT_PdQfYiPAx_C4v
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.3)
Gecko/2008092417 Firefox/3.0.3,gzip(gfe),gzip(gfe)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Yes, that old chestnut.

I initially installed using WinRAR (ignoring readme advice to the
contrary; just being bloody minded) to the recommended c:/djgpp dir.
Since deleted and reinstalled from scratch using the suggested
unzip32.exe, and still seeing this error. The (9.3) file name
definitely exists, and I have tried LFN=y and LFN=n in djgpp.env with
no variation.

I am running XP SP2 on a sony vaio.

Initially I was seeing a lot of this error:
undefined reference to `__gxx_personality_v0'

with c:/djgpp/lib/gcc/djgpp/4.32/libstdcxx.a present; I no this ism
over the 8.3 limit so it seems likely to be a LFN issue, but I cannot
resolve it. That error has long since vanished and it just refuses to
let -lstdcxx work. That's a step backwards I think.

Anything else I can try?

=== make with -v and go32-v2 output ===

Q:\C-BOOT>make
gpp -v -g -o que.exe que.o struc.o interp.o kernel.o pool.o vocab.o
word.o cstack.o types.o perm.o pops.o compile.o cqcalls.o unassmbl.o
Using built-in specs.
Target: djgpp
Configured with: /v203/gcc-4.32/configure msdosdjgpp
Thread model: single
gcc version 4.3.2 (GCC)
COMPILER_PATH=C:/DJGPP/bin/../libexec/gcc/djgpp/4.32/;C:/DJGPP/bin/../
libexec/gcc/;c:/djgpp/bin/
LIBRARY_PATH=C:/DJGPP/bin/../lib/gcc/djgpp/4.32/;C:/DJGPP/bin/../lib/
gcc/;c:/djgpp/lib/;C:/DJGPP/bin/../lib/gcc/djgpp/4.32/../../../
COLLECT_GCC_OPTIONS='-v' '-g' '-o' 'que.exe' '-mtune=pentium'
 C:/DJGPP/bin/../libexec/gcc/djgpp/4.32/collect2.exe -o que.exe c:/
djgpp/lib/crt0.o -LC:/DJGPP/bin/../lib/gcc/djgpp/4.32 -LC:/DJGPP/
bin/../lib/gcc -Lc:/djgpp/lib -LC:/DJGPP/bin/../lib/gcc/djgpp/
4.32/../../.. que.o struc.o interp.o kernel.o pool.o vocab.o word.o
cstack.o types.o perm.o pops.o compile
.o cqcalls.o unassmbl.o -lstdcxx -lm -lgcc -lc -lgcc
c:/djgpp/bin/ld.exe: cannot find -lstdcxx
collect2: ld returned 1 exit status
make.exe: *** [que.exe] Error 1

Q:\C-BOOT>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: 1343351 Kb
DPMI swap space available: 0 Kb

Q:\C-BOOT>

- Raw text -


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