Changeset 2693 for trunk/emx/src/emxomf/emxomfld.c
- Timestamp:
- Apr 11, 2006, 4:49:20 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx/src/emxomf/emxomfld.c
r2692 r2693 152 152 /* The name of the linker to use. By default, ilink is used. This 153 153 can be overridden with the EMXOMFLD_LINKER environment variable. */ 154 static const char *linker_name = " ilink.exe";154 static const char *linker_name = "wlink.exe"; 155 155 156 156 /* The type of linker to use. By default we assume it's VAC365 or later 157 157 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. */ 159 static const char *linker_type = "WLINK"; 160 160 161 161 /* Non-zero if emxomfld should automatically convert a.out objects and … … 1286 1286 /** @todo _MDEP_NONAME */ 1287 1287 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); 1288 1292 break; 1289 1293 … … 1499 1503 fputs ("Environment variables:\n" 1500 1504 " 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" 1502 1507 " VAC365 ilink.exe from IBM C and C++ Compilers for OS/2 v3.6 or later.\n" 1503 1508 " 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); 1506 1510 fputs (" EMXOMFLD_LINKER:\n" 1507 1511 " Name of the linker to use and optionally extra parameters. Spaces in the\n" 1508 1512 " 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); 1510 1514 exit (1); 1511 1515 } … … 1799 1803 t = getenv ("EMXOMFLD_TYPE"); 1800 1804 if ( t 1805 && stricmp(t, "WLINK") 1801 1806 && stricmp(t, "VAC365") 1802 1807 && stricmp(t, "VAC308") 1803 1808 && stricmp(t, "LINK386") 1804 && stricmp(t, "WLINK")1805 1809 ) 1806 1810 fprintf (stderr, "emxomfld: warning: '%s' is an invalid value for EMXOMFLD_TYPE.\n", t); … … 1858 1862 { 1859 1863 /* 1860 For VAC365 and VAC308 the default options is:1864 For VAC365 and VAC308 the default options are: 1861 1865 1862 1866 /NOFR[EEFORMAT] Use /NOFREEFORMAT to allow a LINK386-compatible … … 1874 1878 executables instead of the default on for the linker. 1875 1879 1876 For LINK386 the default options is:1880 For LINK386 the default options are: 1877 1881 1878 1882 /BATCH Run in batch mode (disable prompting, don't
Note:
See TracChangeset
for help on using the changeset viewer.