From mint-bounce@lists.fishpool.fi Sun Apr 4 18:20:09 2010 Message-ID: <4BB91024.6080907@freesbee.fr> Date: Mon, 05 Apr 2010 00:18:12 +0200 From: =?ISO-8859-1?Q?Vincent_Rivi=E8re?= User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4 MIME-Version: 1.0 To: mint@lists.fishpool.fi Subject: [MiNT] -lgcc16 kludge Content-Type: multipart/mixed; boundary="------------020409020106080204070501" X-Antivirus: avast! (VPS 100404-0, 04/04/2010), Outbound message X-Antivirus-Status: Clean X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: vincent.riviere@freesbee.fr Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: This is a multi-part message in MIME format. --------------020409020106080204070501 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Hello. Alan, could you commit this tiny patch to FreeMiNT, please ? It removes the -lgcc16 kludge committed by OZK. It was a workaround becau= se=20 I had not included all the mshort libraries with some versions of GCC 4.x= . I=20 have fixed that problem several months ago, and most of the GCC binaries=20 have been updated. Furthermore, that kludge worked only on OZK's machine because he had crea= ted=20 a nonstandard symlink. --=20 Vincent Rivi=E8re --------------020409020106080204070501 Content-Type: text/plain; name="libgcc.patch" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="libgcc.patch" 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 += \ --------------020409020106080204070501--