"Ronald S. Bultje" <[email protected]> writes:

> Hi,
>
> On Sun, Sep 16, 2012 at 2:09 PM, Mans Rullgard <[email protected]> wrote:
>> This allows creating canned shorthands for common combinations
>> of cc, ld etc.
>>
>> Signed-off-by: Mans Rullgard <[email protected]>
>> ---
>>  configure | 13 +++++++++++++
>>  1 file changed, 13 insertions(+)
>>
>> diff --git a/configure b/configure
>> index 29c2b87..d2416bd 100755
>> --- a/configure
>> +++ b/configure
>> @@ -207,6 +207,7 @@ Advanced options (experts only):
>>    --target-os=OS           compiler targets OS [$target_os]
>>    --target-exec=CMD        command to run executables on target
>>    --target-path=DIR        path to view of build directory on target
>> +  --toolchain=NAME         set tool defaults according to NAME
>>    --nm=NM                  use nm tool
>>    --ar=AR                  use archive tool AR [$ar_default]
>>    --as=AS                  use assembler AS [$as_default]
>> @@ -1329,6 +1330,7 @@ CMDLINE_SET="
>>      target_exec
>>      target_os
>>      target_path
>> +    toolchain
>>  "
>>
>>  CMDLINE_APPEND="
>> @@ -2039,6 +2041,17 @@ ranlib="${cross_prefix}${ranlib}"
>>
>>  sysinclude_default="${sysroot}/usr/include"
>>
>> +case "$toolchain" in
>> +    msvc)
>> +        cc_default="c99wrap cl"
>> +        ld_default="c99wrap link"
>> +        nm_default="dumpbin -symbols"
>
> Isn't ar missing in this list? (ar=lib.exe).

That needs more changes.

-- 
Måns Rullgård
[email protected]
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to