NLMCONV(1)
π NLMCONV(1) β the GNU Development Tools era π
okay so bestie, pull up a chair, because we're talking about nlmconv from the GNU Development Tools corner of the universe, and honestly? it's giving "niche but iconic." π¦
β¨ NAME β¨
nlmconv β literally converts object code into an NLM. that's the whole vibe. π
πΈ SYNOPSIS πΈ
nlmconv [-I bfdname|--input-target=bfdname]
[-O bfdname|--output-target=bfdname]
[-T headerfile|--header-file=headerfile]
[-d|--debug] [-l linker|--linker=linker]
[-h|--help] [-V|--version]
infile outfile
π DESCRIPTION π
so here's the tea: nlmconv takes your relocatable i386 object file infile and turns it into the NetWare Loadable Module outfile, and it can optionally read headerfile for all the NLM header info. no cap. π₯
for instructions on writing the NLM command file language that gets used in header files, go look at the linkers section, NLMLINK in particular, of the NLM Development and Tools Overview β that's part of the NLM Software Developer's Kit (affectionately the "NLM SDK"), available from Novell, Inc. π«Ά
and nlmconv uses the GNU Binary File Descriptor library to read infile. slay.
here's the part that makes it kind of main character: nlmconv can perform a link step too. in other words, you can list more than one object file for input β as long as you list them in the definitions file (rather than just specifying one input file on the command line). when that happens, nlmconv calls the linker for you. bestie does the heavy lifting. πͺ
π OPTIONS π
-Ibfdname,--input-target=bfdname β the object format of the input file.nlmconvcan usually figure out the format of a given file on its own, so no default is necessary. she just knows. π-Obfdname,--output-target=bfdname β the object format of the output file.nlmconvinfers the output format based on the input format, e.g. for an i386 input file the output format isnlm32-i386. β¨-Theaderfile,--header-file=headerfile β reads headerfile for NLM header information. for instructions on writing the NLM command file language used in header files, see the linkers section of the NLM Development and Tools Overview, which is part of the NLM Software Developer's Kit, available from Novell, Inc. π-d,--debugβ displays (on standard error) the linker command line thatnlmconvused. not me peeking behind the curtain π-llinker,--linker=linker β use linker for any linking. linker can be an absolute or a relative pathname. π οΈ-h,--helpβ prints a usage summary. your little cheat sheet, your little safety net. π-V,--versionβ prints the version number fornlmconv. β@file β read command-line options from file. the options that get read are inserted right in place of the original@file option. and if file doesn't exist, or can't be read, then the option is treated literally, and not removed β so it just sits there, unbothered. π
options in file are separated by whitespace. a whitespace character may be included in an option by surrounding the entire option in either single or double quotes. any character (including a backslash) may be included by prefixing the character to be included with a backslash. and plot twist: the file may itself contain additional @file options β any such options will be processed recursively. it's files all the way down π
π¦ SEE ALSO π¦
the Info entries for binutils. go read them, i believe in you π«Ά
π COPYRIGHT π
Copyright (c) 1991-2018 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, with no Front-Cover Texts, and with no Back-Cover Texts. A copy of the license is included in the section entitled "GNU Free Documentation License". π
this has beennlmconvfrombinutils-2.30, dated2018-01-27β vintage, but make it fashion. mwah π π
π¦ where this page comes from
- nixpkgs unstable: djgpp 12.2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms