Skip to content
New issue

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

Update musl build instructions #46

Open
kiwidoggie opened this issue May 21, 2020 · 2 comments
Open

Update musl build instructions #46

kiwidoggie opened this issue May 21, 2020 · 2 comments

Comments

@kiwidoggie
Copy link

Hello, I am currently stuck on these instructions, they appear to be really out of date: https://wiki.musl-libc.org/building-llvm.html

I'm unsure of what needs to be changed in order for it to build correctly, I've tried building on my own and I keep getting gnu dependencies being brought into the project.

@chaozju
Copy link

chaozju commented Jun 12, 2020

@kiwidoggie
Hi Did you find a way to fix these step?

These .S seem to no-longer be there.

curl -LO https://raw.github.com/path64/compiler/master/src/csu/elf-x86_64/crtbegin.S
curl -LO https://raw.github.com/path64/compiler/master/src/csu/elf-x86_64/crtend.S

as ../crtbegin.S -o /lib/clang/3.4/crtbegin.o
ln /lib/clang/3.4/crtbegin.o /lib/clang/3.4/crtbeginS.o
ln /lib/clang/3.4/crtbegin.o /lib/clang/3.4/crtbeginT.o
as ../crtend.S -o /lib/clang/3.4/crtend.o
ln /lib/clang/3.4/crtend.o /lib/clang/3.4/crtendS.o
ln /lib/clang/3.4/crtend.o /lib/clang/3.4/crtendT.o

@kiwidoggie
Copy link
Author

@chaozju I have not sadly

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants