File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -150,7 +150,7 @@ specified *after* libc on the linker command line. The picolibc.specs
150150file 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
189189above. To build in this mode, you'll need to override a few default
190190picolibc configuration parameters:
191191
192- ``` sh
192+ ``` console
193193$ meson \
194194 -Dtls-model=global-dynamic \
195195 -Dmultilib=false \
@@ -228,7 +228,7 @@ $ meson \
228228
229229Once 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```
You can’t perform that action at this time.
0 commit comments