This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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: EXTERN command


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
>


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