This is the mail archive of the
gcc-prs@gcc.gnu.org
mailing list for the GCC project.
Re: c++/2009
- To: nobody at gcc dot gnu dot org
- Subject: Re: c++/2009
- From: Mark Mitchell <mark at codesourcery dot com>
- Date: 12 Apr 2001 17:36:01 -0000
- Cc: gcc-prs at gcc dot gnu dot org,
- Reply-To: Mark Mitchell <mark at codesourcery dot com>
The following reply was made to PR c++/2009; it has been noted by GNATS.
From: Mark Mitchell <mark@codesourcery.com>
To: aa8vb@yahoo.com
Cc: mmitchel@gcc.gnu.org, aa8vb@nc.rr.com, gcc-gnats@gcc.gnu.org,
nobody@gcc.gnu.org
Subject: Re: c++/2009
Date: Thu, 12 Apr 2001 10:30:05 -0700
>>>>> "Randall" == Randall Hopper <aa8vb@yahoo.com> writes:
Randall> Can libstdc++ be built so that it will fail to link (or
Randall> fail to dynamically link) when linked with libC (both
Randall> define cin/cout/cerr -- why doesn't link fail -- I'm not
Randall> a compiler expert)? Alternatively, what about a post-ld
Randall> link-check for libC.so on IRIX.
In theory, something like this could probably be done.
However, it's not going to be portable across platforms, which is one
of the major goals of G++.
I suppose that if you contributed a patch to automatically detect
linking in libC and issue an error message that it might be
considered, but I'm not really sure.
Thanks,
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com