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

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.

Why not ? The long list of files would be in the script file. The file 'script' is not meant to be executable, it is an "ar script".

Seems like GNU ar is different from other ar's in that if you specify the -M option, it can indeed get its arguments from stdin (I don't know any other ar which works that way). So that would indeed be a possible solution for Linux.


Jonas
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to