[Gambas-devel] Gambas deploy with crosscompiler.

Benoît Minisini gambas at ...1...
Mon Feb 1 14:21:08 CET 2010


> > Hi to All.
> >
> > I'm writing to you to tell an issue that I had when I tried to port
> > gambas on my embedded arm system:
> >
> > Usually On Embedded system linux based, I have not a compiler that run
> > on target but It's used a crosscompiler that runs on PC and produce
> > executable for the embedded system.
> >
> > For the gambas Installation I can run without problem the steps
> > "./configure" and "make".
> > When I run make install the procedure exit with error, because ( I think
> > ) the installation script try to execute the gambas compiler that it's
> > not for PC architecture.
> 
> The compiler is compiled for ARM during the "make" step, and installed
>  during "make install" before anything that needs it. So you should not
>  have any problem.
> 
> Please provide the full output of ./configure, make and make install, and
> please tell which distribution you run on the ARM.
> 
> Regards,
> 

Ah, OK, I should have read your mail before answering it. :-)

Yes, that won't work, as you described. The installation script wants to run 
the compiler compiled for ARM.

So the question is: is there a way to detect that we are compiling on another 
architecture in the configuration files? Then we will tell the user that the 
local gambas compiler will be used, and so that it must be present!

Regards,

-- 
Benoît Minisini




More information about the Devel mailing list