Article View: net.micro.mac
Article #831Re: help needed with Softworks C Compile
From: tran
Date: Thu, 14 Mar 1985 23:34
Date: Thu, 14 Mar 1985 23:34
42 lines
2252 bytes
2252 bytes
I use this procedure, and it works most of the time :
1) first, I compiled the source file on the BOOT DISK. The output is
hello.asm.
2) Hello.asm now must be moved to C WORK DISK for assembling. If you didn't
do this, you would get the message 'can't remount volume'.
3) WORK DISK must contain the folder ASM stuff for the assembler to work.
4) When you run the ASSEMBLER, the output file is hello.rel.
5) I create a hello.link which looks like the following :
!Start
hello
cclib
$
6) Now this link file must also be moved to WORK DISK; otherwise it won't work.
7) Now, I am ready to link. This is where complication begins.
First, you must have a folder containing library REL files such as
cclib.REL, cv7lib.REL etc., on the WORK DISK. Then when I LINK the file
SOMETIMES it works; if it doesn't work the first time, try again.
If it still does not work, then you need some statement at the top of
your program like :
#include <stdio.h>
depending on which libraries you want to use. If this is the case, then
the files HEADERs must also be moved to WORK DISK.
I spent two nights to compile a small example program DEGREE.C on the disk.
and came up with this procedure by trial and error. Obviously this is
not my idea of user-friendly.
Let me know if this works. Also please post further techniques you might
receive on the net. I am also exasperated by the excessive disk swapping
for such a small program like hello.c ( I own a 128 Mac )
Thanks.
I tried mailing this but couldn't.
Technical Details
Message-ID:
<5700010@umn-cs.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!stolaf!umn-cs!tranReferences:
<891@eisx.UUCP>Show Full Headers
Complete Article Headers
Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: $Revision: 1.6.2.14 $; site umn-cs.UUCP Path: arc1-ca.pugleaf.net!utzoo!watmath!clyde!cbosgd!ihnp4!stolaf!umn-cs!tran From: tran@umn-cs.UUCP Newsgroups: net.micro.mac Subject: Re: help needed with Softworks C Compile Message-ID: <5700010@umn-cs.UUCP> Date: Thu, 14-Mar-85 18:34:00 EST Article-I.D.: umn-cs.5700010 Posted: Thu Mar 14 18:34:00 1985 Date-Received: Sun, 17-Mar-85 00:44:37 EST References: <891@eisx.UUCP> Lines: 42 Nf-ID: #R:eisx:-89100:umn-cs:5700010:000:1623 Nf-From: umn-cs!tran Mar 14 17:34:00 1985