Hi list,

I've installed tinycc from mob branch without configure options.

When I try to compile any piece of code, the produced output is for x86_64 
architecture :

% echo "int main(int argc, char** argv) { return 0 ; }" > test.c
% tcc test.c
% lipo -info a.out
Non-fat file: a.out is architecture: x86_64
% ./a.out
illegal hardware instruction: ./a.out

Alternatively, I can't either compile a dynamic library with -shared, with the 
compilation error "tcc: error: _main not defined".

Am I missing something or is tcc not yet ready for Apple M1?

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

Reply via email to