gcc.c (proces_command): Improve error message for -o with either -c or -S.

* gcc.c (proces_command): Improve error message for -o with
        either -c or -S.

From-SVN: r19058
This commit is contained in:
Jeffrey A Law 1998-04-08 22:39:36 +00:00 committed by Jeff Law
parent 85d7aed950
commit c74c0cff2d
2 changed files with 4 additions and 1 deletions

View File

@ -23,6 +23,9 @@ Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
Wed Apr 8 12:51:19 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c (proces_command): Improve error message for -o with
either -c or -S.
* i386/x-cygwin32 (CLIB): Link in advapi32.
* alpha.h (ASM_IDENTIFY_GCC): Define to nothing.

View File

@ -2821,7 +2821,7 @@ process_command (argc, argv)
}
if (have_c && have_o && lang_n_infiles > 1)
fatal ("cannot specify -o with -c and multiple compilations");
fatal ("cannot specify -o with -c or -S and multiple compilations");
/* Set up the search paths before we go looking for config files. */