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, Zack Weinberg <zack@codesourcery.com> wrote:

> On Thu, Mar 07, 2002 at 05:02:32PM -0500, Jeff Sturm wrote:
>> On 7 Mar 2002, Alexandre Oliva wrote:
>> > Tested on?
>> 
>> Oops... alphaev56-linux.
>> 
>> > Ok, assuming it was actually tested.  You may want to turn:
>> >         rm -f something
>> > into
>> >         rm -f something || :
>> 
>> That makes sense.  But seeing as how "rm -f" is used all over the Makefile
>> without that guard, I applied my original patch.  (Interesting that we
>> haven't seen build failures of that sort yet... maybe platforms with a
>> broken "rm -f" just aren't important anymore.)

> In a Make rule, it's just as easy, and arguably more comprehensible,
> to write

> 	-rm -f something

> The leading dash tells Make to ignore the exit code.

Right.  But in this case, the rm was deep in the middle of a large
sequence of commands, so the easy way out was not applicable,
unfortunately.

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