This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: make problem: command works thru CLI, not thru make file

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, 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:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]