Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: mayx on January 16, 2021, 12:30:32 PM

Title: Does piCore has tcc.tcz?
Post by: mayx on January 16, 2021, 12:30:32 PM
I can't install tcc when I use piCore 12.0. :-[
Can anyone to make one?
Title: Re: Does piCore has tcc.tcz?
Post by: Juanito on January 16, 2021, 12:40:06 PM
You can refer to: http://tinycorelinux.net/10.x/x86_64/tcz/src/tcc/

..but substitute "-march=armv6zk -mtune=arm1176jzf-s -mfpu=vfp" for "flto -fuse-linker-plugin -mtune=generic"
Title: Re: Does piCore has tcc.tcz?
Post by: bmarkus on January 25, 2021, 12:24:53 AM
According to https://bellard.org/tcc/

- tcc generates x86 code

- not maintained anymore

Do you want to crosscompile x86 code on RPi?
Title: Re: Does piCore has tcc.tcz?
Post by: jazzbiker on February 16, 2021, 03:55:57 AM
Hi, guys!

Tcc is actively developed at https://repo.or.cz/w/tinycc.git and unofficial mirror https://github.com/frida/tinycc. And I see arm-asm.c, arm-gen.c, arm-link.c, arm64-gen.c, arm64-link.c files present in the tree.

@mayx. I'm definitely try it a little bit later, I'm interested in compiling arm code on x86 host, I can share test results, if it will be interesting. And in case You will try to use this and have any results (positive or negative), please share them too.

Regards!