> 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.

All except Solaris and Mac OS X I think, or are there other platforms that
don't use GNU binutils?

ar --version
GNU ar 2.15 [FreeBSD] 2004-05-23
Copyright 2004 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
_______________________________________________
fpc-devel maillist  -  [email protected]
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to