automake-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH] Enable the use of "link -lib" as the wrapped archiver.


From: Peter Rosin
Subject: [PATCH] Enable the use of "link -lib" as the wrapped archiver.
Date: Thu, 12 Aug 2010 16:30:09 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.8) Gecko/20100802 Thunderbird/3.1.2

Hi!

lib.exe is simply a wrapper around "link.exe -lib", this patch
allows the latter form to also be wrapped by ar-lib.

While at it, the patch also allows some other options through
to the wrapped archiver. I have quoted some of the output from
"lib -?" below for your convenience (remember that '-' can be
used instead of '/' as option specifier and that '/' isn't really
supported when using ar-lib since it makes the option look like
an absolute file name).

Cheers,
Peter

$ lib -?
Microsoft (R) Library Manager Version 8.00.50727.762
Copyright (C) Microsoft Corporation.  All rights reserved.

usage: LIB [options] [files]

   options:
*snip*
      /LTCG
      /MACHINE:{ARM|EBC|IA64|MIPS|MIPS16|MIPSFPU|MIPSFPU16|
                SH4|THUMB|X64|X86}
*snip*
      /SUBSYSTEM:{BOOT_APPLICATION|CONSOLE|EFI_APPLICATION|
                  EFI_BOOT_SERVICE_DRIVER|EFI_ROM|EFI_RUNTIME_DRIVER|
                  NATIVE|POSIX|WINDOWS|WINDOWSCE}[,#[.##]]
      /VERBOSE
      /WX[:NO]

Attachment: 0001-Enable-the-use-of-link-lib-as-the-wrapped-archiver.patch.txt
Description: Text document


reply via email to

[Prev in Thread] Current Thread [Next in Thread]