We will need to setup target specific flags for the compiler and linker:
export BUILD32="-mabi=32" export BUILDN32="-mabi=n32" export BUILD64="-mabi=64"
Let's add the build flags to ~/.bashrc
to prevent issues if we stop and come back later:
cat >> ~/.bashrc << EOF export BUILD32="${BUILD32}" export BUILDN32="${BUILDN32}" export BUILD64="${BUILD64}" EOF