home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13089 < prev    next >
Encoding:
Internet Message Format  |  1992-07-28  |  1.4 KB

  1. Path: sparky!uunet!cs.utexas.edu!wupost!wuarchive.wustl.edu!hp48sx
  2. From: hp48sx@wupost.wustl.edu (HP48SX Archive Maintainer)
  3. Newsgroups: comp.sys.mac.programmer
  4. Subject: Re: THINK C 5.0 Code overflow
  5. Date: 28 Jul 1992 06:26:22 -0500
  6. Organization: Washington University in Saint Louis, MO USA
  7. Lines: 24
  8. Message-ID: <hp48sx.712322696@wuarchive.wustl.edu>
  9. References: <1992Jul27.160800.18222@cs.few.eur.nl> <1992Jul27.172249.17584@news.iastate.edu>
  10. NNTP-Posting-Host: wuarchive.wustl.edu
  11. Keywords: error,C programming, THINK C 5.0, Mac
  12.  
  13. niko@iastate.edu (Nikolaus E Schuessler) writes:
  14.  
  15. >In article <1992Jul27.160800.18222@cs.few.eur.nl> christ@cs.few.eur.nl (Christ Leijtens) writes:
  16.  
  17. >>         Question: Is there *any* way to get around this  bound  for
  18. >>   the  code and data, so we can continue porting the program to the
  19. >>   Macintosh? We would like any information on porting programs from
  20. >>   other implementation of the C-language to Macintosh THINK C 5.0.
  21. >>
  22.  
  23. >Yes, there is... You have to declare all arrays as pointers to arrays
  24. >and malloc them in a routine at the start of your program... A * real *
  25. >pain ...
  26.  
  27. OR
  28.  
  29. You can go get MPW C which handles large code and data spaces without
  30. the same limitations as THINK C. You get a slower compiler though, but
  31. lots of other good stuff.
  32. -- 
  33. Povl H. Pedersen             hp48sx@wuarchive.wustl.edu
  34. HP48sx archive maintainer
  35.  
  36. All Opinions (C) Copyright the Integalactic Thought Association
  37.