[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 343
  • Last Modified:

Command line too long?

Hi.
Running IRIX 6.5.5.
I have a makefile, which does compilation using CC.
One of the CC invokations includes using lots of arguments.
When running normally, it succeedes.
But, After I load lot of environment variables, I get an error that the the argument line is too long.
Is there anything I can do in order to make it work?
0
stam061398
Asked:
stam061398
  • 3
  • 2
1 Solution
 
ahoffmannCommented:
either use xargs, or change the kernel settings (AFAIK this can be done without reboot)
0
 
stam061398Author Commented:
But, is it reasonable that when my environment is "clear" - it works fine, but when it is loaded - it doesn`t wok?
0
 
ahoffmannCommented:
keep in mind that make itself pushes a lot of variables on the environment.
I'm not shure if IRIX has a kernel parameter for the shell's environment size.
0
 
stam061398Author Commented:
Well, I really found one parameter in the kernel.
I can`t remember it`s name right now.

You helped me a lot.

Thanks,
Stam.
0
 
ahoffmannCommented:
would be interested in the parameter's name
if you remeber, anyhow .. ;-)
0

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now