public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* HELP REQUIRED: Unexpected end of file.
@ 2008-04-20  1:38 Goku
  2008-04-21 20:04 ` Stepp, Charles
  0 siblings, 1 reply; 2+ messages in thread
From: Goku @ 2008-04-20  1:38 UTC (permalink / raw)
  To: cygwin

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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

* RE: HELP REQUIRED: Unexpected end of file.
  2008-04-20  1:38 HELP REQUIRED: Unexpected end of file Goku
@ 2008-04-21 20:04 ` Stepp, Charles
  0 siblings, 0 replies; 2+ messages in thread
From: Stepp, Charles @ 2008-04-21 20:04 UTC (permalink / raw)
  To: Goku, cygwin

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:ittiam@gmail.com] 
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/

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2008-04-21 19:32 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-04-20  1:38 HELP REQUIRED: Unexpected end of file Goku
2008-04-21 20:04 ` Stepp, Charles

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).