From c74c0cff2d8951cc8bcb41be806cd8af45805575 Mon Sep 17 00:00:00 2001 From: Jeffrey A Law Date: Wed, 8 Apr 1998 22:39:36 +0000 Subject: [PATCH] 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 --- gcc/ChangeLog | 3 +++ gcc/gcc.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 323b0c865af3..1017d1864539 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -23,6 +23,9 @@ Fri Apr 3 17:02:13 1998 Alexandre Petit-Bianco 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. diff --git a/gcc/gcc.c b/gcc/gcc.c index ff4cf956b9cc..614553ae0f82 100644 --- a/gcc/gcc.c +++ b/gcc/gcc.c @@ -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. */