This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Problem building 3.3.6 (with 3.4.4): xgcc: cannot specify -o with -c or -S and multiple compilations
- From: Andrew Walrond <andrew at walrond dot org>
- To: gcc at gcc dot gnu dot org
- Date: Sun, 28 Aug 2005 16:56:55 +0000
- Subject: Re: Problem building 3.3.6 (with 3.4.4): xgcc: cannot specify -o with -c or -S and multiple compilations
- References: <200508270836.52217.andrew@walrond.org> <4311E109.50002@sco.com>
On Sunday 28 August 2005 16:06, Kean Johnston wrote:
> Andrew Walrond wrote:
> > Can anybody explain what this error might mean?
> >
> > /tmp/gcc-3-3.heretix/work/gcc/xgcc "" -B/tmp/gcc-3-3.heretix/work/gcc/
>
> ^^^
>
> > -c ../../../../gcc-3.3.6/libstdc++-v3/libsupc++/guard.cc -fPIC -DPIC -o
> > guard.o
>
> ^^
>
> gcc sees those as two input files (two non-option arguments).
> I suspect somewhere along the line you have something like
> CFLAGS='""' by mistake, or somehow the string "" is being
> passed into CFLAGS. Chekc your environment and whatever
> args you gave to `make bootstrap'
Its a lot worse than that :( Libtool is *randomly* replacing parts of the
commandline with "". Something is very fscked up.... :(
Thanks for the reply though,
Andrew