This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: cc1: error: unrecognized command line option "-Wno-overlength-strings"
- From: john blair <mailtome200420032002 at yahoo dot com>
- To: Ian Lance Taylor <iant at google dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 20 Mar 2009 10:36:05 -0700 (PDT)
- Subject: Re: cc1: error: unrecognized command line option "-Wno-overlength-strings"
- Reply-to: mailtome200420032002 at yahoo dot com
Surprisingly the gcc/Makefile is newer then all the gcc/*.o files and so it is rebuilding them during make install.
--- On Fri, 3/20/09, Ian Lance Taylor <iant@google.com> wrote:
> From: Ian Lance Taylor <iant@google.com>
> Subject: Re: cc1: error: unrecognized command line option "-Wno-overlength-strings"
> To: mailtome200420032002@yahoo.com
> Cc: gcc-help@gcc.gnu.org
> Date: Friday, March 20, 2009, 8:11 PM
> john blair <mailtome200420032002@yahoo.com> writes:
>
> > I am trying to build gcc-4.2.4, and gcc-4.3.2 on 64
> bit machine with gcc-4.1.2 to build them. For both of them
> make succeeds but while doing make install I get
> >
> > cc1: error: unrecognized command line option
> "-Wno-overlength-strings"
> >
> > Any suggestions?
>
> (We may have discussed this on IRC).
>
> If running "make" at top level does not cause any
> recompilation, but
> running "make install" at top level does, then
> something is wrong
> somewhere. Unfortunately I have no idea what it could be.
> It implies
> that some dependency expressed in the Makefile changes when
> you run
> "make install". I don't know how that could
> happen.
>
> If I had a repeatable test case for this, I would start by
> running "make
> -d install". That will generate huge amounts of
> output, but buried in
> there somewhere will be the reason that make considers the
> target to be
> out of date.
>
> Ian