diff options
| author | KO Myung-Hun <komh78@gmail.com> | 2025-11-14 14:58:30 +0900 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-11-14 08:16:23 -0800 |
| commit | 9d9e620d0cdf6ac8fec1865f4ae69c52cb4ec85a (patch) | |
| tree | 67e1cfd7ecc4864895b519b9eb5395cc87a9ad5b /docs/markdown/snippets | |
| parent | 9d26b9713931ffe67c1b7ec79eb1e8c03839fd89 (diff) | |
| download | meson-9d9e620d0cdf6ac8fec1865f4ae69c52cb4ec85a.tar.gz | |
Add documentation for OS/2 support
Diffstat (limited to 'docs/markdown/snippets')
| -rw-r--r-- | docs/markdown/snippets/add_os2.md | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/markdown/snippets/add_os2.md b/docs/markdown/snippets/add_os2.md new file mode 100644 index 000000000..4539ce59c --- /dev/null +++ b/docs/markdown/snippets/add_os2.md @@ -0,0 +1,28 @@ +## Added OS/2 support + +Meson now supports OS/2 system. Especially, `shortname` kwarg and +`os2_emxomf` builtin option are introduced. + +`shortname` is used to specify a short DLL name fitting to a 8.3 rule. + +```meson +lib = library('foo_library', + ... + shortname: 'foo', + ... +) +``` + +This will generate `foo.dll` not `foo_library.dll` on OS/2. If +`shortname` is not used, `foo_libr.dll` which is truncated up to 8 +characters is generated. + +`os2_emxomf` is used to generate OMF files with OMF tool-chains. + +``` +meson setup --os2-emxomf builddir +``` + +This will generate OMF object files and `.lib` library files. If +`--os2-emxomf` is not used, AOUT object files and `.a` library files are +generated. |
