View Single Post

   
  #3 (permalink)  
Old 01-04-2008, 08:47 PM
Gary R. Hook
 
Posts: n/a
Default Re: /usr/vacpp/bin/xlC: Arg list too long

Mike wrote:

> In article <3fabd096$0$13292$626a54ce@news.free.fr>, yim wrote:
>
>>I got the error message "Arg list too long" when linking a very long object
>>files.
>>Does anyone know how to resolve this problem ?

>
> Create a library of your various *.o files and link to the library?


Or perhaps pre-link sets of the object files using ld -r.

Or, on AIX 5, change the size of your command line buffer:
smitty chgsys
and look at the end of the list for "ARG/ENV list size".
Default used to be 24K characters, and can now go up to
1/2 MB. It's a system-wide change and affects the footprint
of every process, BTW.

--
Gary R. Hook / AIX PartnerWorld for Developers / These opinions are MINE
__________________________________________________ ______________________

Reply With Quote