blitz-foundation / monkey2

zlib License
3 stars 0 forks source link

Linux executables show up to OS as a shared library and won't launch on double click #57

Open Pharmhaus-2 opened 5 years ago

Pharmhaus-2 commented 5 years ago

Original Author: jondecker76

This is due to the -pie compiler option being default now on newer versions. This can be solved by passing -no-pie to gcc (which I have currently being done thought env_linux.txt)

Pharmhaus-2 commented 5 years ago

@jondecker76 Do you know whether or not a old gcc would ignore such option or if the version needs to be verified so that it is only passed to new gcc in order to work?

jondecker76 commented 5 years ago

I'm not sure, but I did post my workaround (adding the nopie option during compiling)

On Sun, Apr 14, 2019, 10:13 AM Pharmhaus.Net notifications@github.com wrote:

@jondecker76 https://github.com/jondecker76 Do you know whether or not a old gcc would ignore such option or if the version needs to be verified in order to work?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/blitz-foundation/monkey2/issues/57#issuecomment-482984798, or mute the thread https://github.com/notifications/unsubscribe-auth/AGc_mwFxzEAf7L9qEBkpjb4L6A_WF26fks5vgzd2gaJpZM4cum2X .