Shared lib's help !

From: Yuriy <bett_at_nospam.org>
Date: Tue Oct 27 1998 - 08:59:04 PST

Hi everybody !
I tryed to make my own shared library with the only function that
returns 1...
libmy.c:

unsigned int m_func(unsigned int arg)
{
    return 1;
}

libmy.db :
library libmy.a
_m_func

I wrote little program which calls this function and prints result
(compilation flag -lmy) ...
It returns 0 !?
And GDB exites with 0...
Help me please ! Were is my mistake ?

P.S. Sorry for my english !
Yuriy
Received on Tue Oct 27 05:54:55 1998

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:55 PDT