[GRASS5] Misc. Module Errors
Justin Hickey
jhickey at hpcc.nectec.or.th
Tue Dec 12 05:39:07 EST 2000
Hi jeshua and Markus
Jeshua Lacock wrote:
> On Tuesday, December 12, 2000, at 01:13 AM, Markus Neteler wrote:
> > I need little assistance:
> > MacOS X behaves similar to CYGWIN. I have added
> > MacOSX sensivity to some "rand" definitions, unfortunately
> > the compiler doesn't understand:
> >
> > #if defined(__CYGWIN__) || defined(__MAC_OS_X__)
> > ^^^^^^^^^^^^ -??
> >
> > How to find out the correct definition for Jeshua's Mac OS X?
> > __MAC_OS_X__ is not accepted. We need to tell Jeshua where
> > to search for this string.
> >
> > Then I will fix below problems.
> >
> > Thanks
> >
> > Markus
> >
>
> Hi Markus!
>
> I do not now if this is any help but the following environment variables are defined in Mac OS X:
>
> HOSTTYPE=macintosh
> VENDOR=apple
> OSTYPE=macos
> MACHTYPE=powerpc
>
> Maybe you could check for $OSTYPE??
I don't know about other compilers but MIPSPro compilers have a -show
option which lists the variables defined by the compiler. Check the man
page to see if such an option exists for your compiler.
--
Sincerely,
Jazzman (a.k.a. Justin Hickey) e-mail: jhickey at hpcc.nectec.or.th
High Performance Computing Center
National Electronics and Computer Technology Center (NECTEC)
Bangkok, Thailand
==================================================================
People who think they know everything are very irritating to those
of us who do. ---Anonymous
Jazz and Trek Rule!!!
==================================================================
----------------------------------------
If you want to unsubscribe from GRASS Development Team mailing list write to:
minordomo at geog.uni-hannover.de with
subject 'unsubscribe grass5'
More information about the grass-dev
mailing list