[fpc-devel] Build on Fedora-Extras buildsystem failes for ppc

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Dec 21 13:25:31 CET 2005


On 21 dec 2005, at 13:12, Micha Nelissen wrote:

>> That build log shows that they are creating a smartlinked rtl. In   
>> that case, you get an enormous amount of .o files which have to  
>> be  archived together into one .a file (using the "ar" utility).   
>> Apparently the maximum command line length is too short. I'm not  
>> sure  how to solve that.
>
> You can write a temporary script that adds all files to the  
> archive, and run ar < script, or something similar.

That won't work, and using 'ar `cat list`' probably neither. What is  
possible is to call ar several times for the same archive, every time  
adding only a subset of the object files. But that may need compiler  
support (since it's the compiler that calls ar).


Jonas



More information about the fpc-devel mailing list