home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / sys / apple2 / gno / 691 < prev    next >
Encoding:
Internet Message Format  |  1992-12-22  |  1.8 KB

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