rules.mk: use gcc to link the objects, make a relocatable, no-whole-archive library, not including stdlib.