This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Whatever happened to -fembedded-cxx?
- To: shebs at apple dot com
- Subject: Re: Whatever happened to -fembedded-cxx?
- From: "Martin v. Loewis" <martin at loewis dot home dot cs dot tu-berlin dot de>
- Date: Thu, 23 Mar 2000 00:45:16 +0100
- CC: gcc at gcc dot gnu dot org
- References: <38D9472C.445B17F0@apple.com>
> 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