Mail Archives: djgpp/1997/12/23/02:45:46
John M. Aldrich wrote:
>
> Thomas Demmer wrote:
> >
> > If you work with RHIDE, stuff them into a project
> > and change the targetname to libfoo.a
> > If you prefer commandline, use
> > ar -svr libfoo.a *.o (or whatever matches your object files)
>
> Shouldn't that be "ar -rvs libfoo.a *.o"?
>
> I may be wrong, but I think the order of the switches matters to 'ar'.
> The 'r' should be the first switch on the command line, because it tells
> 'ar' how to behave. You can use 's' standalone, but the 'ar' docs seem
> to say that 'r' should be first.
Don't know. I always use svr, because it reminds me of System V Release.
And as ar tells me verbosely what it is doing, it doesn't really
seem to matter that the 'v' is before 'r'. But if
you give me a good idea how to memorize rvs, I'll switch
to it ;-)
--
Ciao
Tom
*************************************************************
* Thomas Demmer *
* Lehrstuhl fuer Stroemungsmechanik *
* Ruhr-Uni-Bochum *
* Universitaetsstr. 150 *
* D-44780 Bochum *
* Tel: +49 234 700 6434 *
* Fax: +49 234 709 4162 *
* http://www.lstm.ruhr-uni-bochum.de/~demmer *
*************************************************************
- Raw text -