home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.mac.programmer
- Path: sparky!uunet!mcsun!sun4nl!eur.nl!christ
- From: christ@cs.few.eur.nl (Christ Leijtens)
- Subject: THINK C 5.0 Code overflow
- Message-ID: <1992Jul27.160800.18222@cs.few.eur.nl>
- Summary: THINK C 5.0 error: Code overflow (32K limit).
- Keywords: error,C programming, THINK C 5.0, Mac
- Sender: news@cs.few.eur.nl
- Organization: Erasmus Universiteit Rotterdam
- Date: Mon, 27 Jul 1992 16:08:00 GMT
- Lines: 51
-
-
-
- THINK C 5.0 7-27-92
-
-
-
- Dear Netters,
-
- As beginners at programming the Macintosh Quadra system we
- have a question about THINK C 5.0. We are porting a system pro-
- grammed in the language C under the operating system UNIX. We
- have to port the program into THINK C 5.0 on the Macintosh (Qua-
- dra 900 using System 7).
-
- The system we are porting is quit big. When compiling we
- get the error message:
- Code overflow
-
- After reading the THINK C 5.0 User Manual we found out it had to
- do with the maximum code-length of one C source-file. The manual
- says:
-
- You have more than 32K of code or data in one file. Break your
- file up into smaller files.
-
- We tried to split the files giving the code overflow errors. It
- seemed, not the sources where the real trouble, but the (big)
- header files. We did not succeed at splitting the files to get
- rid of the errors.
-
- Question: Is there *any* way to get around this bound for
- the code and data, so we can continue porting the program to the
- Macintosh? We would like any information on porting programs from
- other implementation of the C-language to Macintosh THINK C 5.0.
-
- Thanks in advance. Greetings,
-
-
-
- Young Ryu & Christ Leijtens
-
- --
- e-mail: christ@cs.few.eur.nl _(.~\ ____
- christ@sus.eur.nl /_| /_/\/\/\__
- > _/\/\/\/\/
- /_/ \/\/\/\_\
- --
- e-mail: christ@cs.few.eur.nl _(.~\ ____
- christ@sus.eur.nl /_| /_/\/\/\__
- > _/\/\/\/\/
- /_/ \/\/\/\_\
-