Dear Kin

I wrote a little ar replacement. For a call like "ar cru foo.a 1.o 2.o 
3.o" it executes:
    cilly --merge --mode=AR cru foo.a 1.o 2.o 3.o
    /usr/bin/ar cru foo.a.objs.a 1.o 2.o 3.o
And for a call like "ar x foo.a" or "ar t foo.a" it executes:
    /usr/bin/ar x foo.a.objs.a (or /usr/bin/ar t foo.a.objs.a)

Would be cool if this could be added to cilly (unless someone sees a 
problem with that). I'm just not fluent enough in OCaml to do this in a 
reasonable amount of time.


Hope that helps
Marco


On 10.01.2011 06:31, Kin Ma wrote:
> Hi,
>
> I'm trying to merge a program whose Makefile does the following: it
> first runs "ar x" to extract files from a bunch of *.a previously
> generated, and then runs "ar rc" to archive these files into a single
> lib.a. Unfortunately, Cil's AR mode does not support the x operation.
> It seems that an alternative way would be to change to Makefile to
> archive those *.a archives directly. Am I correct? Is there any better
> way? Thanks.
>
> Kin
>
>
> ------------------------------------------------------------------------------
> Gaining the trust of online customers is vital for the success of any company
> that requires sensitive data to be transmitted over the Web.   Learn how to
> best implement a security strategy that keeps consumers' information secure
> and instills the confidence they need to proceed with transactions.
> http://p.sf.net/sfu/oracle-sfdevnl
> _______________________________________________
> CIL-users mailing list
> CIL-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/cil-users

------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web.   Learn how to 
best implement a security strategy that keeps consumers' information secure 
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl 
_______________________________________________
CIL-users mailing list
CIL-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cil-users

Reply via email to