public inbox for insight@sourceware.org
 help / color / mirror / Atom feed
* need solution
@ 2003-03-18 13:26 RPonGanesan
  2003-03-18 19:14 ` Keith Seitz
  0 siblings, 1 reply; 2+ messages in thread
From: RPonGanesan @ 2003-03-18 13:26 UTC (permalink / raw)
  To: insight

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

regds,
RPonGanesan 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: need solution
  2003-03-18 13:26 need solution RPonGanesan
@ 2003-03-18 19:14 ` Keith Seitz
  0 siblings, 0 replies; 2+ messages in thread
From: Keith Seitz @ 2003-03-18 19:14 UTC (permalink / raw)
  To: RPonGanesan; +Cc: insight

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-03-18 16:06 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-03-18 13:26 need solution RPonGanesan
2003-03-18 19:14 ` Keith Seitz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).