Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-14 Thread Renato Golin
On 14 August 2017 at 10:27, Peter Smith wrote: > Perhaps the most difficult decision is whether to support exceptions. > For your own code, choosing not to support exceptions isn't a problem > as both gcc and clang can compile without exception tables, however > many C++

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-14 Thread Peter Smith
Hello Godmar, This is a very difficult question to answer as it will depend a lot on the constraints of the OP-TEE environment and what subset of the C++ language and libraries that the developers are willing to support. I can speak a little bit about generic support of C++ in embedded systems

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-12 Thread Godmar Back
I'm sorry the discussion got off track about the relative virtues of C++ for embedded programming. Our need is to run parts of existing C++ code (the px4 library for drones) under OP-TEE. The C++ features we need support for thus are the ones used there, and we'd like to change

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Jeffrey Walton
On Sat, Aug 12, 2017 at 1:27 AM, Michael Zimmermann wrote: > That also depends on what you want to use C++ for. > If you just want to use the convenient syntax and language features > then you don't need to link against any additional library. > In that case you'd

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Michael Zimmermann
That also depends on what you want to use C++ for. If you just want to use the convenient syntax and language features then you don't need to link against any additional library. In that case you'd disable exceptions and rtti and implement new/delete using malloc/free. Thanks Michael On Fri, Aug

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Jim Wilson
On Fri, Aug 11, 2017 at 1:34 PM, Godmar Back wrote: > Is this the wrong mailing list to ask the question then? Perhaps, but maybe you will get a response on Monday from someone in Europe that didn't see it today. > Normally, libraries are decomposed into individual .o files to

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Godmar Back
On Fri, Aug 11, 2017 at 4:04 PM, Jim Wilson wrote: > On Fri, Aug 11, 2017 at 6:53 AM, Godmar Back wrote: > > In a recent github thread > > > it > > was suggested that I ask this list

Re: Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Jim Wilson
On Fri, Aug 11, 2017 at 6:53 AM, Godmar Back wrote: > In a recent github thread > it > was suggested that I ask this list about what the exact reasons for the > lack of C++ support are, and how/if they break

Q: reasons for lack of support for C++ in OP-TEE?

2017-08-11 Thread Godmar Back
In a recent github thread it was suggested that I ask this list about what the exact reasons for the lack of C++ support are, and how/if they break down by C++ feature so as to gauge a possible investment in remedying this