forked from KolibriOS/kolibrios
libgcc-5.4.0 update makefile
git-svn-id: svn://kolibrios.org@6553 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
4bf5ef2746
commit
f28fafc534
@ -4,6 +4,8 @@ export AR = kos32-ar
|
|||||||
export LD = kos32-ld
|
export LD = kos32-ld
|
||||||
export STRIP = kos32-strip
|
export STRIP = kos32-strip
|
||||||
|
|
||||||
|
INSTALLDIR:= /home/autobuild/tools/win32/mingw32/lib
|
||||||
|
|
||||||
export SDK_DIR:= $(abspath ../../../../sdk)
|
export SDK_DIR:= $(abspath ../../../../sdk)
|
||||||
|
|
||||||
cpu_type = i386
|
cpu_type = i386
|
||||||
@ -71,33 +73,33 @@ LIB2ADD = config/i386/gthr-kos32.c \
|
|||||||
config/i386/libc-loader.c
|
config/i386/libc-loader.c
|
||||||
|
|
||||||
EH_MODEL = dw2
|
EH_MODEL = dw2
|
||||||
CUSTOM_CRTSTUFF = yes
|
CUSTOM_CRTSTUFF = yes
|
||||||
|
|
||||||
|
|
||||||
#crtbegin.o: config/i386/cygming-crtbegin.c
|
#crtbegin.o: config/i386/cygming-crtbegin.c
|
||||||
|
|
||||||
# $(crt_compile) -fno-omit-frame-pointer -c $<
|
# $(crt_compile) -fno-omit-frame-pointer -c $<
|
||||||
|
|
||||||
|
|
||||||
#crtbeginS.o: config/i386/cygming-crtbegin.c
|
#crtbeginS.o: config/i386/cygming-crtbegin.c
|
||||||
|
|
||||||
# $(crt_compile) -fno-omit-frame-pointer -c $< -DCRTSTUFFS_O
|
# $(crt_compile) -fno-omit-frame-pointer -c $< -DCRTSTUFFS_O
|
||||||
|
|
||||||
|
|
||||||
# We intentionally use a implementation-reserved init priority of 0,
|
# We intentionally use a implementation-reserved init priority of 0,
|
||||||
|
|
||||||
# so allow the warning.
|
# so allow the warning.
|
||||||
|
|
||||||
#crtend.o: config/i386/cygming-crtend.c
|
#crtend.o: config/i386/cygming-crtend.c
|
||||||
|
|
||||||
# $(crt_compile) -fno-omit-frame-pointer -Wno-error -c $<
|
# $(crt_compile) -fno-omit-frame-pointer -Wno-error -c $<
|
||||||
|
|
||||||
# This is an endfile, Use -minline-all-stringops to ensure
|
# This is an endfile, Use -minline-all-stringops to ensure
|
||||||
|
|
||||||
# that __builtin_memset doesn't refer to the lib function memset().
|
# that __builtin_memset doesn't refer to the lib function memset().
|
||||||
|
|
||||||
crtfastmath.o: config/i386/crtfastmath.c
|
crtfastmath.o: config/i386/crtfastmath.c
|
||||||
|
|
||||||
$(gcc_compile) -mfxsr -msse -c $<
|
$(gcc_compile) -mfxsr -msse -c $<
|
||||||
|
|
||||||
LIB1ASMSRC = i386/start.S
|
LIB1ASMSRC = i386/start.S
|
||||||
@ -106,25 +108,25 @@ LIB1ASMFUNCS = _chkstk _chkstk_ms _start
|
|||||||
DFP_ENABLE = true
|
DFP_ENABLE = true
|
||||||
|
|
||||||
LIB2ADD += config/i386/cpuinfo.c
|
LIB2ADD += config/i386/cpuinfo.c
|
||||||
LIB2ADD += config/i386/sfp-exceptions.c
|
LIB2ADD += config/i386/sfp-exceptions.c
|
||||||
|
|
||||||
|
|
||||||
softfp_float_modes := tf
|
softfp_float_modes := tf
|
||||||
softfp_int_modes := si di ti
|
softfp_int_modes := si di ti
|
||||||
|
|
||||||
softfp_extensions := sftf dftf xftf
|
softfp_extensions := sftf dftf xftf
|
||||||
|
|
||||||
softfp_truncations := tfsf tfdf tfxf
|
softfp_truncations := tfsf tfdf tfxf
|
||||||
|
|
||||||
softfp_exclude_libgcc2 := n
|
softfp_exclude_libgcc2 := n
|
||||||
|
|
||||||
# Omit TImode functions
|
# Omit TImode functions
|
||||||
|
|
||||||
softfp_int_modes := si di
|
softfp_int_modes := si di
|
||||||
|
|
||||||
|
|
||||||
# Provide fallbacks for __builtin_copysignq and __builtin_fabsq.
|
# Provide fallbacks for __builtin_copysignq and __builtin_fabsq.
|
||||||
|
|
||||||
LIB2ADD += config/i386/32/tf-signs.c
|
LIB2ADD += config/i386/32/tf-signs.c
|
||||||
|
|
||||||
# While emutls.c has nothing to do with EH, it is in LIB2ADDEH*
|
# While emutls.c has nothing to do with EH, it is in LIB2ADDEH*
|
||||||
@ -467,7 +469,9 @@ all: libgcc.a
|
|||||||
|
|
||||||
libgcc.a : $(libgcc-objects) Makefile
|
libgcc.a : $(libgcc-objects) Makefile
|
||||||
$(AR) crs libgcc.a $(libgcc-objects)
|
$(AR) crs libgcc.a $(libgcc-objects)
|
||||||
# mv -f libbfd.a $(SDK_DIR)/lib
|
|
||||||
|
install: libgcc.a
|
||||||
|
mv -f libgcc.a $(INSTALLDIR)/libgcc.a
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user