Re: how to cross-compile expat to get shared lib?

Enrico Weigelt <[email protected]>
Newsgroups gmane.text.xml.expat.general
Message-ID <[email protected]>
* Robert P. J. Day <[email protected]> wrote:

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

Perhaps autoconf is - again - not able to work with grep, and so 
doesn't recognize you ld as gnu ld and, of course, now assumes it 
cannot produce shared objects, so it doesn't ever try.

I'm crosscompiling whole distros. And such things happen to me 
almost evry day ...

<snip>
> 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

Here it is! 
Its not autoconf itself, actually its libtool - which isn't great 
difference.

<snip>

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

Yes. Autoconf/libfool is trying to guess the lottery numbers, and fails.

Did I already mention, that I've got my own libtool implementation ?
(well, in fact its an frontend to an really abstract toolchain 
command set. but it's still under heavy development ...)


Ah, did you try crosstool for building you toolchain ?


cu
-- 
---------------------------------------------------------------------
 Enrico Weigelt    ==   metux IT service

  phone:     +49 36207 519931         www:       http://www.metux.de/
  fax:       +49 36207 519932         email:     [email protected]
  cellphone: +49 174 7066481
---------------------------------------------------------------------
 -- DSL ab 0 Euro. -- statische IP -- UUCP -- Hosting -- Webshops --
---------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.