Re: Building Genode for Linux/ARM

2015-05-19 Thread Alexander Senier
Hi Christian, that explains the issue. Would be nice if the build system could stop if I ask it to cross-build for linux_arm. (Or even better, to have a cross toolchain ;-) I don't have a suitable host to build natively right now, but managed to create a cross toolchain using qemu-user like

Re: Building Genode for Linux/ARM

2015-05-19 Thread Christian Prochaska
Hi Alex, On 05/19/2015 10:26 AM, Alexander Senier wrote: Adding -march=armv7-a manually to the above g++ invocation succeed, but I don't see where to set the architecture in the build config. creating a file '/build/linux_arm/etc/tools.conf' with the line CC_MARCH+=-march=armv7-a should do

Re: Building Genode for Linux/ARM

2015-05-19 Thread Alexander Senier
Hi Christian, yes, that did the trick. Thanks a lot! Building Genode programs for linux_arm works now in the qemu-user chroot environment. Even the SDL-based nitpicker demo runs from within that environment. The only disadvantage is that the run scripts fail, as expect has some issues with

Re: Building Genode for Linux/ARM

2015-05-19 Thread Christian Prochaska
Hi Alex, good to hear that you got it to work. On 05/19/2015 01:41 PM, Alexander Senier wrote: The only disadvantage is that the run scripts fail, as expect has some issues with creating PTYs. I remember having some problems with chroot environments and terminals in general when /dev/pts was

Re: Building Genode for Linux/ARM

2015-05-19 Thread Alexander Senier
Hi Christian, On 19.05.2015 14:08, Christian Prochaska wrote: I remember having some problems with chroot environments and terminals in general when /dev/pts was not bind-mounted in the chroot environment. Could this be the problem here, too? Yes, this most likely is the Problem. However,

Re: Building Genode for Linux/ARM

2015-05-18 Thread Christian Prochaska
Hi Alex, the Linux platforms don't support cross-compiling at this stage, which means that 'linux_arm' only works on an ARM Linux host system. Regards, Christian On 18.05.2015 22:10, Alexander Senier wrote: Hi all, I'm trying to build Genode for the Linux base platform for ARM without

Building Genode for Linux/ARM

2015-05-18 Thread Alexander Senier
Hi all, I'm trying to build Genode for the Linux base platform for ARM without success so far. Despite having the ARM toolchain installed, my builds always are x86_64. Here is what I did after checking out the source tree: $ cd genode_dir/tool $ ./toolchain arm After prompting for my super user