On 07/16/2014 10:26 AM, Sylvain Joyeux wrote: > One good news: it appears that we *can* buil the tool out-of-tree ... > Having to get llvm / clang each time is really not a good way forward. > I am fighting against the "right" list of libraries that are needed to > get it right ... well building inside the clang source tree is the easiest way, while in the proof-of-concept phase.
ubuntu 12.04 comes with libclang-3.0 (hmm...) ubuntu 14.04 comes with libclang-3.4 debian comes with 3.4 and 3.3... so as long as we only link and don't patch i don't see a reason to compile libclang at all? maybe 3.0 is a bit too old, but i can't see in that direction yet. even than, tools like "YouCompleteMe" (syntax completion engine for vim) downloads a libclang-3.4 tar.gz from their servers and links to it. no compilation. and getting the right set of libs after the proof-of-concept phase could be hardcoded in the typelib-cmakelists? > > On Wed, Jul 16, 2014 at 9:34 AM, Sylvain Joyeux <[email protected]> wrote: >> One question: why do you have to provide the 'build' directory to the tool ? >> >> On Wed, Jul 16, 2014 at 9:33 AM, Sylvain Joyeux <[email protected]> >> wrote: >>>> what i meant: get a list of all types defined in a a given header file-- >>>> so that only the types defined in a certain set of headers are seen by >>>> typelib at all. prior to obtaining the actual memory-layout. this would >>>> save us a lot of processing, and keep the tlb-files smaller >>> That's exactly what we need. Typelib currently has to filter it out of >>> the gccxml output (which makes the gccxml output horribly big). >>> >>> Thanks for getting into it, we all agree that getting rid of gccxml is >>> a very very nice to have ... >>> >>> Sylvain -- M.Sc. Martin Zenzes Space Robotics Hauptgeschäftsstelle Standort Bremen: DFKI GmbH Robotics Innovation Center Robert-Hooke-Straße 5 28359 Bremen, Germany Phone: +49 (0) 421 178 45 - 6658 Fax: +49 (0) 421 178 45 - 4150 E-Mail: [email protected] Weitere Informationen: http://www.dfki.de/robotik ----------------------------------------------------------------------- Deutsches Forschungszentrum fuer Kuenstliche Intelligenz GmbH Firmensitz: Trippstadter Straße 122, D-67663 Kaiserslautern Geschaeftsfuehrung: Prof. Dr. Dr. h.c. mult. Wolfgang Wahlster (Vorsitzender) Dr. Walter Olthoff Vorsitzender des Aufsichtsrats: Prof. Dr. h.c. Hans A. Aukes Amtsgericht Kaiserslautern, HRB 2313 Sitz der Gesellschaft: Kaiserslautern (HRB 2313) USt-Id.Nr.: DE 148646973 Steuernummer: 19/673/0060/3 ----------------------------------------------------------------------- _______________________________________________ Rock-dev mailing list [email protected] http://www.dfki.de/mailman/cgi-bin/listinfo/rock-dev
