Re: Argument list too long error
Re: Argument list too long error
- Subject: Re: Argument list too long error
- From: Chris Espinosa <email@hidden>
- Date: Tue, 27 Mar 2007 18:05:47 -0700
On Mar 26, 2007, at 10:24 AM, Yevgeniy Goldberg wrote: Just starting out with XCode (about 4 weeks). I'm trying to compile an open source application I've downloaded. From the command line it compiles just fine, but when I try to compile ot within the XCode 2.4 I get the following error:
i686-apple-darwin8-gcc-4.0.1: installation problem, cannot exec '/usr/libexec/gcc/i686-apple-darwin8/4.0.1/cc1obj': Argument list too long
Is there a way to fix it?
The usual cause of this is adding / as a Header Search Path and setting it to be recursive. This causes every single directory on every drive, including mounted file servers, to be passed on the gcc command line as an absolute path. This exceeds certain inherent limits in the Unix kernel.
Inspect your Header Search Paths (and User Header Search Paths, and Framework Search Paths) for the target and make sure you don't have the Recursive box checked next to any dangerously shallow path.
Chris |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden