WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: What processors is piCore compiled for?  (Read 3061 times)

Offline gadget42

  • Hero Member
  • *****
  • Posts: 663
Re: What processors is piCore compiled for?
« Reply #15 on: December 01, 2023, 03:09:19 AM »
the whole world is a supermarket tabloid - unknown
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1089
Re: What processors is piCore compiled for?
« Reply #16 on: December 01, 2023, 03:42:52 AM »
It’s obvious that person has no idea what they are doing.  It’s always necessary to need that stuff when cross compiling.

Offline gadget42

  • Hero Member
  • *****
  • Posts: 663
Re: What processors is piCore compiled for?
« Reply #17 on: December 01, 2023, 03:50:37 AM »
It’s obvious that person has no idea what they are doing.  It’s always necessary to need that stuff when cross compiling.

to clarify, she said "So, I went and did a build on the B+ natively. It also broke."

are you saying that that is cross-compiling?
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1089
Re: What processors is piCore compiled for?
« Reply #18 on: December 01, 2023, 04:20:35 AM »
If the compiler was not built on armv6, then it’s always a problem.

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1089
Re: What processors is piCore compiled for?
« Reply #19 on: December 01, 2023, 06:00:10 AM »
Perhaps I was being too sensational in my response too.   But to elaborate.   I doubt there is a single distribution keeping separate repositories for every processor.  Even piCore, where we have an armv6, armv7, armv7l the code in those repositories is not natively compiled.  Also in piCore's case gcc is built on an armv7l processor gcc is configured by the maintainer to produce code compiled for armv6, and for the most part will do that for the casual user who builds code like

gcc -o foo foo.c

It is true that Clang/LLVM is much more restrictive in the code that it produces by default.   But it has been that way, and you should always specify the desired target.  If you download some source for a programs distribution, almost all of them use some sort of configure system (autoconf/libtool, meson, etc)  The job of the configure system is to determine the host compiler and the target. Which then tells gcc/clang specifically what to do.


Offline gadget42

  • Hero Member
  • *****
  • Posts: 663
Re: What processors is piCore compiled for?
« Reply #20 on: December 01, 2023, 07:11:16 AM »
reminded of Bruce Schneier's 2006 post and referencing David A. Wheeler regarding trusting-trust and compiling-compilers

for reader convenience:
Mr. Schneier:
https://www.schneier.com/blog/archives/2006/01/countering_trus.html
Mr. Wheeler:
https://dwheeler.com/trusting-trust/

thought-provoking nevertheless

@Paul_123
as always, thank you and kudos for your considerations and thoughts!

20231201-0914am-cdt-usa-modified: originally forgot to add @Paul_123 comment
« Last Edit: December 01, 2023, 07:14:40 AM by gadget42 »
The fluctuation theorem has long been known for a sudden switch of the Hamiltonian of a classical system Z54 . For a quantum system with a Hamiltonian changing from... https://forum.tinycorelinux.net/index.php/topic,25972.msg166580.html#msg166580