prix prad <> writes:
> Two object files foo_1.o and foo_2.o each have the same function a()
> defined and they
> have no other functions. foo_1.o is in a library specified prior to
> the library including
> foo_2.o
>
> The linker would pull in only foo_1.o in this case. What option can I
> give to
> gcc / ld to verify the above statement?
That's not a C question. You might try asking in gnu.gcc.help.
--
Keith Thompson (The_Other_Keith)
kst- <http://www.ghoti.net/~kst>
Nokia
"We must do something. This is something. Therefore, we must do this."
-- Antony Jay and Jonathan Lynn, "Yes Minister"