This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: libjava "make install" is broken again


On Mar  2, 2002, Bryce McKinlay <bryce@waitaki.otago.ac.nz> wrote:

> This patch caused "make install" of libjava to silently fail

Silently?  I don't recall any silent failures in libjava.

Anyway, are you sure you cleaned <target>/config.cache and
reconfigured libjava after this change went in?  If not, you'd see
install failures because of libtool's not being able to guess the tag
because it was configured with one CXX and a different one was being
used for installation.  Any time such variables get changed you get to
remove the target library config.cache and get it re-configured.  This
is autoconf demand, BTW; it just so happens that you not always
realize there's a problem before libtool, that is a bit more picky,
tells you there is one.

> 2002-02-28  Alexandre Oliva  <aoliva@redhat.com>

>         * configure.in (libstdcxx_flags): Don't add libstdc++-v3 flags for
>         libjava.


> Note that the patch actually does the opposite to what is in the
> ChangeLog

Read it again.  If $$dir is libjava, you don't get any of the
libstdc++-v3 flags such as -L$$r/$(TARGET_SUBDIR)/libstdc++-v3/src.

> I am sure this is unneccessary since we agreed that libjava does not
> depend on libstdc++

Precisely.  That's the point of the patch.  Before it, libjava was
still searching for headers and libraries in the libstdc++-v3 source
and build directories.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]