make problem: command works thru CLI, not thru make file
Brian Ford
ford@vss.fsi.com
Fri Jun 11 20:07:00 GMT 2004
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/
More information about the Cygwin
mailing list