ld linker script INPUT(-lfile)
Posted on 2009-04-30
hi all ,
I just reading the documents about the how to write linker scripts ,
and the INPUT command explains like this
>>If you use INPUT (-lfile), ld will transform the name to libfile.a, as with the command line argument -l.
>>When you use the INPUT command in an implicit linker script, the files will be included in the >>link at the point at which the linker script file is included. This can affect archive searching.
what is the difference of the libfile.a and file.o ?
is that .a means that static library file ? what is that command line options ?
-- Thanks in advance --