This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: f build dies with: undefined reference to `lookup_name'


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~


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