[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Tinycc-devel] tcc binary instantly crashes on mac osx venture m2
From: |
Levo D |
Subject: |
[Tinycc-devel] tcc binary instantly crashes on mac osx venture m2 |
Date: |
Sun, 11 Dec 2022 23:57:47 +0000 (UTC) |
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] tcc binary instantly crashes on mac osx venture m2,
Levo D <=