This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: cpp error using g++ and make
- To: Mike Stump <mrs at windriver dot com>
- Subject: Re: cpp error using g++ and make
- From: Zack Weinberg <zack at wolery dot cumb dot org>
- Date: Tue, 25 Jul 2000 17:08:41 -0700
- Cc: Michael dot Fortenberry at Dialogic dot com, gcc-bugs at gcc dot gnu dot org
- References: <200007252350.QAA10794@kankakee.wrs.com>
On Tue, Jul 25, 2000 at 04:50:32PM -0700, Mike Stump wrote:
> > From: "Fortenberry, Michael" <Michael.Fortenberry@Dialogic.com>
> > To: "'gcc-bugs@gcc.gnu.org'" <gcc-bugs@gcc.gnu.org>
> > Date: Tue, 25 Jul 2000 14:46:12 -0400
>
> > cpp: installation problem, cannot exec `cpp': Arg list too long
>
> Probably not a bug in the compiler, but rather a limitation from the
> early 1980s from the OS you are using. Please install linux and you
> will notice this bug goes away.
You're usually right about this sort of thing, but notice that "cpp"
is claiming it can't exec "cpp". That means the internal preprocessor
isn't in its proper location, so the external preprocessor is
re-executing itself over and over with a longer command line each
time. It will overflow any command line buffer you care to supply,
unless you run out of process slots first.
See the patch I sent to gcc-patches earlier today.
zw