Good resources related to the compilation linking process
I have been coding for a while now and I always thought the compile link step was pretty straight forward, but lately I had to add a plugin system to the application and I ran into quite a few compilation and execution problems due to my complete lack of knowledge about this question. Now I have done well and have learned a lot from the process, but now that I know that I still have a lot to learn on this subject, I wanted to explore the matter more. So I was wondering if anyone has any good guidelines for articles, blog posts or books on all the sections "code sections, symbols, links, dynamic / static libraries ...".
I am developing in Linux using gcc and ld, but I'm also interested in the M $ way of doing things, I'm thirsty for knowledge :)
Thank!
source to share
Here are some good online resources:
Ulrich Drepper (a glibc proponent) gives a very detailed description of Linux libraries implementation in his article How to Write Shared Libraries , definitely worth reading if you want to know the details. In fact, I can't think of a book that does a great job with the details.
source to share