Bug 54555 - [new port] devel/gccxml: An XML output extension to GCC
Summary: [new port] devel/gccxml: An XML output extension to GCC
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Oliver Lehmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-16 22:20 UTC by stolz
Modified: 2003-08-01 20:40 UTC (History)
0 users

See Also:


Attachments
gccxml (4.02 KB, text/plain)
2003-07-16 22:20 UTC, stolz
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description stolz 2003-07-16 22:20:06 UTC
The purpose of the GCC-XML extension is to generate an XML description
of a C++ program from GCC's internal representation. Since XML is easy
to parse, other development tools will be able to work with C++ programs
without the burden of a complicated C++ parser.

GCC-XML was developed by Brad King at Kitware to be used by CABLE, which
was developed as part of the NLM Insight Segmentation and Registration
Toolkit project.

WWW: http://www.gccxml.org/
Comment 1 Oliver Lehmann freebsd_committer freebsd_triage 2003-07-22 10:38:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->oliver

I'll handle that
Comment 2 Oliver Lehmann freebsd_committer freebsd_triage 2003-07-23 09:47:59 UTC
State Changed
From-To: open->feedback

Doesn't compile under CURRENT. Please recheck.
Comment 3 stolz 2003-07-29 15:52:24 UTC
> >Category:       ports
> >Responsible:    freebsd-ports-bugs
> >Synopsis:       [new port] devel/gccxml: An XML output extension to GCC
> >Arrival-Date:   Wed Jul 16 14:20:06 PDT 2003

Please apply the following patch to the initial submission. This will
only build the relevant part, even on -CURRENT. (And fix a speling error).

--- Makefile.orig	Tue Jul 29 16:48:08 2003
+++ Makefile	Tue Jul 29 16:48:27 2003
@@ -14,7 +14,7 @@
 MAINTAINER=	stolz@i2.informatik.rwth-aachen.de
 COMMENT=	XML output extension to GCC
 
-BUILD_DEPEND=	cmake:${PORTSDIR}/devel/cmake
+BUILD_DEPENDS=	cmake:${PORTSDIR}/devel/cmake
 
 # This one's neat: We have to build things in two subdirectories,
 #   but only need to invoke configure in one of them. This means we
@@ -26,7 +26,7 @@
 INSTALL_WRKSRC=		${WRKDIR}/${DISTNAME}-build
 
 GNU_CONFIGURE=	YES
-CONFIGURE_ARGS=	--enable-languages=c++ --without-libstdcxx
+CONFIGURE_ARGS=	--enable-languages=c++ --without-libstdcxx --disable-nls --without-libstdc
 
 MAN1=	gccxml.1
 
@@ -39,7 +39,8 @@
 	${LOCALBASE}/bin/cmake ../${DISTNAME} -DCMAKE_INSTALL_PREFIX:PATH=${PREFIX}
 
 do-build:
-	cd ${CONFIGURE_WRKSRC} && ${MAKE}
+	cd ${CONFIGURE_WRKSRC}/libiberty && ${MAKE} libiberty.a
+	cd ${CONFIGURE_WRKSRC}/gcc && ${MAKE} tm.h tm_p.h cc1plus
 	cd ${WRKDIR}/${DISTNAME}-build && ${MAKE}
 
 post-install:
-- 
http://www-i2.informatik.rwth-aachen.de/stolz/ *** PGP *** S/MIME
rage against the finite state machine
Comment 4 Oliver Lehmann freebsd_committer freebsd_triage 2003-07-29 17:23:11 UTC
State Changed
From-To: feedback->open

feddback received
Comment 5 Oliver Lehmann freebsd_committer freebsd_triage 2003-08-01 20:40:17 UTC
State Changed
From-To: open->closed

Committed, Thanks!