Changeset 224 for trunk/src/gcc
- Timestamp:
- May 22, 2003, 10:07:21 PM (23 years ago)
- File:
-
- 1 edited
-
trunk/src/gcc/gcc/config/i386/t-emx (modified) (3 diffs, 1 prop)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gcc/gcc/config/i386/t-emx
-
Property cvs2svn:cvs-rev
changed from
1.11to1.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 1 29 # 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 =4 30 SHLIB_BASENAME = gcc$(gccdll_version) 5 SHLIB_MULTINAME= $(SHLIB_BASENAME) `echo @shlib_so_name@ | cut -b10`31 SHLIB_MULTINAME= $(SHLIB_BASENAME) 6 32 SHLIB_DLLNAME = $(SHLIB_MULTINAME).dll 7 33 SHLIB_LINK = export DLLAR_CMDLINE="@shlib_objs@" && \ … … 11 37 -d "GNU C runtime shared library version $(gcc_version)" \ 12 38 -libf "INITINSTANCE TERMGLOBAL" -lc_static -lc_import \ 13 && mv -f $$(@D)/$(SHLIB_MULTINAME).a $$(@D)/$(SHLIB_BASENAME).a \14 39 && 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 \ 15 40 && touch $$@ 16 SHLIB_SUBDIR = `echo @shlib_base_name@ | sed -e "s/^libgcc_s_//" -e "s,_,/,g"`41 SHLIB_SUBDIR = 17 42 SHLIB_INSTALL = $$(INSTALL_DATA) $(SHLIB_SUBDIR)/$(SHLIB_DLLNAME) $$(DESTDIR)$$(slibdir)/ \ 18 43 && $$(INSTALL_DATA) $(SHLIB_SUBDIR)/$(SHLIB_BASENAME).a $$(DESTDIR)$$(libsubdir)/$(SHLIB_SUBDIR)/ 19 20 # EMX Multi-threaded/Single-threaded libraries.21 MULTILIB_OPTIONS = Zmt22 MULTILIB_DIRNAMES = mt st23 MULTILIB_MATCHES = Zmt=Zmts Zmt=Zmtd24 MULTILIB_EXCEPTIONS =25 MULTILIB_EXTRA_OPTS =26 44 27 45 # Dont use collect2 … … 83 101 gccdll_version = $(subst .,,$(gcc_version)) 84 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 85 127 stage1 stage2 stage3 stage4: 86 128 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 $@ 104 130 echo "t-emx hacks: $@ done" 105 131 -
Property cvs2svn:cvs-rev
changed from
Note:
See TracChangeset
for help on using the changeset viewer.
