How to fix linker error “cannot find crt1.o”?

Debian / Ubuntu

The problem is you likely only have the gcc for your current architecture and that’s 64bit. You need the 32bit support files. For that, you need to install them

sudo apt install gcc-multilib

Leave a Comment