Forums | developer.brewmp.com Forums | developer.brewmp.com

Developer

Forums

I'm compiling a project with the ADS 1.2 compiler. One of my header files has some static const long long values defined in it. The compiler spits out:

Fatal error: Internal fault: 0xe6e5 when compiling the source files that includes this header. However, if I replace the reference to these static const variables with the value that they contain, it compiles fine.

Has anyone encountered an issue with this? Is there a compiler option that needs to be turned on/off? Here are my current command line options

$(ARMCPP) -c -DDYNAMIC_APP -cpu ARM7TDMI -apcs/ropi/interwork/norwpi -littleend -zo -fa -g -Ospace -O0 -I. -I $(BREW_HOME)/inc $(CPPFLAGS) $@ $<

To use static/global variables, you need to use Elf2Mod tool. See Elf2Mod doc for flags, compiler options etc.
Use –split –reloc linking options in ARM to create .elf file and then used Elf2Mod tool to generate .mod

To use static/global variables, you need to use Elf2Mod tool. See Elf2Mod doc for flags, compiler options etc.
Use –split –reloc linking options in ARM to create .elf file and then used Elf2Mod tool to generate .mod

The issue I'm having isn't with static variables, it's with 64-bit static const data. Also, this happens at the compile step before the elf is even generated. I've always been able to use static const in BREW without the elf2mod tool. However, when I try to use a static const long long (or int64, or uint64) the compiler gives me the error:
Fatal error: Internal fault: 0xe6e5
Any ideas?

The issue I'm having isn't with static variables, it's with 64-bit static const data. Also, this happens at the compile step before the elf is even generated. I've always been able to use static const in BREW without the elf2mod tool. However, when I try to use a static const long long (or int64, or uint64) the compiler gives me the error:
Fatal error: Internal fault: 0xe6e5
Any ideas?