[Omake] How to change AR?
Aleksey Nogin
nogin at metaprl.org
Thu Apr 30 08:22:41 PDT 2009
Yes, AR is expected to be a function taking a name. This is needed
because of how some ar variants form their command line.
On 29.04.2009 00:30, Kiyoshi Mizumaru wrote:
> 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
>>
> _______________________________________________
> Omake mailing list
> Omake at metaprl.org
> https://lists.metaprl.org/mailman/listinfo/omake
>
More information about the Omake
mailing list