Changeset 224 for trunk/src/gcc


Ignore:
Timestamp:
May 22, 2003, 10:07:21 PM (23 years ago)
Author:
bird
Message:

#424: Skip the multilib phun. New hacks.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gcc/gcc/config/i386/t-emx

    • Property cvs2svn:cvs-rev changed from 1.11 to 1.12
    r223 r224  
     1
     2
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
     13
     14
     15
     16
     17
     18
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
    129# EMX target have share libgcc, but the names are release specific and constrained by 8.3 limits.
    2 # The link command depends heavily on the directory structure.
    3 SHLIB_EXT      =
    430SHLIB_BASENAME = gcc$(gccdll_version)
    5 SHLIB_MULTINAME= $(SHLIB_BASENAME)`echo @shlib_so_name@ | cut -b10`
     31SHLIB_MULTINAME= $(SHLIB_BASENAME)
    632SHLIB_DLLNAME  = $(SHLIB_MULTINAME).dll
    733SHLIB_LINK     = export DLLAR_CMDLINE="@shlib_objs@" && \
     
    1137        -d "GNU C runtime shared library version $(gcc_version)" \
    1238        -libf "INITINSTANCE TERMGLOBAL" -lc_static -lc_import \
    13     && mv -f $$(@D)/$(SHLIB_MULTINAME).a $$(@D)/$(SHLIB_BASENAME).a \
    1439        && ar rs $$(@D)/$(SHLIB_BASENAME).a libgcc/$$(@D)/__main.o libgcc/$$(@D)/emx-ctordtor.o libgcc/$$(@D)/emx-eh.o libgcc/$$(@D)/emx-dllinit.o \
    1540    && touch $$@
    16 SHLIB_SUBDIR  = `echo @shlib_base_name@ | sed -e "s/^libgcc_s_//" -e "s,_,/,g"`
     41SHLIB_SUBDIR  =
    1742SHLIB_INSTALL = $$(INSTALL_DATA) $(SHLIB_SUBDIR)/$(SHLIB_DLLNAME) $$(DESTDIR)$$(slibdir)/ \
    1843    && $$(INSTALL_DATA) $(SHLIB_SUBDIR)/$(SHLIB_BASENAME).a $$(DESTDIR)$$(libsubdir)/$(SHLIB_SUBDIR)/
    19 
    20 # EMX Multi-threaded/Single-threaded libraries.
    21 MULTILIB_OPTIONS    = Zmt
    22 MULTILIB_DIRNAMES   = mt st
    23 MULTILIB_MATCHES    = Zmt=Zmts Zmt=Zmtd
    24 MULTILIB_EXCEPTIONS =
    25 MULTILIB_EXTRA_OPTS =
    2644
    2745# Dont use collect2
     
    83101gccdll_version = $(subst .,,$(gcc_version))
    84102
     103
     104
     105
     106
     107
     108
     109
     110
     111
     112
     113
     114
     115
     116
     117
     118
     119
     120
     121
     122
     123
     124
     125
     126
    85127stage1 stage2 stage3 stage4:
    86128        echo "t-emx hacks: $@ starting"
    87         -mv -f *.exe *.ready st mt s-libgcc $@
    88         -rm -f $@/$(LIBGCC)
    89         echo "t-emx hacks: $@ done"
    90 
    91 # Some final polishing of libgcc ...
    92 # r=bird: Moved parts of this up to the SHLIB_LINK command.
    93 #   Use cp as mv causes recreation of libversions during make install.
    94 #   Is there ANY chance we could juse leave them as libgcc*.a? That would've
    95 #   been much more convenient... 8.3 isn't an argument.
    96 $(ALL): s-libgcc
    97 s-libgcc: $(LIBGCC)
    98         echo "t-emx hacks: $@ starting"
    99         cp -f st/libgcc.a st/gcc.a
    100         cp -f st/libgcc_eh.a st/gcc_eh.a
    101         cp -f mt/libgcc.a mt/gcc.a
    102         cp -f mt/libgcc_eh.a mt/gcc_eh.a
    103         $(STAMP) s-libgcc
     129        -mv -f gcc3*.dll gcc3*.a gcc3*.def $@
    104130        echo "t-emx hacks: $@ done"
    105131
Note: See TracChangeset for help on using the changeset viewer.