This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Path problems in Makefile


Hello all,

I've gone through the FAQ and am unable to find an article that references
the problem I'm having.  I don't think this is a Makefile question, but a
CYGWIN path question.  I've spent time reducing the problem to the scripts
inability to resolve the environment variable that I have set $DEV_ROOT.
When referenced in the script all the '\' are removed.

Here's the variable as I have it set ...

bash-2.05b$ echo $DEV_ROOT
C:\gnu\emacs-21.2\workspaces\

Here's a line of script in my Makefile
output:
 $(Print) DEV_ROOT is $(DEV_ROOT)

Here's the output:
DEV_ROOT C:gnuemacs-21.2workspaces

Notice all the '\' are missing!  Why?  Does anyone have any suggestions.

I'm running Windows XP, with CYGWIN version 2.340.2.5.  I've also installed
Emacs NT.
Here are a few other relevant environment variables:
BASH_VERSION='2.05b.0(9)-release'
DEV_ROOT='C:\gnu\emacs-21.2\workspaces\'
HOME=/cygdrive/c/gnu/emacs-21.2
JAVA_HOME='C:\java\j2sdk1.4.1_01'
SHELL=bash.exe
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:
monitor
SHLVL=1




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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]