Re: make bug? (dependency names with '$')

2001-02-22 Thread Jason Brazile
Warner Losh wrote: This does sound like a bug in our make :-(. A quick update: This bug does not occur with NetBSD make. I spent a couple of hours diffing the sources (there are a lot more differences than I expected) to see if there was any one small patch that would make things work for

RE: make bug? (dependency names with '$')

2001-02-22 Thread Jason Brazile
Kees Jan wrote: Jason Brazile wrote: This bug does not occur with NetBSD make. I spent a couple of hours diffing the sources (there are a lot more differences than I expected) There was some talk on the OpenPackages list about differences in the makes of the three BSD's. I've only

RE: make bug? (dependency names with '$')

2001-02-22 Thread Koster, K.J.
Dear All, This bug does not occur with NetBSD make. I spent a couple of hours diffing the sources (there are a lot more differences than I expected) There was some talk on the OpenPackages list about differences in the makes of the three BSD's. I've only followed the discussion with half an

make bug? (dependency names with '$')

2001-02-20 Thread Jason Brazile
Background: I want to construct a portable Makefile to build a java application. When a java source file contains an inner class, it creates class file names with an embedded '$'. $ cat foo.java public class foo { private class bar { }

Re: make bug? (dependency names with '$')

2001-02-20 Thread Warner Losh
In message [EMAIL PROTECTED] Jason Brazile writes: : I want to construct a portable Makefile to build a java application. That's not possible. Java specifies a half assed make system as part of the language, so it is nearly impossible to use another make system on top of it unless you are

Re: make bug? (dependency names with '$')

2001-02-20 Thread Warner Losh
In message [EMAIL PROTECTED] Warner Losh writes: : This seems like a bug in make(1). Although I think you might want to : investigate: : : d=$$ : X=foo\$dbar.class : : x: : echo $(X) d=$$ X=foo$dbar.class x: $(X) echo "$(X)" Warner To Unsubscribe: send mail to [EMAIL

RE: make bug? (dependency names with '$')

2001-02-20 Thread Koster, K.J.
Dear Jason, I want to construct a portable Makefile to build a java application. I've played with Java and Make in the past, but I found that spawning a new instance of the Java compiler is more expensive than compiling a pretty big bunch of files. gcc starts up a lot quicker than a JVM.

Re: make bug? (dependency names with '$')

2001-02-20 Thread Jason Brazile
Warner wrote: In message [EMAIL PROTECTED] Jason Brazile writes: : I want to construct a portable Makefile to build a java application. That's not possible. Java specifies a half assed make system as part of the language, so it is nearly impossible to use another make system on top of

Re: make bug? (dependency names with '$')

2001-02-20 Thread Warner Losh
In message [EMAIL PROTECTED] Jason Brazile writes: : Warner wrote: : In message [EMAIL PROTECTED] Jason Brazile writes: : : I want to construct a portable Makefile to build a java application. : : That's not possible. Java specifies a half assed make system as part : of the language, so

Re: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
Jason Brazile writes: : I want to construct a portable Makefile to build a java application. That's not possible. Java specifies a half assed make system as part of the language, so it is nearly impossible to use another make system on top of it unless you are willing to live with a

RE: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
I want to construct a portable Makefile to build a java application. I've played with Java and Make in the past, but I found that spawning a new instance of the Java compiler is more expensive than compiling a pretty big bunch of files. gcc starts up a lot quicker than a JVM. Jikes

Re: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
Jason Brazile [EMAIL PROTECTED] writes: I want to construct a portable Makefile to build a java application. Don't bother. a) use jikes instead of javac, it's much faster and gives better diagnostics. Agreed. b) to rebuild, just list all the source (.java) files on the jikes

Re: make bug? (dependency names with '$')

2001-02-20 Thread Dag-Erling Smorgrav
Nate Williams [EMAIL PROTECTED] writes: Disagree. If you want it to be portable, don't use a non-standard extension to a tool, such as jikes dependency features. We used jikes for our day-day development, but move back to using 'javac' for our Q/A and final builds. That way we can

Re: make bug? (dependency names with '$')

2001-02-20 Thread Nate Williams
Disagree. If you want it to be portable, don't use a non-standard extension to a tool, such as jikes dependency features. We used jikes for our day-day development, but move back to using 'javac' for our Q/A and final builds. That way we can complain to Sun when things don't work.

Re: make bug? (dependency names with '$')

2001-02-20 Thread Dag-Erling Smorgrav
Jason Brazile [EMAIL PROTECTED] writes: I want to construct a portable Makefile to build a java application. Don't bother. a) use jikes instead of javac, it's much faster and gives better diagnostics. b) to rebuild, just list all the source (.java) files on the jikes command line.