[Omake] How to change AR?

Kiyoshi Mizumaru kiyoshi.mizumaru at gmail.com
Wed Apr 29 00:30:42 PDT 2009


Let me confirm.
Changing my OMakefile as follows seems to work.  Is this a right way to do this?

AR(name)        =
    return(ppu-ar rv $(name))


On Wed, Apr 29, 2009 at 4:07 PM, Kiyoshi Mizumaru
<kiyoshi.mizumaru at gmail.com> wrote:
> Hi,
> This is my first post to this list, so if I'm doing something wrong,
> please correct me.
>
> Could anyone please let me know how to change the archiver which will be used in
> building C libraries?  Defining AR value in OMakefile like
>
> AR              = ppu-ar rv
>
> generates the following:
>
> *** omake error:
>   File /usr/lib64/omake/build/C.om: line 344, characters 8-31
>   illegal function application:
>      function: "ppu-ar rv" : Sequence
>      arg = $(apply public.@)
>
> and modifying it to not to include the options like
>
> AR              = ppu-ar
>
> also generates the following:
>
> *** omake error:
>   File /usr/lib64/omake/build/C.om: line 344, characters 8-31
>   illegal function application:
>      function: "ppu-ar" : Sequence
>      arg = $(apply public.@)
>
> I'm using ocaml-omake-0.9.8.5-3.fc9.x86_64 on Fedora9.
>
>
> TIA,
> Kiyoshi
>


More information about the Omake mailing list