franko / gsl-shell

GSL library shell based on LuaJIT2
http://franko.github.io/gsl-shell/
GNU General Public License v3.0
92 stars 12 forks source link

Mavericks build -lsupc++ #13

Closed h4rm closed 10 years ago

h4rm commented 10 years ago

Hey Francesco,

on the new Mavericks (I cannot say anything about other OSX versions) I could not build the shell unless I deleted all -lsupc++ library references in the Makefile and makedefs.

I didn´t find much about the relevance of this gcc support library but it seems to work without it quite well. Maybe this is the case on all OSX versions and additional 'ifs' might catch that error in the future.

Ben

franko commented 10 years ago

Actually the -lsupc++ was an innocuous flags remaining from a previous configuration where gcc was used instead of g++ to build gsl-shell-gui. On Mac OS X this is just ok, the flag -lsupc++ does no harm but I will remove it. On linux I should change something because otherwise gsl-shell-gui is linked to libstdc++ without reason. I will switch to gcc to compile C++ and keep -lsupc++ only on linux.

Thank you for spotting out this problem.

Francesco