egcs/gcc/java ChangeLog jcf-write.c jcf.h jvsp ...

tromey@cygnus.com tromey@cygnus.com
Fri Nov 13 14:09:00 GMT 1998


CVSROOT:	/cvs/egcs
Module name:	egcs
Changes by:	tromey@egcs.cygnus.com	98/11/13 14:09:54

Modified files:
	gcc/java       : ChangeLog jcf-write.c jcf.h jvspec.c 
	                 lang-options.h lang.c 

Log message:
	* gjavah.c (main): Handle --output-class-directory argument.
	* jvspec.c (lang_specific_driver): Translate `-d' into
	-foutput-class-dir.
	* jcf.h (jcf_write_base_directory): Declare.
	* lang.c (lang_decode_option): Recognize -foutput-class-dir.
	* lang-options.h: Mention -foutput-class-dir.
	* jcf-write.c (jcf_write_base_directory): New global.
	(make_class_file_name): Put generated .class file into `-d'
	directory, or into source directory if -d not given.  Function now
	static.
	(write_classfile): Free class file name.  Handle case where class
	file name is NULL.
	(DIR_SEPARATOR): New macro.
	Include <sys/stat.h>




More information about the Gcc-cvs mailing list