home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / sys / mac / programm / 13054 < prev    next >
Encoding:
Text File  |  1992-07-27  |  2.1 KB  |  64 lines

  1. Newsgroups: comp.sys.mac.programmer
  2. Path: sparky!uunet!mcsun!sun4nl!eur.nl!christ
  3. From: christ@cs.few.eur.nl (Christ Leijtens)
  4. Subject: THINK C 5.0 Code overflow
  5. Message-ID: <1992Jul27.160800.18222@cs.few.eur.nl>
  6. Summary: THINK C 5.0 error: Code overflow (32K limit).
  7. Keywords: error,C programming, THINK C 5.0, Mac
  8. Sender: news@cs.few.eur.nl
  9. Organization: Erasmus Universiteit Rotterdam
  10. Date: Mon, 27 Jul 1992 16:08:00 GMT
  11. Lines: 51
  12.  
  13.  
  14.  
  15.                               THINK C 5.0                    7-27-92
  16.  
  17.  
  18.  
  19.    Dear Netters,
  20.  
  21.          As beginners at programming the Macintosh Quadra system  we
  22.    have  a  question about THINK C 5.0. We are porting a system pro-
  23.    grammed in the language C under the  operating  system  UNIX.  We
  24.    have  to port the program into THINK C 5.0 on the Macintosh (Qua-
  25.    dra 900 using System 7).
  26.  
  27.          The system we are porting is quit big.  When  compiling  we
  28.    get the error message:
  29.    Code overflow
  30.  
  31.    After reading the THINK C 5.0 User Manual we found out it had  to
  32.    do  with the maximum code-length of one C source-file. The manual
  33.    says:
  34.  
  35.    You have more than 32K of code or data in one  file.  Break  your
  36.    file up into smaller files.
  37.  
  38.    We tried to split the files giving the code overflow  errors.  It
  39.    seemed,  not  the  sources  where the real trouble, but the (big)
  40.    header files. We did not succeed at splitting the  files  to  get
  41.    rid of the errors.
  42.  
  43.          Question: Is there *any* way to get around this  bound  for
  44.    the  code and data, so we can continue porting the program to the
  45.    Macintosh? We would like any information on porting programs from
  46.    other implementation of the C-language to Macintosh THINK C 5.0.
  47.  
  48.          Thanks in advance. Greetings,
  49.  
  50.  
  51.  
  52.                                          Young Ryu & Christ Leijtens
  53.  
  54. -- 
  55.     e-mail:    christ@cs.few.eur.nl          _(.~\  ____
  56.            christ@sus.eur.nl         /_|  /_/\/\/\__ 
  57.                                                 > _/\/\/\/\/
  58.                            /_/ \/\/\/\_\
  59. -- 
  60.     e-mail:    christ@cs.few.eur.nl          _(.~\  ____
  61.            christ@sus.eur.nl         /_|  /_/\/\/\__ 
  62.                                                 > _/\/\/\/\/
  63.                            /_/ \/\/\/\_\
  64.