Article View: comp.sys.apple2.gno
Article #195Re: cc ...
From: Jawaid Bazyar
Date: Mon, 21 Dec 1992 20:14
Date: Mon, 21 Dec 1992 20:14
28 lines
1883 bytes
1883 bytes
taob@r-node.gts.org (Brian Tao) writes: > Soenke, I tried out your new 'cc' on the agrep (approximate grep) source >files I downloaded from comp.sources.unix. Just as an exercise, I unpacked >all the files and then did 'cc -O -v *.c'. To my surprise, all the source >files (about a dozen of them) compiled without a single error under GNO/ >ORCA 1.2, but that's it. Nothing was linked so I didn't get an 'agrep' >executable. I tried 'cc *.o' afterwards (which started to link them), >but it gave an error about a code segment being larger than a bank. It >gave me a 1.2-meg (!) binary anyway. I can run it, but nothing happens >(doesn't crash the machine either). I should also point out the resulting >binary is very sparse (only takes up about 80K or so of disk space). It sounds like there is a very large global array (hash table?) in the agrep source- that's what usually creates sparse executables. In that case, you'll need to use ORCA's large memory model. > Is there some flag I should be setting? Or maybe just get a newer version >of ORCA? :) Well, you definitely should get ORCA/C 2.0 when it comes out; C 1.2 had some nasty problems. -- Jawaid Bazyar | Ask me about the GNO Multitasking Environment Procyon, Inc. | for the Apple IIgs! bazyar@cs.uiuc.edu | P.O Box 620334 --Apple II Forever!-- | Littleton, CO 80162-0334 (303) 933-4649
Technical Details
Message-ID:
<bazyar.724968851@teal>Path:
arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!ub!csn!teal!bazyarReferences:
<behrenss.724869178@hphalle6> <1992Dec21.160930.1472@r-node.gts.org>Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!zaphod.mps.ohio-state.edu!ub!csn!teal!bazyar From: bazyar@teal.csn.org (Jawaid Bazyar) Newsgroups: comp.sys.apple2.gno Subject: Re: cc ... Message-ID: <bazyar.724968851@teal> Date: 21 Dec 92 20:14:11 GMT References: <behrenss.724869178@hphalle6> <1992Dec21.160930.1472@r-node.gts.org> Sender: news@csn.org (news) Organization: Colorado SuperNet, Inc. Lines: 28 Nntp-Posting-Host: teal.csn.org