Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: MHayer on January 10, 2017, 06:13:09 PM

Title: Toolchain
Post by: MHayer on January 10, 2017, 06:13:09 PM
Hello,

we have recently got the A20-OLinuxXino-LIME2-eMMC with the corresponding SD card with the debian linux.
Based on this we want the migrate your existing software to this debian.

I tried the whole day to understand the steps in the wiki and here in the forum to make an compiler.
But I'm not the Linux specialist. I come from the PIC Microcontrollers.
For an other Hardware platform we got an fully Toolchain with an development Tool in an VM Virtualbox.
We only want to compile an software for the existing OS on the SD Card.
When I understand it correct is the tutorial partly about how the compile your own Linux.

Maybe someone has his Toolchain also as an package and would share it with me.
Or could explain me how this should work.

Thanks
M. Hayer
Title: Re: Toolchain
Post by: Gerrit on January 10, 2017, 10:23:37 PM
As an alternative you can also compile it on the A20, its not as fast but the most simple way
Title: Re: Toolchain
Post by: igorpec on January 11, 2017, 11:16:00 PM
You can try our cross-tool-chain, Lime2 emmc is supported:
https://github.com/igorpecovnik/lib 
Title: Re: Toolchain
Post by: MHayer on January 16, 2017, 12:11:37 PM
For the compilation we used now the device itself.

I put my existing project to the device and executed an 'make'.
Its not fast, but it compiled without errors.

But like I wrote I'm not the Linux expert to get the cross compiler running.

Now I have another problem with the execution, but for this I make an new Post.
Title: Re: Toolchain
Post by: igorpec on January 16, 2017, 01:46:44 PM
Quote from: MHayer on January 16, 2017, 12:11:37 PM
For the compilation we used now the device itself.

I put my existing project to the device and executed an 'make'.
Its not fast, but it compiled without errors.

But like I wrote I'm not the Linux expert to get the cross compiler running.

Now I have another problem with the execution, but for this I make an new Post.

Those tools takes care of everything. They create whole cross compiler environment for you. You don't need to do anything except download and run - inside any type of Ubuntu Xenial x64.

It has been designed for non experts.