Tom Horsley horsley1953 at
Sun May 1 17:51:57 UTC 2011

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?

More information about the users mailing list