From owner-freebsd-hackers Sun Jan 5 20:07:07 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA05591 for hackers-outgoing; Sun, 5 Jan 1997 20:07:07 -0800 (PST) Received: from po1.glue.umd.edu (root@po1.glue.umd.edu [129.2.128.44]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id UAA05584 for ; Sun, 5 Jan 1997 20:07:03 -0800 (PST) Received: from ginger.eng.umd.edu (ginger.eng.umd.edu [129.2.103.20]) by po1.glue.umd.edu (8.8.3/8.7.3) with ESMTP id XAA29282; Sun, 5 Jan 1997 23:07:00 -0500 (EST) Received: from localhost (chuckr@localhost) by ginger.eng.umd.edu (8.8.3/8.7.3) with SMTP id XAA09407; Sun, 5 Jan 1997 23:06:59 -0500 (EST) X-Authentication-Warning: ginger.eng.umd.edu: chuckr owned process doing -bs Date: Sun, 5 Jan 1997 23:06:59 -0500 (EST) From: Chuck Robey X-Sender: chuckr@ginger.eng.umd.edu To: "Jordan K. Hubbard" cc: Josh MacDonald , freebsd-hackers@FreeBSD.org Subject: Re: demangling cplusplus names in ld output In-Reply-To: <12364.852523007@time.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk On Sun, 5 Jan 1997, Jordan K. Hubbard wrote: > > Peter Wemm set up c++filt on it's own, it's already part of current. > > I think he knows that, Chuck. :-) > > If you'll just read his message again, you'll see that he lists forking > and piping to c++filt as an option for solving the problem of ld symbol > demangling (which I think you may have missed as the objective here). > In otherwords, instead of this: > > jkh@time-> cc fump.cc -o fump > /var/tmp/cc0123471.o: Undefined symbol `___8iostreami' referenced from text segment > > You'd get this: > > jkh@time-> cc fump.cc -o fump > /var/tmp/cc0123471.o: Undefined symbol `iostream::iostream(int)' referenced from text segment That's what he said. You mean, I guess, having it happen automatically? Having ld invoke c++filt on it's output .... oh, I guess I'm used to piping it, didn't realize he was asking to have it happen automatically. Sorry, misunderstood. ----------------------------+----------------------------------------------- Chuck Robey | Interests include any kind of voice or data chuckr@eng.umd.edu | communications topic, C programming, and Unix. 9120 Edmonston Ct #302 | Greenbelt, MD 20770 | I run Journey2 and picnic, both FreeBSD (301) 220-2114 | version 3.0 current -- and great FUN! ----------------------------+-----------------------------------------------