Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: bmarkus on October 08, 2012, 04:21:16 PM

Title: Compile programs native in piCore
Post by: bmarkus on October 08, 2012, 04:21:16 PM
Now the GCC C/C++ toolchain is available in the repo to compile programs and create .tcz extensions. Install compile-essentials.tcz meta-extension; it will load necessary tools, including GCC 4.6.3


You can start creating extensions using piCore.
Title: Re: Compile programs native in piCore
Post by: vinnie on October 08, 2012, 05:35:52 PM
thanks markus, I'll do some testing as soon as possible  ;)
Title: Re: Compile programs native in piCore
Post by: roberts on October 11, 2012, 10:41:41 AM
Found misnamed file compile-essentials.tcz.md5.txt.dep.
I renamed to compile-essentials.tcz.dep on server, you may want to check your master copy.
Still an issue as eglibc_base-dev.tcz listed in the dep file is not available.
Title: Re: Compile programs native in piCore
Post by: bmarkus on October 12, 2012, 03:07:22 AM
Found misnamed file compile-essentials.tcz.md5.txt.dep.
I renamed to compile-essentials.tcz.dep on server, you may want to check your master copy.
Still an issue as eglibc_base-dev.tcz listed in the dep file is not available.

Robert,

I submitted the corrected file and missing eglibc_base-dev.tcz 3 days ago :(
Title: Re: Compile programs native in piCore
Post by: bmarkus on October 14, 2012, 02:52:44 AM
Just sent a new version of eglibc_base-dev.tcz Now the C/C++ toolchain works on piCore as expected.
Title: Re: Compile programs native in piCore
Post by: cast-fish on October 16, 2012, 07:43:07 AM
Now the GCC C/C++ toolchain is available in the repo to compile programs and create .tcz extensions. Install compile-essentials.tcz meta-extension; it will load necessary tools, including GCC 4.6.3


You can start creating extensions using piCore.

Hello, where-abouts is the step by step guide to compile a .tcz extension?. Presumably you start off with a .deb file of some Linux application together with it's dependancy's and go from there?.

  Wasn't Roberts working on some magic tool that would allow piCORE to grab any .deb application and magically get it into .tcz form?

thanks

V.
Title: Re: Compile programs native in piCore
Post by: cast-fish on October 16, 2012, 07:44:51 AM
Hello

Meant to say, you start off the with .scr file of some Linux app (source code) and all it's dependancy's
and then how do you compile it?....where are those step by step instuctions?

V.
Title: Re: Compile programs native in piCore
Post by: bmarkus on October 16, 2012, 07:51:09 AM
Hello

Meant to say, you start off the with .scr file of some Linux app (source code) and all it's dependancy's
and then how do you compile it?....where are those step by step instuctions?

V.

Building extensions, compiling programs is the same on piCore as in x86 version, except CPU specific compiler options. It means WIKI article is valid.

Toolchain is working, I'm building new extensions in piCorea.