Ignore:
Timestamp:
Apr 11, 2006, 4:49:20 AM (19 years ago)
Author:
bird
Message:

#89: wlink is now default. Fixed exp=int$w$ problem with wlink.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/emx/src/emxomf/emxomfld.c

    r2692 r2693  
    152152/* The name of the linker to use.  By default, ilink is used.  This
    153153   can be overridden with the EMXOMFLD_LINKER environment variable. */
    154 static const char *linker_name = "ilink.exe";
     154static const char *linker_name = "wlink.exe";
    155155
    156156/* The type of linker to use. By default we assume it's VAC365 or later
    157157   version of ilink. This can be overridden with the EMXOMFLD_TYPE env.
    158    var. using any of the value VAC365, VAC308 and LINK386. */
    159 static const char *linker_type = "VAC365";
     158   var. using any of the values WLINK, VAC365, VAC308 and LINK386. */
     159static const char *linker_type = "WLINK";
    160160
    161161/* Non-zero if emxomfld should automatically convert a.out objects and
     
    12861286        /** @todo _MDEP_NONAME */
    12871287        fprintf (response_file, "\n");
     1288
     1289        /* reference the internal name. */
     1290        if (stmt->export.internalname[0])
     1291          fprintf (response_file, "REFERENCE '%s'\n", stmt->export.internalname);
    12881292        break;
    12891293
     
    14991503  fputs ("Environment variables:\n"
    15001504         "  EMXOMFLD_TYPE:\n"
    1501          "    The type of linker we're using. Values: VAC365, VAC308, LINK386, WLINK.\n"
     1505         "    The type of linker we're using. Values: WLINK, VAC365, VAC308, LINK386.\n"
     1506         "        WLINK    wlink.exe from Open Watcom v1.5 or later.\n"
    15021507         "        VAC365   ilink.exe from IBM C and C++ Compilers for OS/2 v3.6 or later.\n"
    15031508         "        VAC308   ilink.exe from Visual Age for C++ v3.08.\n"
    1504          "        LINK386  link386 form OS/2 install or DDK.\n"
    1505          "        WLINK    wlink.exe from Open Watcom v1.4 or later. (experimental)\n", stderr);
     1509         "        LINK386  link386 form OS/2 install or DDK.\n", stderr);
    15061510  fputs ("  EMXOMFLD_LINKER:\n"
    15071511         "    Name of the linker to use and optionally extra parameters. Spaces in the\n"
    15081512         "    linker name or path is not supported. Quotes are not supported either.\n"
    1509          "The default values for these two variables are VAC365 and ilink.exe.\n", stderr);
     1513         "The default values for these two variables are WLINK and wlink.exe.\n", stderr);
    15101514  exit (1);
    15111515}
     
    17991803  t = getenv ("EMXOMFLD_TYPE");
    18001804  if (    t
     1805      &&  stricmp(t, "WLINK")
    18011806      &&  stricmp(t, "VAC365")
    18021807      &&  stricmp(t, "VAC308")
    18031808      &&  stricmp(t, "LINK386")
    1804       &&  stricmp(t, "WLINK")
    18051809      )
    18061810    fprintf (stderr, "emxomfld: warning: '%s' is an invalid value for EMXOMFLD_TYPE.\n", t);
     
    18581862    {
    18591863      /*
    1860          For VAC365 and VAC308 the default options is:
     1864         For VAC365 and VAC308 the default options are:
    18611865
    18621866         /NOFR[EEFORMAT]    Use /NOFREEFORMAT to allow a LINK386-compatible
     
    18741878                            executables instead of the default on for the linker.
    18751879
    1876          For LINK386 the default options is:
     1880         For LINK386 the default options are:
    18771881
    18781882         /BATCH             Run in batch mode (disable prompting, don't
Note: See TracChangeset for help on using the changeset viewer.