So I'm trying to debug an issue my user is having with a piece of software on Ubuntu.
I have compiled a C# app targeted towards the the x86 platform, when running it on my x64 windows image the app operates as a x32 application.
However when running the same app though mono on Ubuntu it displays that it is x64
Which then causes the very nasty error of
libgcc_s.so.1 must be installed for pthread_cancel to work
Mono that is compiled for 64-bit can only run apps in 64-bit mode. Similarly, Mono compiled for 32-bit can only run apps in 32-bit mode.
If you want to be able to run in either mode, then you need 2 versions of Mono - one compiled for 32-bit and one compiled for 64-bit.