If file names collide, you may need to install in different directories, e.g. libraries in /lib, /usr/lib, /usr/local/lib, etc. Pathing and parameters must direct each compiler to its files. There is nothing like a limit on how many compilers you install. Just keep hands off any compiler used to recompile the kernel for some system parameter changes.