Changeset 986


Ignore:
Timestamp:
Jan 11, 2004, 11:56:04 PM (22 years ago)
Author:
bird
Message:

Adjusted specs to like -shared and changed some hardcoded linker flags (gcc makefiles).

Location:
trunk/src/gcc/gcc/config/i386
Files:
2 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.22 to 1.23
    r985 r986  
    295295  "%{Zomf:%{Zaout:%e-Zomf and -Zaout are incompatible}}"                       \
    296296  "%{Zdll:%{Zexe:%e-Zdll and -Zexe are incompatible}}"                         \
    297   "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}"
     297  "%{shared:%{Zexe:%e-shared and -Zexe are incompatible}}"              \
     298  "%{Zsmall-conv:%{Zcrtdll*:%e-Zsmall-conv and -Zcrtdll are incompatible}}"    \
     299  "%{shared:-Zdll} %{static:-static}"                                          \
    298300
    299301/* Override how and when libgcc.a is included (%G).  */
     
    311313  "-lc_alias "                                                                 \
    312314  "%{!static:-lc_dll}"                                                         \
    313   "%{static:-lc%{p|pg:_p} %{!Zdll:-lc_app%{pg:_p}}} -los2%{p|pg:_p}"           \
     315  "%{static:-lc%{p|pg:_p} %{!Zdll:-lc_app%{pg:_p}}} "                          \
     316  "-los2%{p|pg:_p}"
    314317
    315318/* Override the default crt0 files.  */
     
    323326   the GNU linker. The IBM and M$ linkers doesn't need things repeated
    324327   to catch the go of it.  */
    325 #define LINK_GCC_C_SEQUENCE_SPEC "%G %L %{!Zomf:%G %L %G}"
     328#define LINK_GCC_C_SEQUENCE_SPEC "%G %L %{!Zomf:%G %L %G %L %G}"
    326329
    327330#define ENDFILE_SPEC "%{Zomf:-lend}"
  • trunk/src/gcc/gcc/config/i386/t-emx

    • Property cvs2svn:cvs-rev changed from 1.24 to 1.25
    r985 r986  
    2323        $(REXX) dllar.cmd -o $$(@D)/$(SHLIB_DLLNAME) \
    2424        -ordinal @multilib_flags@ -nocrtdll \
    25         -flags "-Zhigh-mem" \
     25        -flags "-Zhigh-mem -Zomf -g" \
    2626        -ex "___main ___do_global_* ___ctordtor* ___eh* _DLL_InitTerm" \
    2727        -d "GNU C runtime shared library version $(gcc_version)" \
     
    4141STMP_FIXINC =
    4242
    43 # Override linker flags
    44 LDFLAGS = -Zexe -Zcrtdll -Zstack 1024
     43# bird: this is just bs and doesn't belong here at all.
     44## Override linker flags
     45#LDFLAGS = -Zexe -Zcrtdll -Zstack 1024
    4546
    4647# Add the 's' flag to $AR so that we don't need ranlib
Note: See TracChangeset for help on using the changeset viewer.