Path: utzoo!attcan!uunet!cs.utexas.edu!uwm.edu!uwvax!umn-d-ub!umn-cs!thelake!steve From: steve@thelake.UUCP (Steve Yelvington) Newsgroups: comp.sys.atari.st Subject: Re: Soz C V1.2 Upgrade help required Message-ID: <1101891245522835@thelake.UUCP> Date: 1 Dec 89 18:45:52 GMT References: <8912010805.AA03513@ucbvax.Berkeley.EDU> Reply-To: pwcs.StPaul.GOV!stag!thelake!steve Followup-To: comp.sys.atari.st Organization: Otter Lake Leisure Society (MN-USA) Lines: 40 X-Member-Of: STdNet, the ST Developers' Network In article <8912010805.AA03513@ucbvax.Berkeley.EDU>, S61304@PRIME-A.POLY-SOUTH-WEST.AC.UK (Rat) writes ... >Being a beginning C programmer, I have managed to coax my copy of Sozobon >Version 1.01 to compile, link and all that sort of stuff on single files. >However I have not used anything other than the supplied CC utility, to >drive all the other elements (hcc and top etc) and especially I haven't >yet managed to get 'make' to work. This has slowed to a total halt my efforts >to compile up the version 1.2 of Sozobon (supplied in source format only :-( Ieee! Source code only? The net distribution included binaries as well as sources. >I have tried to use the make facility on the supplied files. I had my normal >Soz C work disk in the A drive and the 1.2 source in a ram disk, installed >as drive d:. I then made the source files the active window and ran the make >utility by selecting it using the right-left double click technique and then >selecting open from the desktop. But it still didn't work. Under (almost) no circumstances should you try to use any of the Sozobon programs directly from the Desktop. In this example, how are cc and make supposed to know where to find hcc, top, ld and jas? They look at the environment, which is for all practical purposes the dark side of the moon if you run from the Desktop. If PATH= doesn't point to the folder that contains the executables, and the executables are not in the current working directory, the compile will fail. >I do have a copy of the Gulam shell, but I haven't used it very much yet. >However I will dig it out and blow the dust off it if necessary. Do so. Definitely. In addition to providing a proper environment string, Gulam (or any other competent shell) will pass arguments to the Sozobon compiler and utilities without mangling them. GEM Desktop uppercases everything, and the Sozobon programs are sensitive to the case of arguments. cc -o and cc -O do not mean the same thing. -- Steve Yelvington, up at the lake in Minnesota ... pwcs.StPaul.GOV!stag!thelake!steve (UUCP)