This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: make problem: command works thru CLI, not thru make file
- From: Brian Ford <ford at vss dot fsi dot com>
- To: santhosh km <kmsanthosh at yahoo dot com>
- Cc: cygwin at cygwin dot com
- Date: Fri, 11 Jun 2004 14:56:24 -0500
- Subject: Re: make problem: command works thru CLI, not thru make file
- References: <20040608123308.50657.qmail@web11802.mail.yahoo.com>
- Reply-to: cygwin at cygwin dot com
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/