Discussion:
[GCC-XML] Need Help
Muhammad Shahid
2013-03-06 03:47:28 UTC
Permalink
Good Morning,

I am the first time user of gccxml parser. Hope you will not mind to answer my basic questions.

I have one project developed in C++ which
contains 14 .cpp files and as many header files. I want all
relations/representation of packages, classes and functions of this
project in xml file. The information in that xml file will be converted
to database latter for further use.

I downloaded the gccxml-0.6.0-win32.exe
file from site and installed on my computer. My computer has
windows xp and also microsoft visual c++ 6.0 installed. Recently I
installed Microsoft visual Studio 10 on it.

According to your web site, I tried to run example and it is working.

But
I don't know how to parse my whole project to get desired information.
Some one told me that you will configure gccxml according to your
project and then it will work.

I could not configure it. Please help me from basic. What should i do?

How to install it and configure it properly?

I shell be thankful to you. Please help me.

Regards,
Shahid
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gccxml.org/pipermail/gccxml/attachments/20130306/ee0d3dd5/attachment.htm>
Brad King
2013-03-06 13:06:21 UTC
Permalink
I downloaded the *gccxml-0.6.0-win32.exe* file
That version is from 2004 and is not supported. The download page:

http://www.gccxml.org/HTML/Download.html

refers to the development source repository. You need to build it.
If you have VS 6 that should work. The build process will configure
gccxml for your installed VS automatically.
Recently I installed Microsoft visual Studio 10 on it.
Unfortunately VS >= 10 is not yet supported:

http://www.gccxml.org/Bug/view.php?id=11463


If you're looking for a C++ parser I suggest going to Clang:

http://clang.llvm.org

They provide a SDK you can link into your tool.

-Brad

Loading...