This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hallo!
Knowing that it should be possible (because Energie is doing it) I tried to compile some c++ files for my project. (Actually this was my 4th try but now...) everyting worked fine and I got some running code. So I startet to port over my complete project which was until now only simulating OOP in C.
Two days later I got stuck with this problem which I tried to solve with the help of Stackoverflow: https://stackoverflow.com/questions/37194071/c-global-object-initialization-fails-why-and-is-it-possible-to-put-objects/37194313
It seems that this isn't a problem with my understanding of C++ but imho a problem with the default startup_gcc/linker code which I've taken from some example project and which won't work completely for c++.
So I guess my question is: where do I get startup_gcc and ld files which will work with c++ code?
Thanks & best regards,
Florian
In the thread CCS GNU C Compiler and Linker Setup there are some startup_gcc and ld files to allow use of C++ code.Florian Bantner said:So I guess my question is: where do I get startup_gcc and ld files which will work with c++ code?
Not sure if there has been any work to update the startup_gcc and ld files installed with CCS to follow the recommendations in that referenced thread.