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
1
vote
1 answer

Integration of GHS MULTI with Rational Team Concert

I am planning to use IBM RTC for configuration management, for work in GHS MULTI environment. WE are moving to RTC from ClearCase. Is there a ready solution for such integration? Do we need some additional tools for it?
Jacob
  • 11
  • 1
0
votes
0 answers

PowerPC inline volatile assembly instruction in C using GHS compiler

I'm tryting to insert an assembly instruction "isync" in my function using GHS compiler as below inline void my_asm(void) { __inline__ asm volatile("isync"); } But I'm getting an compiler error from the above sample. Any help on…
0
votes
1 answer

__GETSR() function is not compiling in GHS compiler

Am working on Renesas RH850F1KM microcontroller. Am doing coding for Safety Mechanism for Code Flash ECC module. In our code we are using __GETSR() function to store the PSW address for future use. But am facing the following error. function __GETSR…
Kiran JP
  • 45
  • 6
0
votes
0 answers

How to close an unclosed connection in Greenhill's multi debugger without rebooting my device?

I have done it again, for the 7th time in the past hour I closed a multi debugger session without disconnecting from the device I was probing... And now I cannot reconnect to the device because multi thinks the previous connection is still…
Questor
  • 129
  • 6
0
votes
1 answer

Does GHS Compiler support Importing functions from dll?

One supplier has shared a dll in which some functions (confidential) is present. Does the GHS Compiler allow importing these functions into C/C++ files using the import options (__declspec(dllimport))?
Varughese
  • 39
  • 8
0
votes
1 answer

CMake Toolchain File for GHS

I am trying to create a cmake toolchain file for the GreenHills compiler. When I am using cmake -T C:\ghs\multi506 everything works fine. But after creating a toolchain file with the line set(GHS_TOOLSET_ROOT C:/ghs/multi506) I get the error…
0
votes
0 answers

Is this a problem of static initialisation order?

I am a bit new to C++, and I've been dealing with a problem for a while, and I'm not even sure what the problem is. After some research I suspect that this can be an issue of of static initialisation order. Is it? Here's a sample of how the code is…
AmiguelS
  • 805
  • 2
  • 10
  • 28
0
votes
2 answers

How to overwrite existing symbol when linking?

I am having two libs A and B. there having the same function same_func, I don't want to modify A's code to remove same_func in A but override the symbol when linking. is there any way to indicate the function in B lib having a higher priority to be…
JustWe
  • 4,250
  • 3
  • 39
  • 90
0
votes
0 answers

converting default.gpj file to makefile

please tell me steps to convert default.gpj file to a makefile. I created a helloworld C example,compiled in Greenhills(Multi IDE),after compiling getting a default.gpj file,trying to convert this one into a makefile. In command prompt using the…
Asha
  • 21
  • 6
0
votes
0 answers

Analogue of dladdr on Integrity OS?

Is there a way to get all non-POSIX things from dlfcn.h working on Integrity OS when using ghs compiler? Here is a list: dladdr function, Dl_info structure.
0
votes
0 answers

Are there IAR C-SPY macro debugging command as GHS MULTI does, such as "Step In" ,"Step Out" and "Halt"

I would like to make IAR C-SPY macro debug, but I can't, because their debugging guide as User Manual don't say what they provide. GHS MULTI is very kindly good manual because they say what they can and all their command are described. I would like…
NEWBIEEBIEE
  • 197
  • 2
  • 13
0
votes
2 answers

How does a RTOS like Green Hill Software's INTEGRITY RTOS integrate with automotive grade linux?

I'm trying to understand the stack for automotive code - I know that Linux/Android can sit on top of it, and so I would presume AGL, but I'm uncertain of the distinction and what framework the RTOS provides as a platform. Secondary point: Is Tizen,…
0
votes
1 answer

Default constructed map iterator enters infinite loop on increment - Green Hills compiler

I have to do a trivial iteration of all the elements in a std::map, first to last. On each element I have to perform an operation. Assume that the map contains the following pairs: map farm={ {"one","puppy"}, …
0
votes
0 answers

Eigen 3.3.4 compilation error on MIPS Compiler (C++98)

I compile Eigen 3.3.4 under Multi-2000 (Green Hill) MIPS C++ compiler. After I solved some align macro issue in Macros.h, I met a problem again for some template expression. Find the Error Details as below. I know it should be some issue for my old…
Mr.ke
  • 65
  • 1
  • 9
0
votes
0 answers

Adding static library to my existing project - Greenhills compiler

I have been given a static library(.a) by my client for my project. The objective of this static library is to integrate the functionality present in the library to my project. The problem I'm facing is that when I'm trying to link this file, my…