Changeset 281 for trunk/src/gcc
- Timestamp:
- Jun 3, 2003, 2:10:56 AM (22 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/config/i386/emx.h
-
Property cvs2svn:cvs-rev
changed from
1.5
to1.6
r280 r281 247 247 * - S - P - E - C - S - 248 248 ******************************************************************************/ 249 #define __EMX__LIBCSPECS 249 250 /* Predefine symbols `__32BIT__', `__EMX__', `i386' and __MT__ (not -Zmt). */ 250 251 #undef CPP_PREDEFINES … … 270 271 271 272 /* Pass -s (as -Zstrip) to the assembler. */ 273 #ifdef __EMX__LIBCSPECS 274 #define ASM_SPEC "--traditional-format %{Zomf} %{s:-Zstrip}" 275 #else 272 276 #define ASM_SPEC "%{Zomf} %{s:-Zstrip}" 273 277 #endif 278 279 #ifdef __EMX__LIBCSPECS 280 #define LINK_SPEC \ 281 "%{Zexe} %{Zstack*} %{Zmap*} %{Zomf:%{Zdll}} " \ 282 "%{!o*:-o %b%{Zdll:.dll}%{!Zdll:%{!Zexe:.exe}}} " \ 283 "%{static:%{Zcrtdll*:%e-static and -Zcrtdll are incompatible}}" \ 284 "%{Zdll:%{Zexe:%e-Zdll and -Zexe are incompatible}}" \ 285 "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}" 286 #else 274 287 #define LINK_SPEC \ 275 288 "%{Zexe} %{Zstack*} %{Zmap*} %{Zomf:%{Zdll}} " \ … … 291 304 "%{Zbsd-signals:%{Zsysv-signals:%e-Zbsd-signals and -Zsysv-signals are incompatible}}" \ 292 305 "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}" 306 #endif 293 307 294 308 /* Actually we're using shared libgcc, but we use it a lot differently ... */ … … 300 314 "%{!shared-libgcc:%{static-libgcc|!Zcrtdll*:-lgcc_eh -lgcc}}" 301 315 316 #ifdef __EMX__LIBCSPECS 317 #define LIB_SPEC \ 318 "-lc%{p|pg:_p} " \ 319 "%G " \ 320 "%{!Zdll:-lc_app%{pg:_p}} " \ 321 "-lc%{p|pg:_p}" 322 #else 302 323 #define LIB_SPEC \ 303 324 "%{p|pg:-lc_p} -lc " \ … … 307 328 "%G %{p|pg:-lc_p} -lc " \ 308 329 "%{Zdll:%{!Zso:%{!Zno-rte:-lc_dllrt}}}" 309 330 #endif 331 332 #ifdef __EMX__LIBCSPECS 333 #define STARTFILE_SPEC \ 334 "%{Zdll:dll0%O%{Zomf:bj}%s}" \ 335 "%{!Zdll:%{pg:gcrt0%O%{Zomf:bj}%s}" \ 336 "%{!pg:%{pn:gcrt0%O%{Zomf:bj}%s}%{!pn:%{p:mcrt0%O%{Zomf:bj}%s}%{!p:crt0%O%{Zomf:bj}%s}}}"\ 337 " %{Zbin-files:binmode%O%{Zomf:bj}%s} %{Zsmall-conv:smallcnv%O%{Zomf:bj}%s}}" 338 #else 310 339 #define STARTFILE_SPEC \ 311 340 "%{Zdll:dll0%O%{Zomf:bj}%s}" \ … … 314 343 " %{Zsysv-signals:sigsysv%O%{Zomf:bj}%s} %{Zbsd-signals:sigbsd%O%{Zomf:bj}%s}"\ 315 344 " %{Zbin-files:binmode%O%{Zomf:bj}%s}%{Zsmall-conv:smallcnv%O%{Zomf:bj}%s}}" 316 345 #endif 346 347 #ifdef __EMX__LIBCSPECS 348 #define LINK_COMMAND_SPEC \ 349 "%{!fsyntax-only: " \ 350 "%{!c:%{!M:%{!MM:%{!E:%{!S:%{Zomf:emxomf}ld " \ 351 "%l %X %{o*} %{A} %{d} %{e*} %{m} %{N} %{n} " \ 352 "%{r} %{s} %{t} %{u*} %{x} %{z} %{Z} " \ 353 "%{!A:%{!nostdlib:%{!nostartfiles:%S}}} " \ 354 "%{static:} %{L*} %D %{T*} %o " \ 355 "%{!nostdlib:%{!nodefaultlibs:" \ 356 "%G -lc_alias " \ 357 "%{!Zcrtdll*:%L} %{Zcrtdll*:-lc_dll} -los2%{pg:_p} "\ 358 "-lc_alias " \ 359 "%{!Zcrtdll*:%L} %{Zcrtdll*:-lc_dll} -los2%{pg:_p} "\ 360 "%{Zomf:-lend}" \ 361 "}" \ 362 "}" \ 363 "%{!A:%{!nostdlib:%{!nostartfiles:%E}}}" \ 364 "}" \ 365 "}" \ 366 "}" \ 367 "}" \ 368 "}" \ 369 "}" 370 #else 317 371 #define LINK_COMMAND_SPEC \ 318 372 "%{!fsyntax-only: " \ … … 335 389 "%{!A:%{!nostdlib:%{!nostartfiles:%E}}} " \ 336 390 "}}}}}}" 391 #endif 337 392 338 393 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.