Changeset 74 for trunk/src/gcc


Ignore:
Timestamp:
May 1, 2003, 3:45:01 AM (22 years ago)
Author:
bird
Message:

Corrected SHLIB_INSTALL t-emx

File:
1 edited

Legend:

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

    • Property cvs2svn:cvs-rev changed from 1.9 to 1.10
    r73 r74  
    11# EMX target have share libgcc, but the names are release specific and constrained by 8.3 limits.
    22# The link command depends heavily on the directory structure.
    3 SHLIB_EXT      = 
     3SHLIB_EXT      =
    44SHLIB_BASENAME = gcc$(gccdll_version)
    55SHLIB_MULTINAME= $(SHLIB_BASENAME)`echo @shlib_so_name@ | cut -b10`
     
    1414        && 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 \
    1515    && touch $$@
    16 
    17 SHLIB_INSTALL = $(INSTALL_DATA) $(SHLIB_DLLNAME) $$(DESTDIR)$$(slibdir)/
     16SHLIB_SUBDIR  = `echo @shlib_base_name@ | sed -e "s/^libgcc_s_//" -e "s,_,/,g"`
     17SHLIB_INSTALL = $$(INSTALL_DATA) $(SHLIB_SUBDIR)/$(SHLIB_DLLNAME) $$(DESTDIR)$$(slibdir)/ \
     18    && $$(INSTALL_DATA) $(SHLIB_SUBDIR)/$(SHLIB_BASENAME).a $$(DESTDIR)$$(libsubdir)/
    1819
    1920# EMX Multi-threaded/Single-threaded libraries.
     
    9091# Some final polishing of libgcc ...
    9192# 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.
    9296$(ALL): s-libgcc
    9397s-libgcc: $(LIBGCC)
    9498        echo "t-emx hacks: $@ starting"
    95         mv -f st/libgcc.a st/gcc.a
    96         mv -f st/libgcc_eh.a st/gcc_eh.a
    97         mv -f mt/libgcc.a mt/gcc.a
    98         mv -f mt/libgcc_eh.a mt/gcc_eh.a
     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
    99103        $(STAMP) s-libgcc
    100104        echo "t-emx hacks: $@ done"
Note: See TracChangeset for help on using the changeset viewer.