On 2006-06-14, Yvan Castilloux <[email protected]> wrote:
> I declared them as extern in our code, telling the linker that
> it is defined somewhere else. However, it still doesn't link
> and tells me:
>
> "undefined reference to foo"
>
> My colleague does the same using the standard gcc and it works.
>
> Do you have any suggestions?
You're using the "-r" or "-i" flag when you link, and the
linker still complains about unresolved symbols? If so, then
that sounds like a binutils bug to me.
In any case, the binutils mailing list is the correct forum for
this discussion. It's really got little to do with gcc.
--
Grant Edwards grante Yow! I have a very good
at DENTAL PLAN. Thank you.
visi.com