What's the difference between .os and .oS?
will.newton at gmail.com
Tue Nov 21 17:41:13 UTC 2006
On 11/21/06, Khem Raj <kraj at mvista.com> wrote:
> > I'm building libpthread/linuxthreads and it appears pthread.c is built
> > without -DSHARED (it's an .os) but libc_pthread_init.c is built with
> > -DSHARED (it's an .oS)
> thats the difference between .oS and .os if you want uclibc to support
> shared libs then it will generate .oS objects compiled with -DSHARED
> > and the mismatch is problematic.
> I am using linuxthreads.old and I configure uclibc for both PIC and
> SHARED. I am seeing both objects (os and oS) for both these files.
> have you set HAVE_SHARED=y in your .config file.
Yes, HAVE_SHARED=y. The line in the Makefile.in is:
libpthread-so-y += $(libpthread_OBJ:.o=.os)
I believe this should by .oS, at least that works for me, I'm just not
sure of the conventions for when it should be used.
More information about the uClibc