On Tue, 30 Sep 2014, Barry Smith wrote: > > On Sep 30, 2014, at 10:10 PM, Satish Balay <[email protected]> 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? > >
