Skip to content

Commit

Permalink
Merge pull request #155 from wenhu1024/fix/readme
Browse files Browse the repository at this point in the history
fix:  add `--init vectorAdd` to README linking example #156
  • Loading branch information
zhoujingya authored Dec 6, 2024
2 parents ea97b09 + 380a6dc commit 248085f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`)
Expand Down

0 comments on commit 248085f

Please sign in to comment.