How to build shared library for libpcre?

rahul1988
Hi,

I am trying to get shared library for libpcre.

Trialled following steps

/in/unzipped/pcre-7.8# ./configure -target=arm --host=arm\
 --prefix=/home/xxxx/a --exec-prefix=/home/xxxx/a/b --enable-shared

(then of-course make && make install)

Its creating
 libpcre.a  libpcrecpp.a  libpcrecpp.la
 libpcre.la  libpcreposix.a  libpcreposix.la
but not shared libraries :(

Attached is the output of above command (./configure ...).
I see lines 135, 141, 146, 236, that may be stopping from creating shared
libraries.

I am successful in creating simple shared libraries ( I wrote my own C
program and compiled with -shared)

I have seen shared libraries in the image at
http://www.friendlyarm.net/dl.php?file=arm-qtopia-2.2.0_20100108.tgz.

Can somebody please guide?

Thank you, with best regards.

rahul1988
Attachment: ak.txt (9.26 KB)
Forgot to attach for the first post

open-nandra
Hi, configure is sometimes strange. Anyway for me this works fine:
CC=arm-linux-gcc ./configure --host=arm-linux; make; make install

ajaykumar
thanks alot, it works