Update cheatsheets

This commit is contained in:
ivuorinen
2025-03-27 00:18:38 +00:00
parent 5871f35fe8
commit 9fe6559a97
123 changed files with 660 additions and 357 deletions

View File

@@ -10,11 +10,11 @@ source: https://github.com/tldr-pages/tldr.git
- Compile a source file into a `libtool` object:
`libtool --mode=compile gcc -c {{path/to/source.c}} -o {{path/to/source.lo}}`
`libtool --mode=compile gcc {{[-c|--compile]}} {{path/to/source.c}} {{[-o|--output]}} {{path/to/source.lo}}`
- Create a library or an executable:
`libtool --mode=link gcc -o {{path/to/library.lo}} {{path/to/source.lo}}`
`libtool --mode=link gcc {{[-o|--output]}} {{path/to/library.lo}} {{path/to/source.lo}}`
- Automatically set the library path so that another program can use uninstalled `libtool` generated programs or libraries: