"What I'm looking for is an overview of how to point the linking process at an entire library such as uClibc. This raises questions such as:
1) How does the linker know which ld-xx to use?
2) How does the linker know which libc-x to use?
I just need to understand the connection between the linker process and the actual library you require to link against.
Is it just a case of setting some flags? What above telling the linker to use an alternative library do the tool chains and the like actually do? Do I really need to use a tool chain if I want to link to an alternative library for the same platform?"
You specify all of these things on the gcc command line. I am not sure what a tool chain is. If you are talking about a Program Development Environment then most PDEs will generate the gcc command from information you give the PDE. You don't have to use a PDE and I rarely do.
The best online tutorial for gcc is the GNU gcc tutorial. I just tried it and got connection refused. You can use Google to find other gcc tutorials if gcc.gnu.org doesn't come back any time soon.
http://gcc.gnu.org/onlinedocs/gcc/
-------------------------------
Steve Stites