Update cheatsheets

This commit is contained in:
ivuorinen
2026-01-09 00:22:15 +00:00
parent 4c849cfc8a
commit ffe393201e
18 changed files with 43 additions and 40 deletions

View File

@@ -10,24 +10,24 @@ source: https://github.com/tldr-pages/tldr.git
- Create a static library from object files:
`lib /OUT :{{path/to/library.lib}} {{path/to/file1.obj path/to/file2.obj ...}}`
`lib /OUT :{{path o\library.lib}} {{path o ile1.obj path o ile2.obj ...}}`
- List the contents of a library:
`lib /LIST {{path/to/library.lib}}`
`lib /LIST {{path o\library.lib}}`
- Add an object file to an existing library:
`lib {{path/to/library.lib}} {{path/to/file.obj}}`
`lib {{path o\library.lib}} {{path o ile.obj}}`
- Remove an object file from a library:
`lib /REMOVE :{{path/to/file.obj}} {{path/to/library.lib}}`
`lib /REMOVE :{{path o ile.obj}} {{path o\library.lib}}`
- Extract an object file from a library:
`lib /EXTRACT :{{path/to/file.obj}} {{path/to/library.lib}}`
`lib /EXTRACT :{{path o ile.obj}} {{path o\library.lib}}`
- Create an import library from a DLL:
`lib /DEF :{{path/to/definition.def}} /OUT:{{path/to/import.lib}}`
`lib /DEF :{{path o\definition.def}} /OUT:{{path o\import.lib}}`