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: Joseph E. Sacco, Ph.D.
Subject: Re: [Gcjwebplugin-user] building the CVS code: compilation puzzles
Date: Tue, 01 Mar 2005 17:04:23 -0500

Case IV
-------
export PATH=/usr/local/gcc/3.4.3/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/gcc/3.4.3/lib:
export PKG_CONFIG_PATH=/usr/local/gcc/3.4.3/lib/pkgconfig:/usr/lib/pkgconfig

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

All tests fails.

There is nothing special about libgjc.pc:

        cat /usr/local/gcc/3.4.3/lib/pkgconfig/libgjc.pc

        prefix=/usr/local/gcc/3.4.3
        exec_prefix=${prefix}
        libdir=${exec_prefix}/lib
        includedir=${prefix}/include
                                                                                
                        
        Name: libgcj
        Description: libgcj
        Version: 3.4.3
        Libs: -L${libdir} -lgcj
        Cflags: -I${includedir}


CASE V
--------
Try it with  gcc-4.0.0   
[(GCC) 4.0.0 20050123 (experimental)]


export PATH=/usr/local/gcc/4.0.0/bin:$PATH
export LD_LIBRARY_PATH=/usr/local/gcc/4.0.0/lib:
export PKG_CONFIG_PATH=/usr/local/gcc/4.0.0/lib/pkgconfig:/usr/lib/pkgconfig
export gccpath=/usr/local/gcc/4.0.0

./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

All tests fail.


-Joseph

=============================================================================


On Tue, 2005-03-01 at 13:30, Thomas Fitzsimmons wrote:
> 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
-- 
joseph_sacco[at]comcast[dot]net

Attachment: testsuite.zip
Description: Zip archive


reply via email to

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