This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: gcjx llvm backend
On 11/28/05, Ranjit Mathew <rmathew@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Mike Emmel wrote:
> > Okay I went back to the gcc build system and this is what I get for
> > building from cvs the same error message.
> >
> > make all-am
> > make[1]: Entering directory
> > `/media/WDC_Combo/[..]/Source/gcjx/gcjx'
>
> Are you building within the source folder itself?
> I'm not sure if this is supported or not.
>
> I always create a completely separate build
> folder, run "/path/to/gcjx/configure --disable-static"
> within this folder and then "make".
>
> That works like a charm for me.
>
> HTH,
> Ranjit.
>
Right yes I've had that problem before but I moved over to a new build
directory no luck same bug.
Mike
>
> > /bin/sh ./libtool --mode=link g++ -Wall -Winvalid-pch -Wreturn-type -g
> > -O2 -o gcjx main.o libgcjx.la -lpthread -lz -lm
> > g++ -Wall -Winvalid-pch -Wreturn-type -g -O2 -o .libs/gcjx main.o
> > ./.libs/libgcjx.so -lm -L/usr/lib/gcc/i386-redhat-linux/4.0.0
> > -L/usr/lib/gcc/i386-redhat-linux/4.0.0/../../.. -lstdc++ -lm -lgcc_s
> > -lc -lgcc_s -lpthread -lz -lm -Wl,--rpath
> > -Wl,/home/memmel/GTK2.7/BUILD/lib
> > ./.libs/libgcjx.so: undefined reference to
> > `model_generic_invocation<model_this_invocation>::visit(visitor*)'
> > ./.libs/libgcjx.so: undefined reference to
> > `model_generic_invocation<model_super_invocation>::visit(visitor*)'
> > ./.libs/libgcjx.so: undefined reference to
> > `model_generic_invocation<model_method_invocation>::visit(visitor*)'
> > ./.libs/libgcjx.so: undefined reference to
> > `model_generic_invocation<model_new>::visit(visitor*)'
> > ./.libs/libgcjx.so: undefined reference to
> > `model_generic_invocation<model_type_qualified_invocation>::visit(visitor*)'
> > ./.libs/libgcjx.so: undefined reference to
> > `model_generic_invocation<model_new_primary>::visit(visitor*)'collect2:
> > ld returned 1 exit status
> >
> > g++ --version
> > g++ (GCC) 4.0.0 20050519 (Red Hat 4.0.0-8)
> > Copyright (C) 2005 Free Software Foundation, Inc.
> > This is free software; see the source for copying conditions. There is NO
> > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> >
> >
> >
> > Mike
> >
> >
> > On 11/27/05, Mike Emmel <mike.emmel@gmail.com> wrote:
> >
> >>Hi all I've started work on a llvm backend for gcjx. I just started
> >>two days ago but I've gotten the gcjx library to compile as and
> >>external project for llvm and and writing a simple driver right now.
> >>
> >>I asked Tom Tromey about this and no one has tried it yet. Anyway I'd
> >>be happy to send my work to date to any cvs repository llvm or gcc or
> >>other if others are intrested. I've not contacted any llvm folks about
> >>this project yet.
> >>
> >>Michael Emmel
> >>
> >
> >
>
>
> - --
> 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
>
> iD8DBQFDiwiVYb1hx2wRS48RAvTlAKCXxMTERsaPsILmy2J84dFjRAfFYACgnI2s
> avgRzdUXFlhWtOkbIoPjr1A=
> =AIyo
> -----END PGP SIGNATURE-----
>