Re: 4k limit of IAR's MSP430 C compiler

From: Meindert Sprang (
Date: 01/20/04

Date: Tue, 20 Jan 2004 08:11:55 +0100

"Michael" <> wrote in message
> IAR's C compiler has a code generation limit of 4k, for individual
> modules this would not be a problem for me. However if I link modules
> which together total >4k I get the error:
> Fatal Error[e89]: Too much object code produced (more than 0x1000
> bytes) for this package
> Yet with the same IAR linker I can link modules generated with
> assembler up to the device limit (32k for msp430F147).
> Is the problem
> A: I have something set wrong which is causing the linker error
> or
> B: 4k limit also applies to the exe if any of the modules are
> generated using C

B. Many vendors have this limit on their 'free' products. And indeed, mostly
for the generated C code, because the C compiler is their selling point.

> If B, can you anyone reccomend a compiler & linker which does not have
> the size limitation?

A: The full version of IAR's compiler
B: Imagecraft's ICC430 compiler. A lot of bang for just 199 bucks.