Re: Does 'ar' work with native MS Windows libs?

2006-10-04 Thread Coatimundi
Williams, Gerald S (Jerry) wrote: You've probably already ruled this out, but if you do see it again, you might want to verify that you're not mixing path separators (LIB.EXE will use either). I believe you must use only backslash-style separators if you want to interoperate with ar. gsw Ironi

Re: Does 'ar' work with native MS Windows libs?

2006-10-03 Thread Coatimundi
Williams, Gerald S (Jerry) wrote: Coatimundi wrote: If paths are included in the archive (which is typical for libs created by Visual Studio), then ar may in some cases claim that members (displayed with 'ar t') do not exist when doing "ar x lib.a {object}" either by p

Re: Does 'ar' work with native MS Windows libs?

2006-10-03 Thread Coatimundi
Following up my own post... Coatimundi wrote: The thing I noticed first was that 'ar vt libfoo.a' did not always list all of the member names. Some were present, some were missing. (Linking with the lib unambiguously confirms that they're all there. The total number of routi

Re: Does 'ar' work with native MS Windows libs?

2006-10-03 Thread Coatimundi
Christopher Faylor wrote: [snip] Sorry but without the actual libraries to inspect or some way of duplicating the problem there really isn't much that can be done. I guess that means you should stick with 'lib'. cgf Thanks for your time. -- Unsubscribe info: http://cygwin.com/ml/#uns

Re: Does 'ar' work with native MS Windows libs?

2006-10-03 Thread Coatimundi
Christopher Faylor wrote: On Tue, Oct 03, 2006 at 07:10:50AM -0700, Coatimundi wrote: Christopher Faylor wrote: On Mon, Oct 02, 2006 at 07:27:50PM -0700, Coatimundi wrote: I need to break open a library I created with Visual Studio and insert some objects also compiled with Visual Studio

Re: Does 'ar' work with native MS Windows libs?

2006-10-03 Thread Coatimundi
Christopher Faylor wrote: On Mon, Oct 02, 2006 at 07:27:50PM -0700, Coatimundi wrote: I need to break open a library I created with Visual Studio and insert some objects also compiled with Visual Studio. Will Cygwin's ar command work for this task? Here's an idea: How about just *

Re: Does 'ar' work with native MS Windows libs?

2006-10-02 Thread Coatimundi
Thanks. The crummy LIB for Windows tool says it only allows me to extract one object at a time. Yuck! Oh well, I wasn't going anywhere today, anyway... ;) Thanks. Larry Hall (Cygwin) wrote: Coatimundi wrote: I need to break open a library I created with Visual Studio and insert

Does 'ar' work with native MS Windows libs?

2006-10-02 Thread Coatimundi
I need to break open a library I created with Visual Studio and insert some objects also compiled with Visual Studio. Will Cygwin's ar command work for this task? Alternatively, is there a Windows tool better suited to this? Maybe there's even something that ships with Visual Studio, but I w