Linker

From: .:'DevarajA':. (no_at_spam.com)
Date: 07/25/04


Date: Sun, 25 Jul 2004 19:17:23 GMT

I have some other questions... please be patient, i'm a newbie

How can the linker know which library contains the requested function?

Does the compiler leave a blank space (filled with code found in the
libraries or in other files of my project by the linker) when it reads a
function? If not what does it do?

Does the compiler create separate object file for each one of the *.c files
i've written? or are those file joined by the linker?

Thank you, DevarajA



Relevant Pages

  • /ports/multimedia/gstreamer-plugins80/ fails
    ... checking for C compiler default output file name... ... checking whether we are using the GNU C compiler... ... checking whether the cc linker supports shared libraries... ...
    (freebsd-questions)
  • gstreamer-plugins80 compile fails
    ... checking for C compiler default output file name... ... checking whether we are using the GNU C compiler... ... checking whether the cc linker supports shared libraries... ...
    (freebsd-questions)
  • Newbie packages question
    ... checking for gcc... ... checking for C compiler default output file name... ... checking if the linker is GNU ld... ... checking how to recognise dependent libraries... ...
    (Debian-User)
  • Re: resolving linker errors
    ... solution and the files also become visible in solution explorer. ... file to your linker settings (look for "additional libraries" in the input files ... compiler finds the files even when they are not in the solution. ...
    (microsoft.public.vc.language)
  • Re: where does the header implentation get inserted
    ... suppose i declare a function in "myLib.h". ... where and how the compiler insert the lines in "somthing.c" ... tell the compiler to compile it too, and then tell the linker to link ... Libraries are processed at link time. ...
    (comp.lang.c)