From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <98139481321230.tru64-unix-managers.marc@archive.invalid> From: Jim Fitzmaurice Date: Mon, 05 Feb 2001 17:51:26 +0000 To: tru64-unix-managers Subject: SUMMARY: Arg list too long. X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=98139481321230 Hi, We haven't solved the problem yet but are reviewing our options so I thought I'd post a summary and just include the options I've received. That way if anybody else has the problem, they can choose the option that best meet their needs. 1. The xargs command seems to be the most popular recommendation, unfortunately it would involve a major rewrite so we probably wont be able to use this. I got it from: Steve Smith Marty M. Saletta Peter Stern Ian Motimer Chewy (And one other person I accidentally deleted, sorry.) 2. Edit /usr/include/limits.h increase line "#define _POSIX_ARG_MAX 4096" to a higher number and recompile the kernel. (I'm not sure what else this may effect, use at your own risk.) I got this one from: Joerg Bruehe Stu Fuess 3. Modify the kernel variable exec_disable_arg_limit in the 'proc' section of dxkerneltuner (at the end). Set this to 1. Of course I'm currently on a 4.0F machine and this variable doesn't appear until the 5.1 kernel. Since we will be upgrading soon, this may be a viable option for us. I got this one from: Udo Grabowski Stu Fuess 4) Try passing the arguments to the compiler via a file by using a specific tag, or by passing it like ada `cat list_of_files_to_compile`. This one from: Patrick Norris Dr. Blinn explained that the limit is imposed to comply with POSIX standards. Thanks to all who replied. Jim Fitzmaurice jpfitz@fnal.gov UNIX is very user friendly, It's just very particular about who it makes friends with. ----- Original Message ----- From: Jim Fitzmaurice To: tru64 Sent: Friday, February 02, 2001 11:58 AM Subject: Arg list too long. > Just a quick question: > > System AlphaServer 4100 running 4.0F PK4. > > Trying to do a compile a software engineer is getting the error: > > Arg list too long > > coming out of his make command. I believe this can be increased, (I know it > can on other OS's) but I don't know where to look on Tru64. I've been > looking through the System Configuration and Tuning Guide, but it doesn't > appear to be there. Does anybody know? > > Jim Fitzmaurice > jpfitz@fnal.gov > > UNIX is very user friendly, It's just very particular about who it makes > friends with. > > >