Path: blue.weeg.uiowa.edu!news.uiowa.edu!uunet!winternet.com!daver From: daver@drift.winternet.com (Dave Roberts) Newsgroups: comp.sys.apple2.gno Subject: Patch Your ORCA/Programs Date: 1 Oct 1994 16:51:22 GMT Organization: Aurora Software Lines: 66 Message-ID: <36k42a$n3j@blackice.winternet.com> NNTP-Posting-Host: drift.winternet.com X-Newsreader: TIN [version 1.2 PL2] Ever want ORCA/C to work like real UNIX cc, with headers in /usr/include/* ? Well, if you do, here's a "bed" script for you. --- cut here --------------------------------------------- #!/usr/local/bin/bed -s # # usage: bed -s patchcc # # patchcc 1.0, (c) 1994, Aurora Software. # patches ORCA/C to read from /usr/include/*.h rather than that lame-ass # 13:ORCACDefs setup. 100% safe. # # search for it /"13:ORCACDefs # write it twice. I still have no idea why ORCA/C has two strings. # possibly an alternate include dir? :"/usr/include :"/usr/include w q --- cut here --------------------------------------------- This works for ORCA/C versions up to 2.0.3, and probably will work with future versions. If you also want your linker library files in /usr/lib, change prefix 13 to /usr/lib (since the C compiler no longer uses it, it's not a problem. I don't have ORCA/Pascal installed.) I have my ORCA/M macros in /usr/include/m65816/*. Also, the default ORCA/Linker steals keypresses when backgrounded under GNO, since it reads from the keyboard hardware directly. Try this script: --- cut here --------------------------------------------- #!/usr/local/bin/bed -s # # usage: bed -s patchlinker # # patchcc 1.0, (c) 1994, Aurora Software. # patches ZapLink to prevent it from stealing keypresses in GNO/ME. # # search for it /8F00C010 :EAEAEAEA /8F00C010 :EAEAEAEA /8F00C010 :EAEAEAEA /8F00C010 :EAEAEAEA w q --- cut here --------------------------------------------- Hope these programs are useful to you. I got sick of patching these programs every time an update came out by hand, so I wrote these little scripts. As far as I know, they haven't damaged the compiler or linker in any way. -- Dave J. Roberts [daver on IRC - #appleiigs] /| daver@drift.winternet.com / |urora UNIX C & Apple IIgs C/65816 Programmer /___ | Software unix% yes -50 'select on ptys baz!' | mail -s 'HEY YOU' bazyar@netcom.com