🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sys.atari.st
Article #3572

Re: help for C novice with sozobon

#3572
From: Klamer Schutte
Date: Thu, 31 Aug 1989 12:31
27 lines
1445 bytes
In article <1989Aug30.212827.19235@sj.ate.slb.com> greg@sj.ate.slb.com (Greg Wageman) writes:
>In article <1758193@mtsg.ubc.ca> Peter_Lawrence_Jackson@MTSG.UBC.CA writes:
>>Help!  I am a fortran programmer trying to learn C using the sozobon/dlibs
>>package. I can't get the compiler to work on the following hello world
>
>No doubt your problems will disappear when you specify the filename
>correctly.  In addition, if your makefile is set up properly, you
>shouldn't need a drive specifier at all.  If your rule looks like
>
>hello.tos : hello.c
>	cc -o hello.tos
>
>then the command "make hello.tos" should be sufficient, assuming your

Lets fix it now to a correct one:

make the makefile as
hello.tos: hello.o
	cc -o hello.tos hello.o

and typing "make" should be sufficient.

Klamer.

-- 
________________________________________________________________________________
Klamer Schutte      mcvax!nikhefh!{n62,Schutte}     {Schutte,n62}@nikhefh.hep.nl
Technical Details
Message-ID: <245@nikhefh.hep.nl>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!dptg!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!nikhefh!n62
References: <1758193@mtsg.ubc.ca> <1989Aug30.212827.19235@sj.ate.slb.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!watmath!att!dptg!rutgers!cs.utexas.edu!uunet!mcsun!hp4nl!nikhefh!n62
From: n62@nikhefh.hep.nl (Klamer Schutte)
Newsgroups: comp.sys.atari.st
Subject: Re: help for C novice with sozobon
Message-ID: <245@nikhefh.hep.nl>
Date: 31 Aug 89 12:31:22 GMT
References: <1758193@mtsg.ubc.ca> <1989Aug30.212827.19235@sj.ate.slb.com>
Reply-To: n62@nikhefh.hep.nl (Klamer Schutte)
Organization: Nikhef-H, Amsterdam (the Netherlands).
Lines: 27