[VENTUS][README] add `--init vectorAdd` to README linking example
This commit is contained in:
parent
ea97b09f8a
commit
380a6dcc57
|
@ -124,7 +124,7 @@ Then, run the commands listed as follows under the same directory.
|
|||
Linking `crt0` and `libclc`
|
||||
All the libclc workitem functions' implementation is included in `riscv32clc.o`
|
||||
```sh
|
||||
./install/bin/ld.lld -o vecadd.riscv -T utils/ldscripts/ventus/elf32lriscv.ld vecadd.o ./install/lib/crt0.o ./install/lib/riscv32clc.o -L./install/lib -lworkitem --gc-sections
|
||||
./install/bin/ld.lld -o vecadd.riscv -T utils/ldscripts/ventus/elf32lriscv.ld vecadd.o ./install/lib/crt0.o ./install/lib/riscv32clc.o -L./install/lib -lworkitem --gc-sections --init vectorAdd
|
||||
```
|
||||
|
||||
##### 4.1.3 Compile assembly code to object file (`.s` to `.o`)
|
||||
|
|
Loading…
Reference in New Issue