Mail Archives: djgpp/1996/10/02/23:13:22
Try the following:
ar ruv libyours.a yourfn1.o yourfn2.o yourfn3.o
Then, when you compile your program, simply link with that library:
gcc -O2 -Wall yourprog.c -o yourprog.exe -lyours
---Michael Phelps
morphine AT cs DOT jhu DOT edu
CH3
|
N
/ |
______/ |
/ \ CH2
_____/ \__|__
// \\ / | \\
// \\______/___CH2 \\
\ / \ /
\______/ \_____/
/ ------ \ / \
OH \ / OH
O
Morphine
On 29 Sep 1996, 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?
>
> -----------------------------------------
> Blaine Hodge <bhodge AT gpu DOT srv DOT ualberta DOT ca>
> Homepage: http://www.ualberta.ca/~bhodge/
> "I am currently between signatures." -me
>
- Raw text -