[Expat-discuss] how to cross-compile expat to get shared lib?

Robert P. J. Day rpjday at mindspring.com
Wed Jun 22 21:30:57 CEST 2005


  i can't seem to cross-compile the latest version of "expat" to get a
shared ".so" library -- i just get the archive library.

  i want to cross-compile for the PPC, and i have the ELDK 3.1.1 PPC
cross-compiler installed, and ppc_8xx-gcc os on the search path, and i
ran the following:

  $ ./configure --host=ppc --enable-shared CC=ppc_8xx-gcc

some of the relevant output lines from that command:

checking build system type... i686-pc-linux-gnu
checking host system type... powerpc-unknown-none
checking for ppc-gcc... ppc_8xx-gcc
...
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
...
checking whether the ppc_8xx-gcc linker
(/usr/local/eldk3.1.1/usr/ppc-linux/bin/ld) supports shared
libraries... yes
...
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes

?????

so libtool doesn't support shared libs and that's why it chooses not
to build them?  or how should i read this?  thanks.

rday




More information about the Expat-discuss mailing list