[Gambas-user] SGT2_10.1 Ubuntu ARM

John Spikowski support at ...2529...
Fri Aug 10 20:26:20 CEST 2012


On Fri, 2012-08-10 at 19:07 +0200, Emil Lenngren wrote:
> 2012/8/10 John Spikowski <support at ...2529...>
> >
> > 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.






More information about the User mailing list