On Wed, May 14, 2008 at 09:51:58AM +0200, Christian Thalinger wrote: > On Wed, 2008-05-14 at 01:19 +0200, Robert Schuster wrote: > > I would like to suggest the following way to fix this issue: The build > > system should allow using the just built javah application being run > > with a provided java executable. This would be less pain for me and > > would probably also benefit other cross compilation efforts. > > > > E.g. --enable-builtin-javah should set the javah executable to some > > script which is generated (perhaps from the real gjavah) which is run > > with the java vm specified by --with-java. > > That sounds like a good idea. It won't help in any situation but maybe > in some.d I would prefer if *releases* would contain generated header files. This would make building on a new arch a lot easier. Also would this remove the need to build the java parts on a new arch where there is probably no javac yet. Cheers, Michael