gcjwebplugin-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gcjwebplugin-user] building the CVS code: compilation puzzles


From: Thomas Fitzsimmons
Subject: Re: [Gcjwebplugin-user] building the CVS code: compilation puzzles
Date: Tue, 01 Mar 2005 13:30:46 -0500

On Fri, 2005-02-25 at 20:35 -0500, Joseph E. Sacco, Ph.D. wrote:
>I have two versions of gcc on my system:
>* gcc-3.3.3 [installed under /usr]
>* gcc-3.4.3 [installed under /usr/local/gcc/3.4.3]
>
>This is always a dangerous situation because you can get easily get into
>mischief.
>
>
>case I:
>--------
>export gccpath=/usr/local/gcc/3.4.3
>                                                                             
> ./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc \
>--with-java=$gccpath/bin/gij \
>--with-javac="$gccpath/bin/gcj -C" \
>--with-javah=$gccpath/bin/gcjh \
>--with-jar=$gccpath/bin/jar
>
>configure complains that it cannot find libgcj.pc, but that does not
>appear to be a problem:
>- The  C++ code compiles using the gcc-3.3.3 compiler. 
>- The java code compiles using the gcc-3.4.3 compiler.
>- all tests pass.
>
>case II:
>--------
>export PATH=/usr/local/gcc-3.4.3/bin:$PATH
>export LD_LIBRARY_PATH=/usr/local/gcc-3.4.3/lib
>
>./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc
>
>configure again complains that it cannot find libgcj.pc, but that does
>not appear to be a problem:
>- Everything now compiles using the gcc-3.4.3 compilers.
>- All tests pass.
>
>case III:
>---------
>Starting with either case I or case II, specify the package config path:
>
>export PKG_CONFIG_PATH=/usr/local/gcc-3.4.3/lib/pkgconf:/usr/lib/pkgconfig
>
>- configure no longer complains about not being able to find libgcj.pc
>- Everything builds
>- All tests fail.
>
>
>Thoughts???
>

Can you post testsuite.log?  Also, the test suite was broken for a long
time because libgcj's invocation API was broken.  I recently fixed this
in GCC HEAD.  So I think you'll have much better luck getting the test
suite running using GCC HEAD and gcjwebplugin HEAD.

Tom






reply via email to

[Prev in Thread] Current Thread [Next in Thread]