Mail Archives: djgpp/1997/12/23/00:47:05
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.
--
---------------------------------------------------------------------
| John M. Aldrich | "To be 'matter of fact' about the |
| aka Fighteer I | world is to blunder into fantasy-- |
| mailto:fighteer AT cs DOT com | and dull fantasy at that, as the real|
| http://www.cs.com/fighteer | world is strange and wonderful." -LL |
---------------------------------------------------------------------
- Raw text -