Skip to content

Instantly share code, notes, and snippets.

@jstaursky
Last active March 15, 2021 22:02
Show Gist options
  • Save jstaursky/a6657e97e0f4463b8947b3b0ec925b9c to your computer and use it in GitHub Desktop.
Save jstaursky/a6657e97e0f4463b8947b3b0ec925b9c to your computer and use it in GitHub Desktop.

May only need sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib but if there is a version mismatch between this gcc and the x64 gcc then there will be issues. So check update-alternatives --config gcc and use that info to find gcc-<version>-multilib and then install it.

credit to https://askubuntu.com/questions/453681/gcc-wont-link-with-m32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment