This is the mail archive of the gcc-bugs@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: cpp error using g++ and make


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


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