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
When I run "./tcc" in ubuntu8, I got "glibc_2.11" not found error.
I think you guys should use alpine + musl-gcc to do the compile.
It is as simple as:
musl-gcc main.c -o main.run -static
Don' forget about the static flag.
The text was updated successfully, but these errors were encountered:
I just found "https://github.com/vlang/tccbin/tree/thirdparty-linuxmusl-amd64"
Which has musl staticlly compiled tcc, I can run the tcc in ubuntu8 now.
musl
tcc
ubuntu8
But when I compile main.c, I got another error: "crt1.o not found \n include file stdio.h not found"
main.c
I think there should has a install.sh script without rely on make, because ubuntu8 does not have make installed by default
install.sh
make
I am still try to figure out how to install the tccbin by copy and paste, working on...
tccbin
Sorry, something went wrong.
I suddenly found the tccbin does not have those files: "crt1.o" and "stdio.h"
According to my memory, even if I use gcc or make to compile the tcc, it will still not have a file called "crt1.o" or "stdio.h"
gcc
So the thirdpart-linuxmusl-amd64 branch is not a fully version that could let you compile a c file without install make or gcc or any other package
thirdpart-linuxmusl-amd64 branch
Am I right? Can anyone do a explain?
No branches or pull requests
When I run "./tcc" in ubuntu8, I got "glibc_2.11" not found error.
I think you guys should use alpine + musl-gcc to do the compile.
It is as simple as:
The text was updated successfully, but these errors were encountered: