c++filt is broken

Bruce M Simpson bms at spc.org
Fri Nov 5 23:00:41 PST 2004


c++filt is broken, at least on 5.3 and -CURRENT. It no longer builds
during a buildworld. This is really annoying for those of using the
base system compiler to build large C++ projects.

I've attached a Makefile which works for me; I haven't integrated it
into my local buildworld, though.

BMS
-------------- next part --------------
#	$XORP$

S=	/usr/src
.PATH:	$S/contrib/gcc

PROG=	c++filt
SRCS=	cp-demangle.c dyn-string.c
CFLAGS+= -DSTANDALONE_DEMANGLER
CFLAGS+= -Dxmalloc=malloc -Dxrealloc=realloc
LDADD+=	-lgcc
NOMAN=	defined

test:	${PROG}
	${.OBJDIR}/${PROG} < ${.CURDIR}/sample

.include <bsd.prog.mk>
-------------- next part --------------
N11__gnu_debug14_Safe_iteratorIN10__gnu_norm14_List_iteratorIP7BGPPeerEEN15__gnu_debug_def4listIS4_SaIS4_EEEEE
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 167 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20041105/5dc6f89b/attachment.bin


More information about the freebsd-hackers mailing list