Date: Wed, 24 Dec 1997 10:25:43 +0200 (IST) From: Eli Zaretskii To: Robert Hoehne cc: djgpp AT delorie DOT com Subject: Re: Creating a library In-Reply-To: <349FD2D7.4BC9092C@gmx.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Content-Transfer-Encoding: 8bit Precedence: bulk On Tue, 23 Dec 1997, Robert Hoehne wrote: > Yes, you are wrong. I donīt know exactly what is written in the > doc, but as I have currently the sources here, I have looked at them > and saw, that it is independent how the switches are ordered. The order is important in the Unix versions of `ar', but GNU `ar' lifted that restriction. If you sometimes have to work on Unix where GNU Binutils are not installed, you'd be better off using the traditional order, which is "ar rv" (some versions of non-GNU `ar' don't support the `s' flag, so you will need to run `ranlib' after `ar' to get the symbol table updated). > And an other thing: When I rememeber correct, the switches for ar should > be given without the -, which is allowed only for "compatibility". It's the other way around: the ``compatible'' way is to not use the dash `-'. That is how traditional Unix `ar' works.