Questions tagged [greenhills]

Green Hills Software is a company which makes tools and operating systems for embedded platforms.

Green Hills Software is a company which makes tools and operating systems for embedded platforms. Their flagship products include:

  • the Multi compiler/debugger suite
  • the Integrity real-time OS
  • the µ-velOSity real-time microkernel
  • hardware debugging probes
62 questions
12
votes
2 answers

GCC vs Greenhills on ARM

I'm interested in any comparisons between GCC and Greenhills C compiler with regard to memory footprint of generated code specifically on ARM platforms. Are there any benchmarks or comparisons for these compilers? Has anyone had any experience here…
atikat
  • 367
  • 3
  • 11
8
votes
1 answer

Automating Greenhills Build Process

Reading through the command line commands for MULTI, I cannot find a suitable command to build a project (gpj) through command line solely. I have tried multi -build and receive the following error: Building (Launched from command line) Cannot…
lakedoo
  • 385
  • 1
  • 4
  • 13
6
votes
0 answers

Is there a way to move C variables from a section to another into the linker script?

I have a constant array that the linker places into the .rodata section. I need it to go into the .text section. Is it possible? I have already tried to define it as static const but it didn't change anything. I am using the Green Hills linker and…
Harry
  • 188
  • 1
  • 12
6
votes
3 answers

Continuous build infrastructure recommendations for primarily C++; GreenHills Integrity

I need your recommendations for continuous build products for a large (1-2MLOC) software development project. Characteristics: ClearCase revision control Approx 80% C++; 15% Java; 5% script or low-level Compiles for Green Hills Integrity OS, but…
andersoj
  • 22,406
  • 7
  • 62
  • 73
4
votes
1 answer

Greenhills multi software Icon is not shown in Window 10's Toolbar / Alt+Tab

Greenhills multi software is installed in windows 10 PC. After launching the software i could see the GUI of IDE but once i minimized i couldn't find the software icon to anywhere in Toolbar or Alt+Tab except task manager. I have searched all the…
Gopi M
  • 89
  • 2
  • 9
4
votes
3 answers

GreenHills - small data area overflow

I'm hoping maybe someone has a quick answer for this but essentially when I turn on optimizations, I get the following error: [elxr] (error) small data area overflow: 0xfff9f6fc (signed) didn't fit in 16 bits while performing relocation in…
Gary
  • 1,515
  • 1
  • 14
  • 22
3
votes
3 answers

typedef uint8_t T_BOOL; Is it still worth it?

I am reviewing coding guidelines for C and we still have the guideline to typedef uint8_t for booleans. I work for a company in the automotive industry, therefore doing embedded software and usually working with Renesas micro-processors alongside…
GiatManos
  • 53
  • 6
3
votes
2 answers

Is it possible to disable MISRA checks of external libraries?

Is it possible to disable MISRA checks of external libraries? I've tried this, but it doesn't seem to work (this header uses C++ style comments and incompatible @ tags). #pragma ghs startnomisra #include #pragma ghs endnomisra Update…
Minor Threat
  • 2,025
  • 1
  • 18
  • 32
3
votes
0 answers

(error) read-only small data overflow in GHS compiler

I'm using GHS compiler. I get this error message when trying to build my project. Click to see: elxr Linker error [elxr] (error) read-only small data overflow: (signed) didn't fit in 16 bits while performing relocation. Update: The output of MULTI…
The Beast
  • 1,629
  • 2
  • 29
  • 42
3
votes
5 answers

How to declare a C array that takes up all free space in a memory section?

Assume I have a 128KB memory region. In my linker directives I split this region into three sections: .section_text .section_data .section_bss The size of each section is unknown pre-compilation, but I have constrained .section_bss to use all…
Andrew Cottrell
  • 3,312
  • 3
  • 26
  • 41
2
votes
1 answer

greenhills compiler turn off optimization for file or part of

I found several code snippets for disabling GCC optimization for dedicated code parts. with pragma GCC optimize(0) But I could not found something like that for Greenhils compiler. Is there no such option?
Peter
  • 1,629
  • 2
  • 25
  • 45
2
votes
3 answers

Strange behavior for X.cpp/X.hpp files in Integrity

I'm having a project which compiles perfectly with gcc, but fails to compile under Greenhills Integrity environment. The problem boils down to this three files: MyVector.cpp // contains function testVector MyVector.hpp // contains template…
Elazar Leibovich
  • 32,750
  • 33
  • 122
  • 169
2
votes
1 answer

Compiling with gcc and debugging with greenhills debugger

I am a newbie to debugging. I compiled my project with gcc and i am trying to debug it with a greenhills debugger. when i try to debug it, i get an error "unreadable memory" in greenhills. Anyone know why and how to fix this error? Any help will be…
user361403
  • 53
  • 6
2
votes
1 answer

How to create Build log file in Greenhills compiler?

I'm using TESSY tool for unit testing for one of my Embedded project. and I'm using IDE CATCH in which Greenhills is the compiler. I need a build log file from IDE for creating a structure of the project in TESSY. Though the log file is created it…
2
votes
4 answers

error#29 expected an expression

The following piece of code which is 2 dimensional array throws an error #29 expected an expression. typedef enum { BATTERY_POW = 0, USB_POW = 1, END_STATE = 2 } BMTState_e; typedef enum //event enums { NO_EVENT = 0, …
user1867459
  • 423
  • 2
  • 8
  • 27
1
2 3 4 5