This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Whatever happened to -fembedded-cxx?


> At one point, it seems that Cygnus GCC or egcs or both had a flag
> -fembedded-cxx that complained about C++ constructs that are not
> part of the Embedded C++ subset.  However, it doesn't seem to be
> available in current sources.  What's the story?

I don't recall it ever being in egcs, so it must have been in Cygnus
gcc.

> (In case anybody is wondering why EC++ has reared its ugly head
> again, Apple is specifying EC++ for its I/O driver kit for OS X.
> And no, I wasn't around to influence that decision, but I will be
> happy to take any relevant data/opinions and pass them along, hint
> hint.)

Well, I guess I can't say much more than has been said before, by
other people and on other forums. EC++ does not do what it claims to
do (in particular, the claim that it is a subset of standard C++),
compilers don't (necessarily) perform the optimizations they are
supposed to perform, and the selection of deleted features appears
arbitrary considering the target audiencs. In particular, I fail to
see why the removal of namespaces has any impact whatsoever on
performance of target code; pretty much the same holds for the removal
of templates.

Regards,
Martin

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]