Hi guys,

I am setting up cross compiling environment for my newly bought
Raspberry Pi 3, under the guide of:
https://wiki.gentoo.org/wiki/Raspberry_Pi
https://wiki.gentoo.org/wiki/Raspberry_Pi/Quick_Install_Guide

My original idea was to use crossdev to cross compile packages on my PC
and install binaries on RPI.
However I found it really nasty because it kept giving me the error
message about "libintl: no such file or directory" during compilation of
packages such as attr, python etc.

And if some (even very few) packages fail to build on the PC, it is
hardly possible to keep PC and RPI 'consistent'.
(Yes, I did setup the 'make.profile' symlink to the right place.)

So my question is:
1) If some packages are *doomed* to fail, how do you keep the
emerge world environment consistency between PC and RPI?
Or is my understanding of this method incorrect?

2) If it is not really a good idea to use crossdev, which one do you
recommend between distcc and chroot method?
(I googled but did not really get one answer about compilation speed.)

Thanks in advance for any potential help. ;-)

P.S. Does anyone have any idea about the 'libintl' error? I googled a
lot but it seems that it should be part of glibc...

Danny

Reply via email to