Skip to content

Commit 4d3e079

Browse files
meme8383keith-packard
authored andcommitted
Update os.md
1 parent b98b9d0 commit 4d3e079

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/os.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ specified *after* libc on the linker command line. The picolibc.specs
150150
file provides a way to specify a library after libc using the
151151
`--oslib=` parameter:
152152
153-
```sh
153+
```console
154154
$ gcc -o program.elf program.o --oslib=myos
155155
```
156156

@@ -189,7 +189,7 @@ underlying system C library is used for the POSIX functions described
189189
above. To build in this mode, you'll need to override a few default
190190
picolibc configuration parameters:
191191

192-
```sh
192+
```console
193193
$ meson \
194194
-Dtls-model=global-dynamic \
195195
-Dmultilib=false \
@@ -228,7 +228,7 @@ $ meson \
228228

229229
Once built, you can install and use picolibc on the host:
230230

231-
```sh
231+
```console
232232
$ cc -I/usr/local/lib/picolibc/include hello-world.c \
233233
/usr/local/lib/picolibc/lib/libc.a
234234
```

0 commit comments

Comments
 (0)