tinycc-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Tinycc-devel] tcc doesn't work on OSX unless used via -run which isn't


From: Timothee Cour
Subject: [Tinycc-devel] tcc doesn't work on OSX unless used via -run which isn't sufficient for most use cases
Date: Sun, 6 Jan 2019 19:10:28 -0800

compiling any hello world program with tcc gives:
tcc main.c
```
tcc: error: file 'crt1.o' not found
tcc: error: file 'crti.o' not found
In file included from
/Users/timothee/git_clone//nim//timn//tests/nim/all/t0089.c:5:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/stdio.h:64:
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/_stdio.h:68:
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/sys/cdefs.h:81:
warning: #warning "Unsupported compiler detected"
/usr/lib/libc.dylib: error: bad architecture
tcc: error: library 'c' not found
tcc: error: file 'crtn.o' not found
tcc: error: undefined symbol 'printf'
```

I've seen a few posts on this, and
https://tinycc-devel.nongnu.narkive.com/J0YTPaq4/tcc-build-on-osx was
last updated 3 years ago.

I also see that `tcc -run` seems to work but it's insufficient for
almost all applications, including some REPL's whose implementation
depends on having intermediate object/shared library/executable file.

Is there any plan on supporting OSX?

Side Note: I really wish https://github.com/tinycc/tinycc/issues was
used for tracking issues, using mailing list feels so outdated and
inefficient



reply via email to

[Prev in Thread] Current Thread [Next in Thread]