View Single Post

   
  #7 (permalink)  
Old 01-04-2008, 08:48 PM
Dale Talcott
 
Posts: n/a
Default Re: /usr/vacpp/bin/xlC: Arg list too long

"yim" <yim@free.fr> writes:

>- I tried the first solution but I run into another problem : cyclic
>dependencies. Seem to be hard to
>resolve this one.


>- The solution seems to fit me. Unfortunately, I used AIX 4. 3 and there is
>no command chgsys on it.


>> >>I got the error message "Arg list too long" when linking a very long

>object
>> >>files.
>> >>Does anyone know how to resolve this problem ?


Look at the -f option to ld. It lets you create a file of file names
to be processed by ld as if they were on the command line. Presumably,
this file is not limited to 24k bytes.

(xlC appears to understand -f and pass it on to ld.)

--
Dale Talcott, IT Research Computing Services, Purdue University
aeh@quest.cc.purdue.edu http://quest.cc.purdue.edu/~aeh/
Reply With Quote