Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Date: Fri, 11 Jun 2004 14:56:24 -0500 From: Brian Ford Reply-To: cygwin AT cygwin DOT com To: santhosh km cc: cygwin AT cygwin DOT com Subject: Re: make problem: command works thru CLI, not thru make file In-Reply-To: <20040608123308.50657.qmail@web11802.mail.yahoo.com> Message-ID: References: <20040608123308 DOT 50657 DOT qmail AT web11802 DOT mail DOT yahoo DOT com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes On Tue, 8 Jun 2004, santhosh km wrote: > Hi, > > I am trying porting of c files to VxWorks thru cygwin > using the GNU-Make Version 3.80 . > I have a problem while using makefile. The problem is > the commond: > "ccsimpc -o HELLO_WORLD helloWorld.c" > works on the command line and I get the HELLO_WORLD > executable file. > But doesn't work thru makefile, I get the error as: > make: *** [x] Error 1 > > Here the ccsimpc is equivalent to gcc, but ccsimpc is > the compiler for VxWorks. > > My make file helloWorld.mk, which has one target and > one line is > > x: > ccsimpc -o HELLO_WORLD helloWorld.o I assume those spaces are a tab, right? And is hellowWorld.o a typo? If not, that's the problem. An exact copy and past of the output and Makefile would be more helpful than your hand chosen snippets. -- Brian Ford Senior Realtime Software Engineer VITAL - Visual Simulation Systems FlightSafety International the best safety device in any aircraft is a well-trained pilot... -- 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/