I have no installed 32 bit libraries on my system. My linker was not angry after adding -m32 switch. Can I assume that 32 bit libraries was installed or they not needed for current project?
It should be possible with Ubuntu package managing tools to show which installed packages do the files /usr/lib32/libstdc++.so.6, /lib/i386-linux-gnu/libgcc_s.so.1, ... belong to.