Re: [Gambas-user] SGT2_10.1 Ubuntu ARM
Brought to you by:
gambas
|
From: John S. <su...@sc...> - 2012-08-10 23:20:21
|
On Fri, 2012-08-10 at 11:26 -0700, John Spikowski wrote: > On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote: > > 2012/8/10 John Spikowski <su...@sc...> > > > > > > I'm curious, was the Raspberry Pi Gambas3 binary distribution built with > > > a cross compiler (on Intel/AMD Linux) or native under Ubuntu ARM on the > > > Pi? > > > > > > > > There is not a single "the gambas3 binary distribution", but one for each > > distro. I think most of them are cross-compiled, because there is no reason > > to compile directly on the Pi. As long as the same compiler is used on both > > machines, identical machine code should be produced. > > > > I can recommend a program called "distcc" which replaces the gcc program on > > the Pi with another that calls gcc with arm target on a remote computer on > > the network. All preprocessing, linking etc. is done on the Pi, so include > > files and libraries do not need to be available on the remote machine, only > > on the Pi. "crosstool-ng" can be used to set up a cross-compiler. > > > > /Emil > > I guess I have different goals. > > I'm trying to build a native ARM development environment. Android Linux > is too restrictive and the chroot option seems to be just what I'm > looking for. > > I was able to get the auto* tools compiled last night on my SGT2_10.1 > and will try a test compile of Gambas3 from svn trunk today. I'm having a problem getting the mysql-client-dev requirement for Gambas install on Ubuntu ARM. (see attached screen shot) Any ideas how to get around this? |