This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: First issue with integration of llvm with gcjx
- From: Ranjit Mathew <rmathew at gmail dot com>
- To: Mike Emmel <mike dot emmel at gmail dot com>
- Cc: java at gcc dot gnu dot org
- Date: Mon, 28 Nov 2005 12:19:09 +0530
- Subject: Re: First issue with integration of llvm with gcjx
- Openpgp: url=http://ranjitmathew.hostingzero.com/aa_6C114B8F.txt
- References: <3e9035250511272125w62498766g5de0cd225388aa1b@mail.gmail.com>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Mike Emmel wrote:
> 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&)'
This is explicitly instantiated by "model/invoke.cc". Are
you not including the object file for this in your
linking line for some reason?
HTH,
Ranjit.
> 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
>
- --
Ranjit Mathew Email: rmathew AT gmail DOT com
Bangalore, INDIA. Web: http://ranjitmathew.hostingzero.com/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFDiqhlYb1hx2wRS48RAlsMAJ9WMZhtpQ84mfmcrRpYCIqtcfUKlgCff5Kx
tfB30pujbjLj7wdcZBBR5Xk=
=w81F
-----END PGP SIGNATURE-----