This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: gcc problems with HP-UX 10.2


"Coutu, Alain Capt (CF) NSSF/SCOA" wrote:
> 
> We redirected the cc command to point to the location of gcc.  This was done
> because of the number of Makefiles used.  It was better to redirect the
> command than to change all the Makefiles.

Ok.  Just checking.

> 
> > > > cc: cannot specify -o with -c or -S and multiple compilations.

At any rate, the error message is pretty explicit.  You can't have a
command line that looks something like this:

gcc -c foo.c bar.c baz.c -o foo.o

-eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]