EXTERN command

ali hagigat hagigatali@gmail.com
Mon Feb 28 07:46:00 GMT 2011


When i write:
gcc -lc ....
I expect libc.a is linked with my program. Does GNU ld selects some
object files from libc.a and link them with my program? or the whole
archive will be linked?


On Sat, Feb 26, 2011 at 2:35 PM, Alan Modra <amodra@gmail.com> wrote:
> On Sat, Feb 26, 2011 at 02:14:46PM +0330, ali hagigat wrote:
>> What does it mean by "additional modules"? Are they some files?
>
> Yes.  Object files in an archive (.a file).
>
> --
> Alan Modra
> Australia Development Lab, IBM
>



More information about the Binutils mailing list