Patches to make g++/g77 give useful error when no files are given.
authorJim Wilson <wilson@cygnus.com>
Sat, 18 Apr 1998 15:31:36 +0000 (15:31 +0000)
committerJim Wilson <wilson@gcc.gnu.org>
Sat, 18 Apr 1998 15:31:36 +0000 (08:31 -0700)
commita2a05b0a358ce7cbd768224e99ea194a51e39150
tree1e61097096d20ccacf2ba79399545d63303dccee
parentea16ab474b93bcb7fb7cbc58accd8490ee9b3290
Patches to make g++/g77 give useful error when no files are given.

* gcc.c (lang_specific_driver): Add new parm type to prototype.
(added_libraries): New file scope static variable.
(process_command): Initialize added_libraries.  Pass it to
lang_specific_driver.
(main): Use added_libraries in check for no input files.

From-SVN: r19281
gcc/ChangeLog
gcc/gcc.c