I'm betting it is the Windoze vs. Unix line endings. CRLF vs LF. I've
found that using Windoze version of vim makes it easy to see and fix
line ending problems with files.

Charles Stepp
Meskimen's Law:
There's never time to do it rite, but there's always time to do it over.

-----Original Message-----
From: Goku [mailto:[EMAIL PROTECTED] 
Sent: Saturday, April 19, 2008 2:48 PM
To: cygwin@cygwin.com
Subject: HELP REQUIRED: Unexpected end of file.

Hello ,

I am facing severe problems while porting some of the audio
applications, am using cygwin to compile my code, the makefile and the
code are written for Linux, hence i am trying to port it to windows
for TI DSP.

This is the place where i am getting the error
:
/cygdrive/c/consumer/Local/Applications/Temp/make45083.sh line 2:
syntax error : unexpected end of line.


.PHONY:mkdir
mkdir:
        @[ -d "${BINBUILD}" ] || mkdir -p $(BINBUILD);\
        [  -d "${OBJBUILD}" ] || mkdir -p $(OBJBUILD);\
        [  -d "${RESULTS}"  ] || mkdir -p $(RESULTS);\
        for i in $(bmarks) $(bmextradirs); do\
        [ -d "${OBJBUILD}/$$i" ] || mkdir -p $(OBJBUILD)/$$i;\
        done;\
        for i in $(rsextradirs); do\
        [ -d "${TOOLCHAIN}/$$i" ] || mkdir -p $(TOOLCHAIN)/$$i;\
        done


This particular code works fine in linux.

I had gone through the mailing list about the problems faced while
using the Cygwin. I couldnt find proper solutions for my problem. I
did use d2u and used almost all the solutions presented by various
people, still the problem exists. Can someone help me out in this
regard.

-Ravi

--
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/

Reply via email to