SunOS 5, GNU gcc and GRASSv4.1.5

Hello,

We're thinking of upgrading our operating system from SunOS 4.1.4 to SunOS 5.x
running on a Sun Sparc 20 workstation, as some of the upgrades to our present
software will no longer be supported on SunOS 4.1.4. I can't remember seeing
anybody on the list mentioning running GRASSv4.1.5 through SunOS 5.x - does
anybody know whether it is possible and relatively headache free ?

Also I've just been told that SunOS 5 doesn't come with it's own C compiler (yo
u
have to buy one seperately apparently), so we are thinking of using using the
GNU freeware gcc C compiler.

Has anybody any advice on this - I don't want to start getting into any
situations detrimental to my mental health (I used to be a Physical Geographer,
where did I go wrong?).

Thanks a lot for any help,
Cheers, Al.

______________________________________________________________________

Alastair Duncan,
Data Officer,
NRA's National Centre for Instrumentation and Marine Surveillance,
Bath, UK.

e-mail: 100074,213@compuserve.com

In info.grass.user you write:

have to buy one seperately apparently), so we are thinking of using using the
GNU freeware gcc C compiler.
Has anybody any advice on this - I don't want to start getting into any
situations detrimental to my mental health (I used to be a Physical Geographer,
where did I go wrong?).

  I compiled grass 4.1.x under linux using gcc. The only problem that I
ran into was that you need to compile with -fwritable-strings in the
CFLAGS variable for gmake. (In certian parts of the code literal strings
are modified which is a no-no by default for gcc).

Good luck.

        &y