Command line too long?

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?
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

either use xargs, or change the kernel settings (AFAIK this can be done without reboot)
stam061398Author Commented:
But, is it reasonable that when my environment is "clear" - it works fine, but when it is loaded - it doesn`t wok?
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.

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
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.

would be interested in the parameter's name
if you remeber, anyhow .. ;-)
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Unix OS

From novice to tech pro — start learning today.