First issue with integration of llvm with gcjx

Mike Emmel mike.emmel@gmail.com
Mon Nov 28 05:25:00 GMT 2005


Well I've run into my first issue with integration of llvm and gcjx.

I'm trying to use the llvm build system instead of gcc  for the gcjx library.

They way it is built now is each directory of gcjx is built as a
collected .o file and these are linked with the main driver to form
the executable. I can give a lot more detail if needed but my basic
problem is the templates defined in typedefs.hh are not being picked
up I get errors like the following.

/media/WDC_Combo/home/memmel/GTK2.7/Qspin/Developer/Source/Languages/Core/Source/core/Debug/lib/source.o(.text+0x11787):/media/WDC_Combo/home/memmel/GTK2.7/Qspin/Developer/Source/Languages/Core/Source/core/lib/compiler/gcjx/source/parse.cc:2257:
undefined reference to
`model_generic_invocation<model_super_invocation>::model_generic_invocation(location
const&, std::list<owner<model_forwarding_type>,
std::allocator<owner<model_forwarding_type> > > const&)'

I noted that the gcc build had  typedefs.hh as a precompiled header
typedefs.hh.gch plus some notes about OSX is there something special I
should know do about this header.

I'm trying to compile the main.cc sample given in the gcjx library

Mike



More information about the Java mailing list