[GRASS-dev] Re: [Qgis-developer] Windows native GRASS build

Brad Douglas rez at touchofmadness.com
Tue Jan 2 13:44:09 EST 2007


On Tue, 2007-01-02 at 11:33 +0000, Paul Kelly wrote:
> Hello Paolo
> 
> On Tue, 2 Jan 2007, Paolo Cavallini wrote:
> 
> [...]
> >>> /src/grass6/raster/r.li/r.li.daemon
> >>> /src/grass6/raster/r.li/r.li.edgedensity
> >>> /src/grass6/raster/r.li/r.li.patchdensity
> >>> /src/grass6/raster/r.li/r.li.patchnumber
> >>> /src/grass6/raster/r.li/r.li.shape
> >>> /src/grass6/raster/r.li/r.li.simpson
> >>> /src/grass6/raster/r.li/r.li.shannon
> >>> /src/grass6/raster/r.li/r.li.meanPatchSize
> >>> /src/grass6/raster/r.li/r.li.meanPixelAttribute
> >>> /src/grass6/raster/r.li/r.li.patchAreaDistributionCV
> >>> /src/grass6/raster/r.li/r.li.patchAreaDistributionSD
> >>> /src/grass6/raster/r.li/r.li.patchAreaDistributionRANGE
> >>> /src/grass6/raster/r.li/r.li.contrastWeightedEdgeDensity
> >>> /src/grass6/raster/r.li/r.li.richness
> >>> /src/grass6/raster/r.li/r.li.dominance
> >>
> >> Not crucial.
> >
> > Agreed, but we would like to have it. Tim, could you please forward the
> > errors to Serena Pallecchi, Davide Spano and Claudio Porta?
> 
> Please see attached. Main problems as far as I can see:
> - Use of FIFOs? AIUI Windows doesn't have FIFOs so that won't work.
> - Also I don't think fork() is available on Windows either - Glynn may be 
> able to advise.

Linux: fork() exec()
Win32: CreateProcess()

Linux: exit()
Win32: ExitProcess()

Linux: get/putenv()
Win32: Get/SetEnvironmentVariable()

Linux: waitpid()
Win32: GetExitCodeProcess()

Linux; getpid()
Win32: GetCurrentProcessId()

It would be nice to have wrappers for these functions.  Thoughts, Glynn?


-- 
Brad Douglas <rez touchofmadness com>                    KB8UYR/6
Address: 37.493,-121.924 / WGS84    National Map Corps #TNMC-3785




More information about the grass-dev mailing list