This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: f build dies with: undefined reference to `lookup_name'
- From: Richard Henderson <rth at redhat dot com>
- To: David Edelsohn <dje at watson dot ibm dot com>
- Cc: Andrew Cagney <cagney at mac dot com>, Alan Modra <amodra at bigpond dot net dot au>, gcc-patches at gcc dot gnu dot org
- Date: Wed, 6 Mar 2002 12:41:43 -0800
- Subject: Re: f build dies with: undefined reference to `lookup_name'
- References: <rth@redhat.com> <200203061927.OAA30056@makai.watson.ibm.com>
On Wed, Mar 06, 2002 at 02:27:36PM -0500, David Edelsohn wrote:
> The whole problem, and what Alan is trying to get around, is that
> one may not know the DECL at the time one sees the #pragma weak.
Yes, I know.
> Otherwise, we are back to weakening strings without any knowledge of a
> DECL to which it might correspond.
Not at all. You just have to do it in the C/C++ front end rather
than in the generic part of the compiler.
r~