libjava.exp (bytecompile_file): Log compile command.

2004-01-09  Andrew Haley  <aph@redhat.com>

	* lib/libjava.exp (bytecompile_file): Log compile command.

From-SVN: r75593
This commit is contained in:
Andrew Haley 2004-01-09 17:27:37 +00:00 committed by Andrew Haley
parent e6f8299852
commit 2fca049fe8
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2004-01-09 Andrew Haley <aph@redhat.com>
* lib/libjava.exp (bytecompile_file): Log compile command.
2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/13011:

View File

@ -109,10 +109,11 @@ proc bytecompile_file { file objdir {classpath {}} } {
}
set here [pwd]
cd $dirname
send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
if {[catch {
set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
} msg]} then {
verbose "couldn't compile $file: $msg"
send_log "couldn't compile $file: $msg\n"
set r 0
} else {
set r 1