ucb-bar / esp-llvm

UCB-BAR fork of LLVM! NOT UPSTREAM RISCV LLVM
Other
123 stars 55 forks source link

Does riscv-llvm support compile of libraries? #47

Open Readm opened 6 years ago

Readm commented 6 years ago

in README:

$ clang -target riscv64 -mriscv=RV64IAMFD -S hello.c -o hello.S
$ riscv64-unknown-elf-gcc -o hello.riscv hello.S

Which means the linking is in the riscv64-unknown-elf-gcc, and libraries is old ones in riscv-tools. So how can I recompile libraries with clang?