Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: Aladin on June 09, 2020, 10:43:09 AM

Title: Python cross compilation for Picore
Post by: Aladin on June 09, 2020, 10:43:09 AM
hello all,

anyone help me for this :

Im using PiCore beta 10 with Rpi 3b+

Now i want compilation will generate an executable from my python program to transfer it to my rpi

Thus, the machine language used on a Raspberry Pi, which is based on ARM architecture, is different from the one used on a desktop computer, which uses the X86 architecture (32 or 64 bits).

I found just cross compilation c/c++ not for python

How can I make it ?

Title: Re: Python cross compilation for Picore
Post by: Juanito on June 09, 2020, 10:55:28 AM
It would be easier to compile natively on the RPi - it would also probably be better to use piCore-11.x rather than piCore-10.x, which is not actively maintained.
Title: Re: Python cross compilation for Picore
Post by: Aladin on June 09, 2020, 10:58:21 AM
It would be easier to compile natively on the RPi - it would also probably be better to use piCore-11.x rather than piCore-10.x, which is not actively maintained.

How to compile natively on the RPI
Title: Re: Python cross compilation for Picore
Post by: Juanito on June 09, 2020, 11:18:04 AM
Use the compiletc extension.

If you look under http://repo.tinycorelinux.net/11.x/armv7/tcz/src there are many examples.