WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

Offline mayx

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

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14785
Re: Does piCore has tcc.tcz?
« Reply #1 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"

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Does piCore has tcc.tcz?
« Reply #2 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?
Béla
Ham Radio callsign: HA5DI

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

Offline jazzbiker

  • Hero Member
  • *****
  • Posts: 934
Re: Does piCore has tcc.tcz?
« Reply #3 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!