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
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to