[uClibc] Enable support for shared libraries
Erik Andersen
andersen at codepoet.org
Wed May 12 09:47:57 UTC 2004
On Wed May 12, 2004 at 05:37:58PM +0800, wangge gus wrote:
> hi:
> I want to use uClibc on my target ,but when I chose "Enable support for
> shared libraries",some thing like that
> [*] Generate Position Independent Code (PIC)
> [*] Enable support for shared libraries
> [*] Compile native shared library loader
> [ ] Support ET_DYN in shared library loader
> [*] Native shared library loader 'ldd' support,
> unfortunately ,there are severl mistakes,
> make -C ldso;
> make[2]: Entering directory `/HHCF5272-LCD-IDE-R1/uClinux/uClibc/ldso/ldso'
> m68k-elf-gcc -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing
> -Os -Wa,--bitwise-or -I/HHCF5272-LCD-IDE-R1/uClinux/linux-2.4.x/include
> -msoft-float -fPIC
> -DUCLIBC_RUNTIME_PREFIX=\"/HHCF5272-LCD-IDE-R1/uClinux/uClibc/\"
> -fno-builtin -nostdinc -I../../ldso/include -I. -I../../include
> -I/usr/local/lib/gcc-lib/m68k-elf/2.95.3/include -I../libdl -c ldso.c -o
> ldso.o
uClibc does not currently support m68k shared libraries. There
is some code there for them, but it is unsupported and highly
unlikely to work at all. Further, you appear to be using
uClinux. uClibc does not include any support for shared
libraries with uClinux. The snapgear have some modified
toolchain stuff that does support this I believe, but you will
need to ask on the uClinux-dev mailing list for help with that
stuff,
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list