Genes MailLists lists at
Sun May 1 17:58:53 UTC 2011

On 05/01/2011 01:51 PM, Tom Horsley wrote:
> On Sun, 1 May 2011 18:47:14 +0100 (BST)
> Patrick Dupre wrote:
>> I wish to link several .o files to make only one .o file not executable
>> (it will relinked later). I would like to first make a prelinked file easier to then link
>> them to the excutable file (ie. with a main).
> ld -r can do that, but are you sure you don't just want to
> stick all the .o files in an archive with ar and link with
> that static library later?

 Sounds more like a shared library not static to me ...

More information about the users mailing list