This is the mail archive of the gcc-prs@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: c++/2009


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


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