View Single Post

   
  #2 (permalink)  
Old 01-05-2008, 06:44 AM
Laurenz Albe
 
Posts: n/a
Default Re: AIX 4.3: Increasing parameter/environment variable limit for execv?

kiran <kiran.agashe@gmail.com> wrote:
> I am compiling a large project on AIX 4.3 using gcc 2.95.3.
> The link line of the executable contains a lot of object files and I am
> getting following error:
> gmake[1]: execvp: g++: The parameter or environment lists are too long.
> The linking fails with error code of 127.
> I am using native AIX ld.
>
> Is there any way to increase the limit on parameter/environment list
> size in AIX?


You could pack object files into a library and link against that.

Yours,
Laurenz Albe
Reply With Quote