This is the mail archive of the insight@sources.redhat.com mailing list for the Insight 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: need solution


On Mon, 2003-03-17 at 23:53, RPonGanesan wrote:
> Hi,
>  i do write simple makefile for Hello world.but am not able to run it..
>  can u guide thru..
> 
> my makefile look below
> 
> #! /bin/sh
> 1.o:1.c
> 	cc -c -g 1.c
> 
> Error coming out while run the object file
> bash: ./1.o: cannot execute binary file

This is not the correct forum for this discussion, but I will tell you
that your makefile is completely wrong. In fact, it's not even a
Makefile! Please go to www.gnu.org and read the make manual to get
started.

Keith



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