Solved a problem with -root
Moreover, it seems to be already possible to link two compilation unit  with the
same name, it only gives a warning. It seems to be working correctly (for now).