Re: Patch for Makefile to improve linkability of the kernel

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 14 Dec 1998 17:26:43 +0000 (GMT)


> > One way of solving this kind a stuff is to modify the linking order. This is
> > uggly and even circular dependencies might exist. the "--start-group ....
> > --end-group" aproach seems like a clean, tool-based solution:
> >
>
> A much better idea is to use ld -r and use .o files instead of .a
> files.

No its not. You want archives so you dont simply link the entire mess
into the kernel. The same reason you want static libc as an archive of
object modules not a single .o

Alan

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/