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: Java: install language driver as $(target_alias)-gcj


On Mar  7, 2002, Jeff Sturm <jsturm@one-point.com> wrote:

> Both the c and c++ frontends install a link to
> $(target_alias)-<driver-name> even for native builds.  This patch
> does the same for gcj.

Tested on?

> 2002-02-07  Jeff Sturm  <jsturm@one-point.com>

> 	* java/Make-lang.in (JAVA_TARGET_INSTALL_NAME): Define.
> 	(java.install-common): Link native driver to
> 	JAVA_TARGET_INSTALL_NAME.

Ok, assuming it was actually tested.  You may want to turn:

        rm -f something

into

        rm -f something || :

since `rm' will return a non-zero exit status on some platforms, if
any of the files whose removal was requested does not exist, even if
`-f' is specified.  However, since other constructs lacking `|| :' are
already present sufficiently close, fixing this is not critical.

-- 
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]