Skip to content

Commit

Permalink
Some notes about options
Browse files Browse the repository at this point in the history
  • Loading branch information
prokushev committed Oct 18, 2024
1 parent 10e905c commit 2c42b99
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion tools/bind/bind.c
Original file line number Diff line number Diff line change
Expand Up @@ -348,6 +348,9 @@ int main(int argc, char *argv[])
{
case 'm':
case 'M':
// todo: default mapfile using input filename
// todo: default extenwion is a BM
// todo: check is it really filename or next option
if (!strnicmp(optarg, "AP", 2))
{
strcpy(options.mapfile, argv[optind]);
Expand All @@ -366,6 +369,7 @@ int main(int argc, char *argv[])
break;
}

// todo: add NAMES support and /NAMES @list support
if (!strncmp(_strupr(optarg), "AMES", 4))
{
printf("NAMES\n");
Expand Down Expand Up @@ -440,10 +444,10 @@ int main(int argc, char *argv[])
// wlink.exe, doscalls.lib/os2.lib, api.lib

// Check wlink.exe
// @todo search using WATCOM env
_searchenv( "wlink.exe", "PATH", full_path );
if(!full_path[0] == '\0')
{
// @todo search using WATCOM env
// Check os2.lib
_searchenv( "os2.lib", "LIB", full_path );
if(full_path[0] == '\0')
Expand Down

0 comments on commit 2c42b99

Please sign in to comment.