Changeset 1737


Ignore:
Timestamp:
Dec 13, 2004, 2:32:38 AM (20 years ago)
Author:
bird
Message:

fixing -shared.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified trunk/src/gcc/gcc/config/i386/emx.h

    • Property cvs2svn:cvs-rev changed from 1.34 to 1.35
    r1736 r1737  
    325325/* Provide extra args to the linker and extra switch-translations.  */
    326326#define LINK_SPEC                                                              \
    327   "%{Zexe} %{Zstack*} %{Zmap*} %{Zomf:%{Zdll}} "                               \
    328   "%{!o*:-o %b%{Zdll:.dll}%{!Zdll:%{!Zexe:.exe}}} "                            \
     327  "%{Zexe} %{Zstack*} %{Zmap*} %{Zdll} %{shared:-Zdll} %{static:-static}"      \
     328  "%{!o*:-o %b%{Zdll|shared:.dll}%{!Zdll:%{!shared:%{!Zexe:.exe}}}} "          \
    329329  "%{static:%{Zcrtdll*:%e-static and -Zcrtdll are incompatible}}"              \
    330330  "%{Zomf:%{Zaout:%e-Zomf and -Zaout are incompatible}}"                       \
    331331  "%{Zdll:%{Zexe:%e-Zdll and -Zexe are incompatible}}"                         \
    332332  "%{shared:%{Zexe:%e-shared and -Zexe are incompatible}}"                     \
    333   "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}"    \
    334   "%{shared:-Zdll} %{static:-static}"                                          \
     333  "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}"
    335334
    336335/* Override how and when libgcc.a is included (%G).  */
     
    356355  "-lc_alias "                                                                 \
    357356  "%{!static:-lc_dll}"                                                         \
    358   "%{static:-lc%{p|pg:_p}_s %{!Zdll:-lc_app%{pg:_p}}} "                        \
     357  "%{static:-lc%{p|pg:_p}_s %{!Zdll:%{!shared:-lc_app%{pg:_p}}}} "             \
    359358  "-los2%{p|pg:_p}"
    360359
     
    363362#define STARTFILE_SPEC                                                         \
    364363  "%{Zno-high-mem:}%{Zfork:}%{Zunix:}"                                         \
    365   "%{Zdll:dll0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%O%{Zomf:bj}%s}" \
    366   "%{!Zdll:%{pg:gcrt0%O%{Zomf:bj}%s}"                                          \
     364  "%{Zdll|shared:dll0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%O%{Zomf:bj}%s}" \
     365  "%{!Zdll:%{!shared:%{pg:gcrt0%O%{Zomf:bj}%s}"                                          \
    367366          "%{!pg:%{pn:gcrt0%O%{Zomf:bj}%s}"                                    \
    368367                "%{!pn:%{p:mcrt0%O%{Zomf:bj}%s}"                               \
    369                       "%{!p:crt0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%O%{Zomf:bj}%s}}}" \
     368                      "%{!p:crt0%{Zhigh-mem:hi}%{Zno-fork:nofork}%{Zno-unix:noux}%O%{Zomf:bj}%s}}}}" \
    370369  " %{Zbin-files:binmode%O%{Zomf:bj}%s}"                                       \
    371370  " %{Zsmall-conv:smallcnv%O%{Zomf:bj}%s}}"
Note: See TracChangeset for help on using the changeset viewer.