Changes between Version 5 and Version 6 of kOptions
- Timestamp:
- Jun 4, 2008, 5:36:11 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
kOptions
v5 v6 11 11 * -Zomf: compile and link using OMF format instead of a.out. 12 12 * -Zargs-wild: call {{{_wildcard()}}} (see below) automatically on startup 13 * -Zargs-resp: call {{{_reponse()}}} (see below) automatically on startup 13 14 * -Zdll-search: Enables dlls as valid libraries. (default disabled) 14 15 * -Zsym: Invoke mapsym.cmd on the mapfile to produce a .sym file. Requires -Zmap … … 18 19 19 20 These are mentioned in '''ReleaseNotes.os2''' but not sure what they do exactly: 20 * -Zargs-resp: ??21 21 * -Zhigh-low: ?? 22 22 * -Zno-fork: turn off the {{{fork()}}} function? … … 61 61 Finally, there are a couple of special functions which simplify porting of Unix programs: 62 62 * {{{_wildcard (int *argc, char ***argv)}}}: Same as in EMX, i.e. it expands it's arguments like a unix shell would do (but OS/2 cmd.exe doesn't), so you typically want to use this when porting a unix command line application. Instead of adding this to a program, compilation with -Zargs-wild can be used. 63 * {{{_response (int *argc, char ***argv)}}}: Same as in EMX. Expand response files {{{(@FILENAME)}}}. The FILENAME contains a list of arguments, one per line. Arguments enclosed in double quotes will not be expanded. If a response file can not be opened, the argument is kept the same.