tiflolinux.org - GNU Social
  • Login

Bienvenido

  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. shamar@qoto.org's status on Thursday, 08-Apr-2021 19:45:51 CEST Shamar Shamar
    • Ekaitz Zárraga 👹

    You know @ekaitz_zarraga?

    I'm trying #TinyCC! 😉

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

    BUT.

    I do not know.

    What it I restart from #9front?No ELF. No #POSIX. No... shit.

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

    Give a look at this:https://gcc.gnu.org/pipermail/gcc/2021-April/235367.html

    Relying on #GNU (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?

    In conversation Thursday, 08-Apr-2021 19:45:51 CEST from qoto.org permalink

    Attachments

    1. No result found on File_thumbnail lookup.
      software that sucks less | suckless.org software that sucks less
    • shamar@qoto.org's status on Thursday, 08-Apr-2021 22:14:35 CEST Shamar Shamar
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga

      Did you look at https://git.simple-cc.org/scc/file/README.html

      The website it so minimalist it's hard to do anything but contact the developers: https://www.simple-cc.org/

      In conversation Thursday, 08-Apr-2021 22:14:35 CEST permalink
    • shamar@qoto.org's status on Thursday, 08-Apr-2021 22:19:21 CEST Shamar Shamar
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga

      I know nothing about it.

      I've just found it on suckless.org among the software that rocks.

      Yet seems to support amd64 and even run on plan9

      In conversation Thursday, 08-Apr-2021 22:19:21 CEST permalink
    • shamar@qoto.org's status on Thursday, 08-Apr-2021 22:47:11 CEST Shamar Shamar
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga Btw, I managed to cross compile cat.c from Linux to #Jehanne with TinyCC and run it on Jehanne.

      This means that, to some extent, static linking works.

      ```tcc cat.c -m64 -nostdinc -nostdlib -g -I$JEHANNE/sys/include -I$JEHANNE/arch/amd64/include -L$JEHANNE/arch/amd64/lib $JEHANNE/arch/amd64/lib/crt* -ljehanne -static -Wl,-section-alignment=1000```

      I had to modify tccelf.c to use _main instead of _start as the elf starting point.

      Tricky.And a very little step forward (cat.c is very simple)

      But a little hope.

      In conversation Thursday, 08-Apr-2021 22:47:11 CEST permalink
    • shamar@qoto.org's status on Thursday, 08-Apr-2021 23:37:31 CEST Shamar Shamar
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga

      Maybe the crt0.s and friends here might be useful (but they are x86_64 and specific of Jehanne) https://github.com/JehanneOS/jehanne/tree/master/sys/src/lib/jehanne/amd64

      In conversation Thursday, 08-Apr-2021 23:37:31 CEST permalink

      Attachments

      1. JehanneOS/jehanne
        Jehanne Operating System. Contribute to JehanneOS/jehanne development by creating an account on GitHub.
    • shamar@qoto.org's status on Thursday, 08-Apr-2021 23:37:31 CEST Shamar Shamar
      in reply to
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga they basically setup things that must occurs once just after a program exec()uted starts, like initializing the c library.

      But the only thing that crt0.s HAVE to do is to setup argc and argv and then call main() (in Jehanne it calls __jehanne_libc_init that will call main)

      In conversation Thursday, 08-Apr-2021 23:37:31 CEST permalink
    • shamar@qoto.org's status on Thursday, 08-Apr-2021 23:54:57 CEST Shamar Shamar
      • Ekaitz Zárraga 👹
      • theruran 🌐🏴

      @ekaitz_zarraga @theruran

      AFAIK they are provided by the C library (and usually also depends on the target architecture and os)

      In conversation Thursday, 08-Apr-2021 23:54:57 CEST permalink
    • theruran 🌐🏴 (theruran@hackers.town)'s status on Thursday, 22-Apr-2021 12:32:04 CEST theruran 🌐🏴 theruran 🌐🏴
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga Have you looked thru mescc-tools? It's a lot simpler, though unforgiving, and needs RISC-V support. @Shamar@qoto.org

      In conversation Thursday, 22-Apr-2021 12:32:04 CEST permalink
    • theruran 🌐🏴 (theruran@hackers.town)'s status on Thursday, 22-Apr-2021 12:42:47 CEST theruran 🌐🏴 theruran 🌐🏴
      • Ekaitz Zárraga 👹

      @ekaitz_zarraga more Guix woes? it has a guix.scm tho

      In conversation Thursday, 22-Apr-2021 12:42:47 CEST permalink

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

tiflolinux.org - GNU Social is a social network, courtesy of tiflolinux.org. It runs on GNU social, version 2.0.1-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All tiflolinux.org - GNU Social content and data are available under the Creative Commons Attribution 3.0 license.