WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Compile programs native in piCore  (Read 10228 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Compile programs native in piCore
« on: October 08, 2012, 07: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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline vinnie

  • Hero Member
  • *****
  • Posts: 1187
  • HandMace informatic works
Re: Compile programs native in piCore
« Reply #1 on: October 08, 2012, 08:35:52 PM »
thanks markus, I'll do some testing as soon as possible  ;)

Offline roberts

  • Retired Admins
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Compile programs native in piCore
« Reply #2 on: October 11, 2012, 01:41:41 PM »
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.
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compile programs native in piCore
« Reply #3 on: October 12, 2012, 06: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 :(
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compile programs native in piCore
« Reply #4 on: October 14, 2012, 05:52:44 AM »
Just sent a new version of eglibc_base-dev.tcz Now the C/C++ toolchain works on piCore as expected.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: Compile programs native in piCore
« Reply #5 on: October 16, 2012, 10: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.

Offline cast-fish

  • Hero Member
  • *****
  • Posts: 1000
  • hi there
Re: Compile programs native in piCore
« Reply #6 on: October 16, 2012, 10: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.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Compile programs native in piCore
« Reply #7 on: October 16, 2012, 10: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.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."