Questions tagged [realview]
10 questions
6
votes
2 answers
Generating a compile-time constant integer from a literal string
I have a problem with non-portable code that works as intended on ARM RealView compiler, but VC++, GCC refuse to compile it and QAC++(a static analysis tool) issues a warning.
The problem
I have a system that needs to parse mnemonic identifiers in…

Clifford
- 88,407
- 13
- 85
- 165
4
votes
4 answers
How to include a newline in a C++ macro or how to use C++ templates to do the same?
I saw the following question:
How to generate a newline in a cpp macro?
Let me give a brief requirement of a need in newline in a C++ preprocessor. Am working on ARM Realview compiler 3.1 on a code which uses embedded assembly code with C++…

vprajan
- 1,147
- 1
- 11
- 19
3
votes
5 answers
why is my code performing poorly when built with Realview tools but better with Codesourcery?
I have a C project which was previously being built with Codesourcery's gnu tool chain. Recently it was converted to use Realview's armcc compiler but the performance that we are getting with Realview tools is very poor compared to when it is…

binW
- 13,220
- 11
- 56
- 69
2
votes
1 answer
unistd.h implementation
My toolchain (Realview) does not have implementation of unistd.h, I have a code that I need to use that is using unistd.h, some function like access, open.
So I need to implement this functions by myself.
My question is, is there another alternative…

Fluffy
- 337
- 1
- 5
- 16
2
votes
1 answer
Force the Compiler Not to Link to Certain Object Files
I'm currently investigating the possibility to force the rvct compiler not to link in specific translation units and just pretend that it has linked it.
Our product is running very tight on space constraints and have trouble integrating some unit…

Jimmy Lu
- 4,810
- 7
- 25
- 30
1
vote
1 answer
constructor of global static member not being called when compiled with rvct
Well, this is kind of complex to explain.
I'm compiling a static library which has a header that looks something similar to this:
class Foo{
static int Goo(){
DoSomethingExciting();
return 0;
}
static int…

dudico
- 555
- 2
- 4
- 11
1
vote
0 answers
how to migrate from AXD to realview
I always debug our arm project by AXD for a AT91 RM9200 board, but now I want to try realview debugger, it seems it is more powerful. there is a configuration script for AXD in order to remap memory, however I can't find how to use it in realview…

netawater
- 15,214
- 4
- 24
- 21
1
vote
1 answer
Debugging using RealView Debug(RVDebug)
I have some C code for an ARM926 target. I am trying to debug it using "Arm Xtended Debugger" (AXD). The main() of this code, takes 14 command line arguments which are mentioned in the code warrior project settings at proper place and behavior of…

goldenmean
- 18,376
- 54
- 154
- 211
1
vote
2 answers
overriding enumeration base type using pragma or code change
Problem:
I am using a big C/C++ code base which works on gcc & visual studio compilers where enum base type is by default 32-bit(integer type).
This code also has lots of inline + embedded assembly which treats enum as integer type and enum data is…

vprajan
- 1,147
- 1
- 11
- 19
0
votes
1 answer
Symbols in ARM Scatter file
Just like we can use Load, Execution regions symbols using ARM Scatter file in c source code.
Is it possible to define your own symbol in Scatter file and use it in c source?

Three
- 21
- 3