tinycc-devel
[Top][All Lists]
Advanced

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

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


From: Timothee Cour
Subject: Re: [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:33:15 -0800

not appearing in
http://lists.nongnu.org/archive/html/tinycc-devel/2019-01/index.html
so I'm following up here: https://github.com/TinyCC/tinycc/issues/8
(would rather use github issues if possible, but if you guys prefer
mailing list, fine too)

On Sun, Jan 6, 2019 at 7:10 PM Timothee Cour <address@hidden> wrote:
>
> 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



-- 
Timothee Cour



reply via email to

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