4k limit of IAR's MSP430 C compiler

From: Michael (michael_at_clift.com.au)
Date: 01/20/04


Date: 19 Jan 2004 21:54:27 -0800

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

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

I have done many things in assembler, but as you can probably tell,
I'm new to C compilers.

Regards, Michael.



Relevant Pages

  • Re: 4k limit of IARs MSP430 C compiler
    ... > IAR's C compiler has a code generation limit of 4k, ... However if I link modules ... > Yet with the same IAR linker I can link modules generated with ... because the C compiler is their selling point. ...
    (comp.arch.embedded)
  • Re: C- Syntax to allocate Global variables to consecutive memory locations
    ... define link-time constants. ... it depends upon the linker to provide ... c is where the compiler generates a definition of ... In the assembly language case I mentioned, the assembler is perfectly ...
    (comp.arch.embedded)
  • Re: C- Syntax to allocate Global variables to consecutive memory locations
    ... me to modify the constant definitions without requiring recompilation ... it depends upon the linker to provide ... In the assembly language case I mentioned, the assembler is perfectly ... how a smart c++ compiler and its linker might interpret Stan's ...
    (comp.arch.embedded)
  • Re: Wheels falling off CLAX again ?
    ... The first one being what you say: As long as the Assembler is able to compile itself, we can keep sure that, at least, this one was successful on that task. ... system device drivers, high performance DLLs and of course, high performance object modules for C compilers. ... Which assembler, compiler, linker, resource compiler and many other tricks for binary output that a kiddies toy cannot come near. ... MASM with a linker builds a similar sized program using a linker in about 200 milliseconds so even adjusting the machine difference, masm with a linker is 4 to 5 time faster and this is on a real world application. ...
    (alt.lang.asm)
  • Re: Building/Running C64x from commandline
    ... It is for sure possible to compile and build TMS6200C64xx executables. ... I use the stand alone compiler and linker, ... The Assembler ...
    (comp.dsp)