tested -m (-M for gnu ld) that generates linker.map
Tested creation of the static libraries

NOTE: its important to pass library name after the object file names to
linker command line. Cause linker first gets all undefined symbols then
it search for them in libs.

So
$ gcc -L. -lfoo main.o
will not work cause main.o has undefined reference. But
$ gcc main.o -lfoo -L.
will work, cause undefined reference in main.o will be found in libfoo.a
Added my playing with ld, shared library and *EXPECIALLY* library runtime path (-R or -rpath) included into binary