Changeset 2692 for trunk/emx/src/emxomf/emxomfld.c
- Timestamp:
- Apr 11, 2006, 12:50:06 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx/src/emxomf/emxomfld.c
r2691 r2692 1050 1050 if (!stricmp(linker_type, "LINK386")) 1051 1051 fFlags |= WLDC_LINKER_LINK386; 1052 else if (!stricmp(linker_type, "WLINK")) 1053 fFlags |= WLDC_LINKER_WLINK; 1052 1054 1053 1055 for (pOpt = options; pOpt; pOpt = pOpt->next) … … 1443 1445 response_file = NULL; 1444 1446 } 1445 if (response_fname[0] != '\0') 1446 { 1447 remove (response_fname); 1448 response_fname[0] = '\0'; 1449 } 1450 if (weakobj_fname[0] != '\0') 1451 { 1452 remove (weakobj_fname); 1453 weakobj_fname[0] = '\0'; 1454 } 1455 if (weakdef_fname[0] != '\0') 1456 { 1457 remove (weakdef_fname); 1458 weakdef_fname[0] = '\0'; 1459 } 1460 for (; conv_list; conv_list = conv_list->next) 1461 remove (conv_list->name); 1447 if (opt_t <= 1) 1448 { 1449 if (response_fname[0] != '\0') 1450 { 1451 remove (response_fname); 1452 response_fname[0] = '\0'; 1453 } 1454 if (weakobj_fname[0] != '\0') 1455 { 1456 remove (weakobj_fname); 1457 weakobj_fname[0] = '\0'; 1458 } 1459 if (weakdef_fname[0] != '\0') 1460 { 1461 remove (weakdef_fname); 1462 weakdef_fname[0] = '\0'; 1463 } 1464 for (; conv_list; conv_list = conv_list->next) 1465 remove (conv_list->name); 1466 } 1462 1467 } 1463 1468 … … 1469 1474 "Copyright (c) 1992-1996 by Eberhard Mattes\n" 1470 1475 "Copyright (c) 2003 by InnoTek Systemberatung GmbH\n" 1471 "Copyright (c) 2003-200 4by Knut St. Osmundsen\n"1476 "Copyright (c) 2003-2006 by Knut St. Osmundsen\n" 1472 1477 "\n", stderr); 1473 1478 fputs ("Usage: emxomfld -o <file> [-l <lib>] [-L <libdir>] [-T <base>] [-igtsS]\n" … … 1652 1657 case 't': 1653 1658 case 'i': /* Trace the linking process, sending /INFO to the IBM/M$ linker. */ 1654 opt_t = TRUE;1659 opt_t++; 1655 1660 break; 1656 1661 … … 2085 2090 /* standard stuff */ 2086 2091 2087 //if (!strip_symbols)2088 // put_arg ("debug hll", FALSE, FALSE);2092 if (!strip_symbols) 2093 fprintf (response_file, "DEBUG HLL\n"); 2089 2094 fprintf (response_file, "OPTION QUIET\n"); 2090 2095 fprintf (response_file, "OPTION OSNAME='OS/2 EMX'\n"); … … 2112 2117 /* Add the linker options specified with -O. */ 2113 2118 2114 put_args (options, FALSE); 2119 for (pcur = options; pcur; pcur = pcur->next) 2120 fprintf (response_file, "%s\n", pcur->name); 2115 2121 2116 2122 /* Put the object file names onto the command line. */
Note:
See TracChangeset
for help on using the changeset viewer.