Changeset 2818 for trunk/emx/src/emxomf/emxomfld.c
- Timestamp:
- Oct 10, 2006, 4:53:42 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/emx/src/emxomf/emxomfld.c
r2812 r2818 1258 1258 /* converts a def file statement to watcom responsfile lingo. */ 1259 1259 1260 static def_2_watcom(struct _md *md, const _md_stmt *stmt, _md_token token, void *arg)1260 static int def_2_watcom(struct _md *md, const _md_stmt *stmt, _md_token token, void *arg) 1261 1261 { 1262 1262 switch (token) … … 1286 1286 fprintf (response_file, "='%s'", stmt->export.internalname); 1287 1287 if (stmt->export.flags & _MDEP_RESIDENTNAME) 1288 fprintf (response_file, " RESIDENT" , stmt->export.internalname);1288 fprintf (response_file, " RESIDENT"); 1289 1289 /** @todo _MDEP_NONAME */ 1290 1290 fprintf (response_file, "\n"); … … 1336 1336 1337 1337 case _MD_STACKSIZE: 1338 fprintf (response_file, "OPTION STACK=%#l d\n", stmt->stacksize.size);1338 fprintf (response_file, "OPTION STACK=%#lx\n", stmt->stacksize.size); 1339 1339 break; 1340 1340 1341 1341 case _MD_STUB: 1342 fprintf (response_file, "OPTION STUB='%s'\n", stmt->stub.name); 1342 if (!stmt->stub.none) 1343 fprintf (response_file, "OPTION STUB='%s'\n", stmt->stub.name); 1344 else 1345 fprintf (stderr, "emxomfld: warning: \"STUB NONE\" is not supported by wlink. ignoring\n"); 1343 1346 break; 1344 1347 … … 2093 2096 fprintf (response_file, "OPTION MAP='%s'\n", map_fname); 2094 2097 else if (map_flag) 2095 fprintf (response_file, "OPTION MAP\n" , map_fname);2098 fprintf (response_file, "OPTION MAP\n"); 2096 2099 2097 2100 /* standard stuff */ … … 2140 2143 if (def_fname) 2141 2144 { 2142 _md_token token;2143 2145 struct _md *pMd = _md_open (def_fname); 2144 2146 if (!pMd)
Note:
See TracChangeset
for help on using the changeset viewer.