The easy fix is altering ps.map to not require writable
constant strings. I'm not too familiar with the layout
of the ps.map source files. Could someone point me to
the file that's causing the problem?
Bernhard Reiter wrote:
Talking about grass5.0beta8 again:
It looks to me that ps.map needs the -fwritable-strings on all platforms
as long as the issue is not fixed. Of course "-fwritable-strings"
probably is a gcc specific option. Still where would it be placed best?
Automatically added via autoconf if using gcc, but other
compilers may need other switches to get around the
writable strings requirement.
I was trying to add it to:
--- src/ps.map/Gmakefile.org Mon Aug 7 18:21:48 2000
+++ src/ps.map/Gmakefile Mon Aug 7 18:19:21 2000
@@ -1,2 +1,3 @@
all:
+ EXTRA_CFLAGS = -fwritable-strings
$(MAKEALL)
As a patch for the RPM.
Got to have to test it tomorrow.
For the purposes of RPM, that's perfect.
Maybe somebody has a better idea for the quick fix, tracking all the
makefile scripts and variables is not an easy task. 
The best fix is to not need such evil hackery in the first
place. =) I've submitted a revised makefile structure that
may make finding the "proper" location for these things
easier. Then again, I just might be deluding myself
Bernhard
--
Professional Service around Free Software (intevation.net)
The FreeGIS Project (freegis.org)
Association for a Free Informational Infrastructure (ffii.org)
-- ebm
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
| Eric B. Mitchell mailto:emitchell@altaira.com |
| tel: (301) 809 - 3534 Altair Aerospace Corporation |
| tel: (800) 7 - ALTAIR 4201 Northview Dr. Suite 410 |
| fax: (301) 805 - 8122 Bowie, MD 20716 |
+=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=+
,___
/"\ / o=\ /"""---===/
/ \_/ \__/ ---===/
| //\ || /""TT""/ //\ || ||""\
| // \ || || // \ || ||__/
| //--==\ |L--/ || //--==\ || || "=,
\ ---===/
\____---===/
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo@geog.uni-hannover.de with
subject 'unsubscribe grass5'