Hi all. I'm on mac osx 13 ventura on an M2. Is there something I need to do 
besides the classic `./configure; make; make install`? Below is my hello world 
which runs if I execute with -run but instantly crashes if I run from a binary. 
I'm using the latest git which is 079692016ded4eed1119eb9b8b7996629d2179f5. I 
looked into release_0_9_27 but that from 2017 which is several years before the 
M1 let alone M2 and ventura

a.c

        #include <stdio.h>
        int main() {
                puts("Hello");
                return 0;
        }


In bash

        $ ./tcc a.c -run
        Hello

        $ ./tcc a.c; ./a.out; echo $?
        Killed: 9
        137

        $ tcc a.c; ./a.out; echo $?
        Killed: 9
        137


_______________________________________________
Tinycc-devel mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/tinycc-devel

Reply via email to