[petsc-dev] getting rid of win32fe

Satish Balay balay at mcs.anl.gov
Tue Sep 30 22:21:10 CDT 2014


On Tue, 30 Sep 2014, Barry Smith wrote:

> 
> On Sep 30, 2014, at 10:10 PM, Satish Balay <balay at mcs.anl.gov> wrote:
> 
> > 
> > On Tue, 30 Sep 2014, Barry Smith wrote:
> > 
> >> 
> >>  Can  config/BuildSystem/client-python/cygwinpath.c be used to get rid of win32fe?
> > 
> > The functionality looks unrelated to win32fe.
> 
>   Isn’t that what win32fe does, convert unix style paths to win style paths that then get passed to the windows compilers?

win32fe does more than that.

- converts some gcc type arguments to cl format [for eg: -c, -o]
- marshall arguments to cl [for eg: cl is perticular about certain order in which the
arguments should be listed]
- similar convertion and marshalling of arguments to 'lib' tool - and make it
useable similar to 'ar'
- And sure - identify and convert (only) PATH type arguments to the windows notation.

cygwinpath.c appears to be a python wrapper to cygwin utility "cygpath"
- which helps with path conversions.

$ cygpath -w /home/balay
C:\cygwin\home\balay

Satish

> 
>   Barry
> 
> > 
> > Satish
> > 
> >> Otherwise it should be tossed since it isn’t used by BuildSystem, right?
> 
> 


More information about the petsc-dev mailing list