nanogui@linuxhacker.org

nanogui@linuxhacker.org


Subject:ÓÍ?: how add my library?
From: PG62 YFZhang
Date: Tue, 12 Dec 2000 09:51:28 +0800

if you ld a lib whose name is called libc.a then you just add with -lc.a
then if your lib's name is libmylib.a then you can add like this way: -
lmylib.
if you wana ask why I don't know either.
'coz in my platform it performs this way.^ ^

You are welcomed
adamchang



-----ê«ã·?Ëì-----
?ËììÑ: cys [mailto:cys@dabonet.com]
?áê??: 2000Ò´12êÅ12ìí 9:11
â¥ËììÑ: nanogui@linuxhacker.org
ñ«?: how add my library?


hello!

i work redhat7.0 and kernel-2.4.0-test10.
tried to add my library to arm-linux-glibc.
added libmylib and mylib.h file to glibc header and lib directory.
when cross compiled test.c, i see next message.

]# arm-linux-gcc -o test test.c -lmylib
..../arm-linux/bin/ld : cannot find -lmylib

what i missing?

thank you!


---------------------------------------------------------------------
To unsubscribe, e-mail: nanogui-unsubscribe@linuxhacker.org
For additional commands, e-mail: nanogui-help@linuxhacker.org

nanogui@linuxhacker.org