I need to do the opposite: I have a GNU/Linux executable which I can't make it SYSV due to it's dependencies, and I have SYSV shared object. Executable fails to load my SYSV so file so I want to try compile it as GNU/Linux. So how can I force g++ to create GNU/Linux object file instead of SYSV?