[GRASS-dev] WinGRASS-6.3.0RC6 Self Installer

Glynn Clements glynn at gclements.plus.com
Thu Mar 27 19:51:04 EDT 2008


Moritz Lennert wrote:

> >> 1) ODBC and maybe MySQL might be good things to add. Especially the
> >> first, as this would potentially give access to Win-specific databases.
> >
> > Does the ODBC driver work with Windows ODBC?
> 
> Oh, I just assumed it would, but I imagine it would have to be compiled
> against a windows odbc.h ? Or is the API equivalent between unixodbc and
> win odbc ?

AFAICT, the API should be consistent, although there may be other
issues, e.g. compilation and linking switches. There's also the issue
of whether the driver has ever been tested on Windows or with common
Windows databases.

> >> 2) More a question to Glynn: I see r.terraflow is still missing. I guess
> >> this hasn't been backported to 6.3releasebranch ?
> >
> > No, not yet.
> 
> Do you feel it is premature to have them in the 6.3 release ? I'm afraid
> not many people are going to test if we don't put them in a release.

It's a moot point now that Markus has back-ported the changes, but
they should be safe for inclusion.

The Unix-isms which had to be worked around are (AFAICT) all in
"peripheral" functionality, i.e. monitoring resource (CPU, memory)
usage.

Most of the changes were essentially:

	#ifdef __MINGW32__
	<stub definitions>
	#else
	<real definitions>
	#endif

On Unix, the changes shouldn't have any effect. On Windows, the worst
that can happen is that it doesn't work (although it should at least
compile now), although it's more likely to just be that the resource
statistics will be inaccurate (e.g. memory usage reported as zero, CPU
usage measured in whole seconds rather than microseconds).

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-dev mailing list