This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
RE: gcc problems with HP-UX 10.2
- To: "'Eric Christopher'" <echristo at redhat dot com>
- Subject: RE: gcc problems with HP-UX 10.2
- From: "Coutu, Alain Capt (CF) NSSF/SCOA" <Alain dot Coutu at 1staf dot tyndall dot af dot mil>
- Date: Thu, 15 Feb 2001 11:14:48 -0600
- Cc: "'gcc at gcc dot gnu dot org'" <gcc at gcc dot gnu dot org>
I understand your point but all looking at the command line, cc $(CFLAGS) -c
$*.c -o $*.o, it compiles each of the c file individually or suppose to be.
Alain Coutu
> -----Original Message-----
> From: Eric Christopher [SMTP:echristo@redhat.com]
> Sent: Thursday, February 15, 2001 11:17 AM
> To: Coutu, Alain Capt (CF) NSSF/SCOA
> Cc: 'gcc@gcc.gnu.org'
> Subject: 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