gcc -XLinker -M test.c 2>test.map would output some usful information about locating function to lib and ... The detail analyze of them would be very useful.
Where can I find some introduce document about them?
This list isn't for such questions... It is for the development _of_ gcc.