C++ has the concepts of hosted and freestanding implementations, so the -fhosted and -ffreestanding flags should be supported for C++ rather than being C-only.
-- Summary: -fhosted/-ffreestanding for C++ Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: c++ AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: jsm28 at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19992