ARG_MAX in /usr/include/linux/limits.h
Bowers Martin-r1aajq <Martin.Bowers-3WKxDLwmzFNWk0Htik3J/[email protected]> Tue, 27 Jan 2004 09:41:17 -0700
| Newsgroups | gmane.linux.admin.managers |
|---|---|
| Message-ID | <[email protected]> |
Hello everyone, I have several users that use a particular tool in both Solaris and Linux. This tool has a finite flow associated with it, and this flow creates a Makefile (among other things). Within this Makefile is a single gcc command that exceeds the default limit for a single command with arguments (128K) by about 4K. The place this is set is in /usr/include/linux/limits.h with a value call ARG_MAX. FYI, Solaris has a limit of 1M on 32 bit systems, 2M on 64 bit systems. Is this value something many of you have had to alter? Do you see any possible issues in rebuilding the kernel using this value? I am running 2.4.18-27.7.x, is this something that has been changed by default in later kernels? All you have to do is "grep ARG_MAX /usr/include/linux/limits.h" to check -- mine yields 131072 bytes. Thanks! -Marty _______________________________________________ LinuxManagers mailing list - http://www.linuxmanagers.org submissions: LinuxManagers-35TzE1X9F6582KRnZfj+bdi2O/[email protected] subscribe/unsubscribe: http://www.linuxmanagers.org/mailman/listinfo/linuxmanagers