Mail Archives: djgpp/1996/09/29/09:51:52
Thinking furiously, B Hodge wrote:
>
> : Anyway, if your source code is not executable, RHIDE will create a =
> : library with the option "Compile Menu-Link". Don't forget to specific a =
> : name under "Project-main targetname".
>
> Okay, but obviously there has to be a way of producing a library (.A) file
> from the command line somehow. Does anyone know how?
>
Sure. You should check out the information on 'ar' in info.
but briefly, given three object files a.o, b.o,and c.o with which you
want to build a library, you'd do it like this:
ar rvs mylib.a a.o b.o c.o
the first time you do this (i.e., if mylib.a doesn't exist yet) you
could do:
ar crvs mylib.a a.o b.o c.o
Fred
--
-------------------------------------------------------------------------------
.---- Fred Smith / Office: fred AT computrition DOT com
( /__ ,__. __ __ / __ : / 508-663-2524
/ / / /__) / / /__) .+' Home: fredex AT fcshome DOT stoneham DOT ma DOT us
/ / (__ (___ (__(_ (___ / :__ 617-438-5471
-------------------------------- Jude 1:24,25 ---------------------------------
- Raw text -