[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[MiNT] -lgcc16 kludge
Hello.
Alan, could you commit this tiny patch to FreeMiNT, please ?
It removes the -lgcc16 kludge committed by OZK. It was a workaround because
I had not included all the mshort libraries with some versions of GCC 4.x. I
have fixed that problem several months ago, and most of the GCC binaries
have been updated.
Furthermore, that kludge worked only on OZK's machine because he had created
a nonstandard symlink.
--
Vincent Rivière
diff -aurN -x cvs freemint-CVS-20100404.orig/sys/Makefile.objs freemint-CVS-20100404/sys/Makefile.objs
--- freemint-CVS-20100404.orig/sys/Makefile.objs 2010-04-04 21:17:18.109375000 +0200
+++ freemint-CVS-20100404/sys/Makefile.objs 2010-04-04 21:57:38.046875000 +0200
@@ -30,7 +30,7 @@
LDFLAGS += -Wl,-Map -Wl,map.txt
# XXX should be come from arch/
LDFLAGS += -Wl,--entry -Wl,_main
-LIBS = $(LIBKERN) -lgcc16
+LIBS = $(LIBKERN) -lgcc
ifeq ($(KMEMDEBUG),yes)
LDFLAGS += \