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

Re: [MiNT] gcc 4.3: Build error for cflib



Hello.

Just noticed cflib does not build for gcc 4.3.2:
cc1: error: unrecognized command line option "-fwritable-strings"

That option has been removed since gcc 4.0.
http://www.gnu.org/software/gcc/gcc-4.0/changes.html

I have to clear the DEFINITIONS= in the Makefile

Yes, removing the usage of that option can make the build successful. But it the makefiles use that option, it may be useful somewhere. So if the CFLib really needs to write to strings constants (bad practice), it will bomb out on MiNT when memory protection is enabled. The CFLib should be fixed for that problem. The CFLib guys are probably already aware of it. If not, you should file a new bug report.

--
Vincent Rivière