Re: CrossCompiler installation
On 2014-11-24 23:31, Pietro Paolini wrote:
Hi everyone,
Hi Pietro,
I am struggling to install the cross-compilter toolchain from the
Debian Jessie installation I have got, looking over internet I have
found this guide which does not work for me :
https://wiki.debian.org/CrossToolchains
I got there from the following :
https://wiki.debian.org/EmdebianToolchain#Notice
The error I get is at the update time and I do not succed to install
the package I want since it is not there for some reason
W: Failed to fetch
https://people.debian.org/~wookey/tools/debian/dists/jessie/InRelease
Unable to find expected entry 'main/binary-i386/Packages' in Release
file (Wrong sources.list entry or malformed file)
$ sudo apt-get install crossbuild-essential-armhf
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package crossbuild-essential-
I am trying to install the ARM toolchain for both armel and armhf,
some good tip about how to do that in Jessie ?
I had the same problem a couple of weeks ago. I believe that it's
currently only possible to cross-compile for armhf from amd64; not from
i386. That prompted me to realize that my main laptop was still on
i386, and it seems (from the 'binary-i386' above) that that is the case
for you too.
To fix the problem, I first 'cross-graded' my laptop from i386 to amd64,
and then I was able to install the cross toolchain for armhf.
For cross-grading I roughly followed this link:
http://anarc.at/services/upgrades/cross-architecture/
But it wasn't straightforward; a lot of thought and repeated and extra
steps were needed as well, and I'm afraid I didn't record them.
Hope this is all useful...
Neil
Reply to: