ftp.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/04/09/20:02:11

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: "deckerben" <deckerben AT freenet DOT de>
Newsgroups: comp.os.msdos.djgpp
References: <3ca78d87$0$364$9b622d9e AT news DOT freenet DOT de> <a8eoih$m9u$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <3cab2f26$0$152$9b622d9e AT news DOT freenet DOT de> <Pine DOT GSO DOT 4 DOT 44 DOT 0204040850130 DOT 10680-100000 AT mozart DOT orchestra DOT cse DOT unsw DOT EDU DOT AU> <3cace922$0$12701$9b622d9e AT news DOT freenet DOT de> <3CAD6C24 DOT 495D4F57 AT phekda DOT freeserve DOT co DOT uk> <3cb2d8a3$0$28200$9b622d9e AT news DOT freenet DOT de> <a8umnd$ob7$2 AT antares DOT lu DOT erisoft DOT se> <3cb348ac$0$12731$9b622d9e AT news DOT freenet DOT de> <1018390249 DOT 788433 AT queeg DOT ludd DOT luth DOT se>
Subject: Re: making dxe2gen with clio.rice.edu binaries -or- "undefined reference to 'operator'"?
Date: Wed, 10 Apr 2002 02:13:58 +0200
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Lines: 37
Message-ID: <3cb37fd8$0$4034$9b622d9e@news.freenet.de>
NNTP-Posting-Host: 213.6.65.90
X-Trace: 1018396633 news.freenet.de 4034 213.6.65.90
X-Complaints-To: abuse AT freenet DOT de
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Can someone please tell me
> : what left-over files(s) from older versions could possibly interfere
with
> : GCC's C++ file-extension recognition ... ??? I will gladly check it
then.
>
> libstdc*.a and libgcc.a, I think. You should have one of each. Plus
> not both libstdcxx.a and libstdcx.a


Yup. I only have libstdcxx.a and one copy of it and libgcc.a (in
%djgpp%\..\lib\gcc-lib\djgpp\3.04). MartinS, I really don't think that I
have anything seriously wrong with my compiler. I was able to do GCC 3.04
myself (outside of a couple of windows-2000 related issues) and a boat-load
of other stuff (but the potential is, of course, always there that something
IS wrong :-(

I am curious: can somebody else please unpack the source for dxe2gen version
0.1.2 and try to compile it manually as follows, not cross-compiling from
Linux:

D:\Project\dxe2\src>gcc -O2 -c -g -Wall *.c -I../include
D:\Project\dxe2\src>gcc -O2 -g -Wall dxe2api.o dxe2stat.o -I../include
dxe2gen.cpp -o dxe2gen.exe

Can you do it without having to manually include '-lstdcxxx'?? If not, then
what is meant by:
"gcc knows it should link in the standard C++ library, because it knows its
C++ from the file extension"

Still wondering :-)
Ben





- Raw text -


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