[gentoo-user] Locale generation and keymaps for cross compiliation?
Hi, I have a Raspberry Pi. I have gone through the cross development guides on gentoo.org and my barebones distro (consisting of chrony, sshd, bash) is ready (all I did is armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/sdcard baselayout bash openssh chrony) which is of course after setting up the toolchain using crossdev. Now the problem is, since I'm on amd64 box (and don't have an ARM emulator), how do I generate the locale [without using an ARM emulator]? Also, how to go about keymaps? /usr/share/keymaps seems to be missing in the tree and equery returned no packages owning those files. -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Locale generation and keymaps for cross compiliation?
On 12/13/2012 11:58, Nilesh Govindrajan wrote: Hi, I have a Raspberry Pi. I have gone through the cross development guides on gentoo.org and my barebones distro (consisting of chrony, sshd, bash) is ready (all I did is armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/sdcard baselayout bash openssh chrony) which is of course after setting up the toolchain using crossdev. Now the problem is, since I'm on amd64 box (and don't have an ARM emulator), how do I generate the locale [without using an ARM emulator]? Also, how to go about keymaps? /usr/share/keymaps seems to be missing in the tree and equery returned no packages owning those files. I have been wondering the same thing. If you find the answer, please share it. Incidentally, have you been able to boot the system you created as described? I am working on a very similar setup, but I haven't been able to get bash to work. It complains that it can't find libgcc_s.so.1, and I don't want to install GCC on my Raspberry Pi. Regards, -- ♫Dustin
Re: [gentoo-user] Locale generation and keymaps for cross compiliation?
On Friday 14 December 2012 03:38 AM, Dustin C. Hatch wrote: On 12/13/2012 11:58, Nilesh Govindrajan wrote: Hi, I have a Raspberry Pi. I have gone through the cross development guides on gentoo.org and my barebones distro (consisting of chrony, sshd, bash) is ready (all I did is armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/sdcard baselayout bash openssh chrony) which is of course after setting up the toolchain using crossdev. Now the problem is, since I'm on amd64 box (and don't have an ARM emulator), how do I generate the locale [without using an ARM emulator]? Also, how to go about keymaps? /usr/share/keymaps seems to be missing in the tree and equery returned no packages owning those files. I have been wondering the same thing. If you find the answer, please share it. Incidentally, have you been able to boot the system you created as described? I am working on a very similar setup, but I haven't been able to get bash to work. It complains that it can't find libgcc_s.so.1, and I don't want to install GCC on my Raspberry Pi. Regards, Mine doesn't boot either, same shared library error. For now I've set static and static-libs flag at global level, but this is not going to go good when I start installing other stuff over it. I think the best way out would be to install gcc? :S -- Nilesh Govindarajan http://nileshgr.com
Re: [gentoo-user] Locale generation and keymaps for cross compiliation?
On Friday 14 December 2012 11:22:52 AM IST, Nilesh Govindrajan wrote: On Friday 14 December 2012 03:38 AM, Dustin C. Hatch wrote: On 12/13/2012 11:58, Nilesh Govindrajan wrote: Hi, I have a Raspberry Pi. I have gone through the cross development guides on gentoo.org and my barebones distro (consisting of chrony, sshd, bash) is ready (all I did is armv6j-hardfloat-linux-gnueabi-emerge --root=/mnt/sdcard baselayout bash openssh chrony) which is of course after setting up the toolchain using crossdev. Now the problem is, since I'm on amd64 box (and don't have an ARM emulator), how do I generate the locale [without using an ARM emulator]? Also, how to go about keymaps? /usr/share/keymaps seems to be missing in the tree and equery returned no packages owning those files. I have been wondering the same thing. If you find the answer, please share it. Incidentally, have you been able to boot the system you created as described? I am working on a very similar setup, but I haven't been able to get bash to work. It complains that it can't find libgcc_s.so.1, and I don't want to install GCC on my Raspberry Pi. Regards, Mine doesn't boot either, same shared library error. For now I've set static and static-libs flag at global level, but this is not going to go good when I start installing other stuff over it. I think the best way out would be to install gcc? :S It turns out that if you copy libgcc_s.so and libgcc_s.so.1 from /usr/lib/gcc/armv6j-hardfloat-linux/gnueabi (on host system) to /lib on the sd card, the library error goes away. -- Nilesh Govindarajan http://nileshgr.com