Changes between Version 5 and Version 6 of kOptions


Ignore:
Timestamp:
Jun 4, 2008, 5:36:11 AM (11 years ago)
Author:
guest
Comment:

Document -Zargs-resp, Dave Yeo

Legend:

Unmodified
Added
Removed
Modified
  • kOptions

    v5 v6  
    1111  * -Zomf: compile and link using OMF format instead of a.out.
    1212  * -Zargs-wild: call {{{_wildcard()}}} (see below) automatically on startup
     13  * -Zargs-resp: call {{{_reponse()}}} (see below) automatically on startup
    1314  * -Zdll-search: Enables dlls as valid libraries. (default disabled)
    1415  * -Zsym: Invoke mapsym.cmd on the mapfile to produce a .sym file. Requires -Zmap
     
    1819
    1920These are mentioned in '''ReleaseNotes.os2''' but not sure what they do exactly:
    20   * -Zargs-resp: ??
    2121  * -Zhigh-low: ??
    2222  * -Zno-fork: turn off the {{{fork()}}} function?
     
    6161Finally, there are a couple of special functions which simplify porting of Unix programs:
    6262 * {{{_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.