Commit 2fca049f by Andrew Haley Committed by Andrew Haley

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
parent e6f82998
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> 2004-01-07 Andreas Tobler <a.tobler@schweiz.ch>
PR libgcj/13011: PR libgcj/13011:
......
...@@ -109,10 +109,11 @@ proc bytecompile_file { file objdir {classpath {}} } { ...@@ -109,10 +109,11 @@ proc bytecompile_file { file objdir {classpath {}} } {
} }
set here [pwd] set here [pwd]
cd $dirname cd $dirname
send_log "byte compile: $javac [list $file] -d $objdir 2>@ stdout\n"
if {[catch { if {[catch {
set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"] set q [eval exec "$javac [list $file] -d $objdir 2>@ stdout"]
} msg]} then { } msg]} then {
verbose "couldn't compile $file: $msg" send_log "couldn't compile $file: $msg\n"
set r 0 set r 0
} else { } else {
set r 1 set r 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment