This is the mail archive of the
mailing list for the GCC project.
Re: status of GCC & C++
On Sun, 25 Mar 2012, Basile Starynkevitch wrote:
On Sun, 25 Mar 2012 20:30:31 +0200
Basile Starynkevitch <email@example.com> wrote:
How can a plugin know that cc1 was compiled with C++ or just with
nm thefile | grep _Z
(possibly nm -D)
You can also look for --disable-bootstrap or --disable-build-with-cxx in
the configure options. Or you can just assume that it is built as C++,
which is the default after all. People who have anything different should
have asked for it and thus know what to expect.