Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Jan 1997 23:06:59 -0500 (EST)
From:      Chuck Robey <chuckr@glue.umd.edu>
To:        "Jordan K. Hubbard" <jkh@time.cdrom.com>
Cc:        Josh MacDonald <jmacd@CS.Berkeley.EDU>, freebsd-hackers@FreeBSD.org
Subject:   Re: demangling cplusplus names in ld output 
Message-ID:  <Pine.OSF.3.95.970105230143.9375F-100000@ginger.eng.umd.edu>
In-Reply-To: <12364.852523007@time.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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!
----------------------------+-----------------------------------------------




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.OSF.3.95.970105230143.9375F-100000>