[GRASS-dev] Integrate XDR lib into GRASS?

Markus Neteler neteler at osgeo.org
Fri May 18 02:48:09 EDT 2012


On Thu, Mar 22, 2012 at 8:38 PM, Glynn Clements
<glynn at gclements.plus.com> wrote:
> Markus Neteler wrote:
>> here at the FOSSGIS.de conference we tried to compile GRASS for Android.
>> A major obstacle was XDR (e.g.,
>> https://svn.r-project.org/R/trunk/src/extra/xdr).
>>
>> Since it is only 4 files (or perhaps less used), why not incorporating these
>> files into the GRASS source code?
>
> FWIW, for the Cygwin build I used:
>
>        http://code.google.com/p/bsd-xdr/
>
> The simplest solution would just be to assume a "normal" architecture
> (IEEE-754 representation for floats, two's-complement integers) and
> scrap XDR completely.

This would be nice for GRASS 7. Unfortunately I have no idea how
to do that.

> Anyone wanting to run GRASS on a Vax[1] would
> need to supply the appropriate code and integration effort.
>
> [1] Vax is the most common architecture which doesn't use IEEE-754 for
> its native floating-point representation, and the only one which Sun's
> XDR implementation supports.

The "risk" to have users asking for http://en.wikipedia.org/wiki/Vax
support is rather low I guess :)

Markus


More information about the grass-dev mailing list