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

Add make llvm-source to build from source instructions #304

Open
soypat opened this issue Oct 27, 2022 · 0 comments
Open

Add make llvm-source to build from source instructions #304

soypat opened this issue Oct 27, 2022 · 0 comments

Comments

@soypat
Copy link
Contributor

soypat commented Oct 27, 2022

As title says. This prevents some errors like when attempting to flash to a raspberry Pi Pico e.g:

$ tinygo flash -target=pico .
clang: error: no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/absvti2.c'
clang: error: no input files
clang: error: no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/addtf3.c'
clang: error: clang: clangclangno input files: : error: 
error: error: no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/absvdi2.c'no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/adddf3.c'
no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/addsf3.c'

clangclang: clang: : clangerror: error: clang: error: : no input fileserror: no input filesno input fileserror: 


no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/absvsi2.c'no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/addvsi3.c'

clang: clang: error: error: no input filesno input files

clang: error: no such file or directory: '/home/pato/src/tg/tinygo/lib/compiler-rt-builtins/addvdi3.c'
clang: error: no input files
error: failed to build /home/pato/src/tg/tinygo/lib/compiler-rt-builtins/addvsi3.c: exit status 1

After make llvm-source:

$ tinygo flash -target=pico .
error: failed to flash /tmp/tinygo4208001301/main.uf2: unable to locate device: RPI-RP2
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

1 participant