Generate binaries for 64-bit targets
This commit is contained in:
parent
70bdf2f2f7
commit
427c3b9035
@ -10,7 +10,11 @@ rm -f bin/*.a
|
||||
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32imac asm.S -o bin/$crate.o
|
||||
riscv64-unknown-elf-gcc -c -mabi=ilp32 -march=rv32imac asm32.S -o bin/$crate-32.o
|
||||
ar crs bin/riscv32imac-unknown-none-elf.a bin/$crate.o bin/$crate-32.o
|
||||
cp bin/riscv32imac-unknown-none-elf.a bin/riscv32imc-unknown-none-elf.a
|
||||
ar crs bin/riscv32imc-unknown-none-elf.a bin/$crate.o bin/$crate-32.o
|
||||
|
||||
riscv64-unknown-elf-gcc -c -mabi=lp64 -march=rv64imac asm.S -o bin/$crate.o
|
||||
ar crs bin/riscv64imac-unknown-none-elf.a bin/$crate.o
|
||||
ar crs bin/riscv64gc-unknown-none-elf.a bin/$crate.o
|
||||
|
||||
rm bin/$crate.o
|
||||
rm bin/$crate-32.o
|
||||
|
BIN
bin/riscv64gc-unknown-none-elf.a
Normal file
BIN
bin/riscv64gc-unknown-none-elf.a
Normal file
Binary file not shown.
BIN
bin/riscv64imac-unknown-none-elf.a
Normal file
BIN
bin/riscv64imac-unknown-none-elf.a
Normal file
Binary file not shown.
Loading…
Reference in New Issue
Block a user