Andrius Å tikonas · @stikonas
18 followers · 110 posts · Server fosstodon.org

Spent part of my at looking at bootstrapping 0.9.26 from on architecture. And thanks to mantainer @janneke for his help debugging various issues. We can now build initial binary and it can even run some simple commands such as --help or -vv.

Unfortunately, we still hit some critical bugs when trying to use this tcc binary to rebuild itself but hopefully we are not far now.



#rechageday #amd #TinyCC #GNUmes #x86_64 #mes #tcc #bootstrappable #bootstrappablebuilds #reproduciblebuilds

Last updated 1 year ago

GateLinker · @gatelinker
7 followers · 42 posts · Server fosstodon.org

The only thing needed to compile a project with is:

`set(CMAKE_C_COMPILER tcc)`

when the TCC executable is in the path.

It might not be the best compiler, but it can act as a static library to offer compiler services to a client program.
And that feature is really great and otherwise known only in bloated frameworks.

TinyC did teach me how space efficient compilers can be.
Amazing!

en.wikipedia.org/wiki/Tiny_C_C

#cmake #TinyCC #c

Last updated 1 year ago

· @Shamar
255 followers · 2474 posts · Server qoto.org

@timorl

I used to trust .

I spent a huge amount of my free time over the last 2 years to port it to my operating system (a Plan 9 fork).

In fact, Jehanne has been the first Plan 9 fork to run a modern GCC (9.2.0) and compile C++ programs correctly.

Then, with the removal of by the GCC Steering Committee, I realized they cannot be trusted: gcc.gnu.org/pipermail/gcc/2021

Indeed they are discussing to leave in these days.

Now I'm exploring the alternatives.

So far, looks promising: bellard.org/tcc/

Other alternatives are listed here suckless.org/rocks/ but some requires either linker or assembler.

And while I obviously ported GNU binutils too, I prefer to avoid this toolchain since they are all showing they do not give a shit about free software, but about ", , , , or other big supporters" gcc.gnu.org/pipermail/gcc/2021

A serious alternative could be the 9front compiler suite that I dismissed years ago because I was still naive (dumb).

Also, it's urgent to design better programming languages, and for "better" I mean simpler both for humans and for compilers/interpreters. So that all people will be able to read the software they use.

But the point remains: if it cannot be completely read and understood in at most a month by a single professional programmer, it's broken beyond repair and need to be replaced.

#rms #gnu #TinyCC #ibm #google #facebook #arm #gcc

Last updated 3 years ago

· @Shamar
255 followers · 2474 posts · Server qoto.org

You know @ekaitz_zarraga?

I'm trying ! 😉

I gave a look to all the compilers at suckless.org/rocks/ but apparently is the most mature and the only one completelly self-sufficient.

BUT.

I do not know.

What it I restart from ?
No ELF. No . No... shit.

It took a huge amount of work to do all this in but... why going after so much complexity? Why not just restart from scratch?

Give a look at this:
gcc.gnu.org/pipermail/gcc/2021

Relying on (and on US-based software) is becoming a huge hazard.

Or more precisely, it's just proving to be such hazard and we were to naive to realize before.

We need to rebuild everything from scratch, anything that cannot be completely rebuilt in a month must be rewitten.

So what's the point of compatibility?

#TinyCC #tcc #9front #posix #jehanne #gnu

Last updated 4 years ago

Julien M. · @julm
485 followers · 4935 posts · Server framapiaf.org

: "Bootstrappable builds"
" is the combination of a interpreter written in and a compiler written in . The two parts are mutually self-hosting, so one can be built from the other (or from a separate binary compiler or interpreter). This has been used to halve the size of binaries (or "seeds") required to create a version of the ."
lwn.net/SubscriberLink/841797/

#TinyCC #Hex0 #Stage0 #nixos #debian #distribution #guix #bootstrap #c #scheme #mes #gnu #lwn

Last updated 4 years ago