[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: cross compile mips on x86_64: pcre?



On Thursday 7. August 2014 18.27.38 YunQiang Su wrote:
> I have a mips64el cross build for amd64, you can try it. (Please DO it
> in a CHROOT evn)

Did you use the script that Wookey mentioned to build your tools or did you 
use something else?

[...]

> > Le 07. 08. 14 13:07, Wookey a écrit :
> >> And more usefully, pre-built cross-toolchains are here:
> >> http://toolchains.secretsauce.net/ Wookey

The reason I ask is because I can't get the script that apparently builds 
these toolchains to get very far. It being available from here, of course:

https://github.com/dkogan/toolchains

On the one hand it complains about the following command:

sudo apt-get --no-install-recommends install libc6-dev:mipsel linux-libc-
dev:mipsel libgcc1:mipsel gcc-4.9-base:mipsel binutils-mipsel-linux-gnu

Apparently...

The following packages have unmet dependencies:
 binutils-mipsel-linux-gnu :
 Depends: binutils but it is not going to be installed
 Depends: libc6 (>= 2.11) but it is not going to be installed
 Depends: zlib1g (>= 1:1.1.4) but it is not going to be installed

...even if those packages are installed. And doing an apt-get install on 
binutils-mipsel-linux-gnu does install the package without complaint.

But then the problem is that without doing...

dpkg --add-architecture mipsel

...the other packages aren't installable (which is understandable because they 
are mipsel packages), whereas after adding mipsel apt wants to uninstall a 
huge number of essential packages to be able to install the following:

aptitude-common gcc-4.8-base libc-dev-bin:mipsel libc6:mipsel multiarch-
support:mipsel

Is this just a product of chaos in unstable or is it something else?

Paul


Reply to: