weird feature

Dave Korn dave.korn.cygwin@googlemail.com
Mon Jun 22 19:36:00 GMT 2009


Larry Hall (Cygwin) wrote:

>   2. Use 'cygpath' to convert from DOS to Cygwin path forms and back as
>      needed.  This can get tricky/cumbersome in some cases.

  It can be a lot easier if you have a Makefile-based build system, where you
can do the conversion on things that you know need converting like $(SRC) and
$(OBJS) and $(INCLUDEPATH) but not things like $(CFLAGS), rather than if you
try and write shell scripts to wrap the compiler and parse the options.  That
can also be a good approach, but more work to get it completely right.

    cheers,
      DaveK



--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list