Changeset 3417
- Timestamp:
- Jun 13, 2007, 7:58:20 PM (18 years ago)
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/libc-0.6/src/emx/src/emxomf/emxomfld.c
r3290 r3417 164 164 static const char *linker_type = "VAC365"; 165 165 166 /* The name of the resource compiler to use. By default, rc is used. 166 /* The name of the resource compiler to use. By default, rc is used. 167 167 This can be overridden with the EMXOMFLD_RC environment variable. */ 168 168 static const char *rc_name = "rc.exe"; 169 169 170 /* The type of resource compiler to use. By default we assume it's 171 IBM resource compiler. This can be overridden with the EMXOMFLD_RC_TYPE 170 /* The type of resource compiler to use. By default we assume it's 171 IBM resource compiler. This can be overridden with the EMXOMFLD_RC_TYPE 172 172 env. var. using any of the values RC, WRC. */ 173 173 static const char *rc_type = "RC"; … … 2118 2118 if (errno || *t) 2119 2119 { 2120 fprintf (stderr, "emxomfld: Number conversion failed: '%s'\n", pcur->name);2120 fprintf (stderr, "emxomfld: Number conversion failed: '%s'\n", pcur->name); 2121 2121 return 1; 2122 2122 } … … 2126 2126 else if (!strnicmp (&pcur->name[1], "PACKCODE", MAX (cchOpt, 5)) 2127 2127 || !strnicmp (&pcur->name[1], "NOPACKCODE", MAX (cchOpt, 3)) 2128 || !strnicmp (&pcur->name[1], "PACKDATA", MAX (cchOpt, 5)) 2129 || !strnicmp (&pcur->name[1], "NOPACKDATA", MAX (cchOpt, 7)) 2128 2130 || !strnicmp (&pcur->name[1], "EXEPACK", MAX (cchOpt, 1)) 2129 2131 || !strnicmp (&pcur->name[1], "NOEXEPACK", MAX (cchOpt, 5)) … … 2131 2133 || !strnicmp (&pcur->name[1], "NODBGPACK", MAX (cchOpt, 4)) 2132 2134 ) 2133 fprintf (stderr, "emxomfld: warning: ignoring ilink option '%s'\n", pcur->name);2135 fprintf (stderr, "emxomfld: warning: ignoring ilink option '%s'\n", pcur->name); 2134 2136 else 2135 2137 continue; … … 2325 2327 /* EMXOMFLD_RC_TYPE contains RC or WRC if set. If non of these 2326 2328 we assume RC. 2327 EMXOMFLD_RC contains the compiler name and perhaps extra 2329 EMXOMFLD_RC contains the compiler name and perhaps extra 2328 2330 arguments. If not set we'll use the default compiler, rc.exe. */ 2329 2331 -
trunk/emx/src/emxomf/emxomfld.c
r3290 r3417 164 164 static const char *linker_type = "WLINK"; 165 165 166 /* The name of the resource compiler to use. By default, rc is used. 166 /* The name of the resource compiler to use. By default, rc is used. 167 167 This can be overridden with the EMXOMFLD_RC environment variable. */ 168 168 static const char *rc_name = "rc.exe"; 169 169 170 /* The type of resource compiler to use. By default we assume it's 171 IBM resource compiler. This can be overridden with the EMXOMFLD_RC_TYPE 170 /* The type of resource compiler to use. By default we assume it's 171 IBM resource compiler. This can be overridden with the EMXOMFLD_RC_TYPE 172 172 env. var. using any of the values RC, WRC. */ 173 173 static const char *rc_type = "RC"; … … 2118 2118 if (errno || *t) 2119 2119 { 2120 fprintf (stderr, "emxomfld: Number conversion failed: '%s'\n", pcur->name);2120 fprintf (stderr, "emxomfld: Number conversion failed: '%s'\n", pcur->name); 2121 2121 return 1; 2122 2122 } … … 2126 2126 else if (!strnicmp (&pcur->name[1], "PACKCODE", MAX (cchOpt, 5)) 2127 2127 || !strnicmp (&pcur->name[1], "NOPACKCODE", MAX (cchOpt, 3)) 2128 || !strnicmp (&pcur->name[1], "PACKDATA", MAX (cchOpt, 5)) 2129 || !strnicmp (&pcur->name[1], "NOPACKDATA", MAX (cchOpt, 7)) 2128 2130 || !strnicmp (&pcur->name[1], "EXEPACK", MAX (cchOpt, 1)) 2129 2131 || !strnicmp (&pcur->name[1], "NOEXEPACK", MAX (cchOpt, 5)) … … 2131 2133 || !strnicmp (&pcur->name[1], "NODBGPACK", MAX (cchOpt, 4)) 2132 2134 ) 2133 fprintf (stderr, "emxomfld: warning: ignoring ilink option '%s'\n", pcur->name);2135 fprintf (stderr, "emxomfld: warning: ignoring ilink option '%s'\n", pcur->name); 2134 2136 else 2135 2137 continue; … … 2325 2327 /* EMXOMFLD_RC_TYPE contains RC or WRC if set. If non of these 2326 2328 we assume RC. 2327 EMXOMFLD_RC contains the compiler name and perhaps extra 2329 EMXOMFLD_RC contains the compiler name and perhaps extra 2328 2330 arguments. If not set we'll use the default compiler, rc.exe. */ 2329 2331
Note:
See TracChangeset
for help on using the changeset viewer.