We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A linking failure, at least with the latest tcc (4410dbd):
cc -o tcc tcc.o libtcc.a -lm -lpthread -g ld: error: undefined symbol: tcc_new >>> referenced by tcc.c:283 >>> lto.tmp:(main)
etc. The following fixes it:
diff --git a/buildtcc.sh b/buildtcc.sh index 32faa74..81bc042 100644 --- a/buildtcc.sh +++ b/buildtcc.sh @@ -11,7 +11,7 @@ git clone git://repo.or.cz/tinycc.git cd tinycc export CC=cc -export CFLAGS='-O3 -flto' +export CFLAGS='-O3' ./configure \ --prefix=thirdparty/tcc \
Ideally the script should exit 1 when any step fails rather than try to copy things in v/thirdparty/tcc
exit 1
v/thirdparty/tcc
The text was updated successfully, but these errors were encountered:
No branches or pull requests
A linking failure, at least with the latest tcc (4410dbd):
etc. The following fixes it:
Ideally the script should
exit 1
when any step fails rather than try to copy things inv/thirdparty/tcc
The text was updated successfully, but these errors were encountered: