Tiny Core Linux

Tiny Core Base => TCB Talk => Topic started by: meka on August 05, 2013, 05:34:32 AM

Title: Crosscompile for TinyCore 3.0
Post by: meka on August 05, 2013, 05:34:32 AM
Hello,

I'm new to TinyCore and am currently trying to explore a crosscompile toolchain setup targeted at a specific TinyCore version. For example I'm trying to build an application binary on a ubuntu build server but currently lack the corresponding crosscompile toolchain.

I've searching through the forum to find out if there is more to it than install compiletc, cmake and copy the complete tinycore system to the build server. And chroot to that directory during build? Since TinyCore ist often used in embedded devices... I was wondering if there are any guides to setup a crosscompile build for a TinyCore distribution?

Thanky you very much!
Title: Re: Crosscompile for TinyCore 3.0
Post by: Juanito on August 05, 2013, 05:41:29 AM
Do you want to cross-compile something for tinycore or to use tinycore to cross-compile for another machine?

Starting with tinycore and the compiletc extension, you can follow the clfs instructions to build for other machines or tinycore itself.
Title: Re: Crosscompile for TinyCore 3.0
Post by: curaga on August 05, 2013, 06:38:37 AM
Yes, such a chroot will work if you install them to the FS (-c switch to tce-load) instead of mounting.