3 ms·
Related: Based on the Tiny C Compiler, a demo program ('TCCBOOT', also from Fabrice) mentioned in the "News" section in the URL from the OP was part of the QEMU
by kashyapc 10y ago
Related: Based on the Tiny C Compiler, a demo program ('TCCBOOT', also from Fabrice) mentioned in the "News" section in the URL from the OP was part of the QEMU Advent calendar:
http://www.qemu-advent-calendar.org/2016/#day-16
- agumonkey 10y agoI looked at the source thinking I could port it to newer kernels but .. alas it's way above my level.
- satysin 10y agoPerhaps it is above your level today but why not give it a shot anyway? You won't get to that level without pushing yourself.
- agumonkey 10y agoI gave it a shot, and it was way above my head. tccboot involves kernel trickery that Belliard himself wrote as not safe at all and just there to make it run a bit. I'm not even kernel developper level, I have no idea how I could migrate this to linux 3.x or 4.x.
- kashyapc 10y ago/me nods. While preparing that QEMU Advent image, I spent little (admittedly too little) time to see if I can get newer Kernels work with TCC, and quickly came to a somewhat similar conclusion. (While also realizing limits on my abilities - not a Kernel developer either). Also a quick look at the upstream tinycc-devel list tells me that, a patched 2.4.26 Kernel (32 bit) was still the latest compatible version with TCC -- https://lists.nongnu.org/archive/html/tinycc-devel/2015-11/msg00071.html https://lists.nongnu.org/archive/html/tinycc-devel/2015-11/m...
- agumonkey 10y agobrohug
- satysin 10y agoAt least you gave it a shot! There are loads of things I can't do but I almost always try a couple of times to push myself. Sometimes I find I really love it even though I suck at it and muddle through, sometime I just suck and find no enjoyment so move on quickly. But I always learn something new, either about myself or the technology or whatever it was I was looking into. I don't see any time spent on giving something I don't know a go as time wasted. Merry Christmas/Happy Holidays my HN-friend! Have a great end of 2016 and a happy and healthy start to 2017 :)