Re: cross compile mips on x86_64: pcre?
+++ Arjen Verweij [2014-08-06 17:59 +0200]:
> Hi,
>
> I want to cross compile on AMD64 Debian Wheezy (7.6) to mips. The problem
> is pcre. I can't find a suitable package on emdebian.
It's called 'libpcre3' (and 'libpcre3-dev' for the dev headers) in debian.
The source package is pcre3
> Is there another way to obtain it?
apt-get install libpcre3
or
apt-get source pcre3
should do the trick.
I'm not clear what your cross-compiling issue is though? Is it getting the target library headers?
On a mulitarch (wheezy or later) system, I'd advise doing
dpkg --add-architecture mips
apt-get update; apt-get install libpcre3-dev:mips
to get the headers for that architecture to build against
(and then use the script at https://github.com/dkogan/toolchains to build yourself a multiarch-aware cross-toolchain)
Wookey
--
Principal hats: Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/
Reply to: