[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] mintlib release



Frank Naumann wrote:

4) GCC 4.3.0 compatibility. There has been some changes in the include directories in GCC 4.3.0, so the MiNTLib doesn't compile out of the box. I didn't look at it closely, but I think it is very easy to fix.

The same apply here too I think. If all patches are done I can easily make a new release.

The tiny and harmless attached patch allows to compile the MiNTLib successfully with GCC 4.3.0 :-)

And I had a quick look at the compilation output, there are only a few warnings :-)

--
Vincent Rivière
--- mintlib-CVS-20080427/buildrules	2008-04-27 14:16:23.981014900 +0200
+++ mintlib-CVS-20080427-patch-20080427/buildrules	2008-04-27 14:32:34.621639900 +0200
@@ -177,7 +177,7 @@
 	local= ; \
 	installdir=`$(CC) --print-search-dirs | awk '{ print $$2; exit; }'`; \
 	case $$installdir in /usr/local*) local=/local;; esac; \
-	echo "$${installdir}include -I/usr$$local/m68k-atari-mint/include" >$@
+	echo "$${installdir}include -I$${installdir}include-fixed -I/usr$$local/m68k-atari-mint/include" >$@
 	
 include $(top_srcdir)/bindist