WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Does piCore has tcc.tcz?  (Read 1492 times)

Offline mayx

  • Newbie
  • *
  • Posts: 1
Does piCore has tcc.tcz?
« on: January 16, 2021, 09:30:32 AM »
I can't install tcc when I use piCore 12.0. :-[
Can anyone to make one?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14516
Re: Does piCore has tcc.tcz?
« Reply #1 on: January 16, 2021, 09:40:06 AM »
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"

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Does piCore has tcc.tcz?
« Reply #2 on: January 24, 2021, 09:24:53 PM »
According to https://bellard.org/tcc/

- tcc generates x86 code

- not maintained anymore

Do you want to crosscompile x86 code on RPi?
Béla
Ham Radio callsign: HA5DI

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

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 933
Re: Does piCore has tcc.tcz?
« Reply #3 on: February 16, 2021, 12: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!