[GRASS5] -fwritable-strings

Bernhard Reiter bernhard at intevation.de
Wed Jul 26 05:02:33 EDT 2000


On Wed, Jul 26, 2000 at 03:32:18PM +0000, Justin Hickey wrote:
> On Jul 26,  9:53am, Markus Neteler wrote:
> > I am not shure. The old ps.map did not work without
> > -fwritable-strings.
> >
> > Further suggestions are required...
> 
> How about writing a script to be run after is64bit.sh that will check if the
> machine is Linux (the ${SYSTEM} variable in Makefile.in maybe) and then add
> -fwritable-strings to the compile lines of the Gmakefiles of ps.map? At least
> it would be a quick fix until someone can fix the problem in ps.map. Just a
> suggestion.

It has nothing to do with GNU/Linux.
Only with old programs doing stuff like:

	char * x="Heino";
	x[2]='o';

Because the compiler with place &x in protected memory which is not
writable usually.

	Bernhard
-- 
Professional Service around Free Software                (intevation.net)  
The FreeGIS Project				            (freegis.org)
Association for a Free Informational Infrastructure            (ffii.org)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 236 bytes
Desc: not available
Url : http://lists.osgeo.org/pipermail/grass-dev/attachments/20000726/3cd698ac/attachment.bin


More information about the grass-dev mailing list