isovic / graphmap

GraphMap - A highly sensitive and accurate mapper for long, error-prone reads http://www.nature.com/ncomms/2016/160415/ncomms11307/full/ncomms11307.html Note: This was the original repository which will no longer be officially maintained. Please use the new official repository here:
https://github.com/lbcb-sci/graphmap2
MIT License
179 stars 45 forks source link

GCC choice #3

Closed andreas-wilm closed 9 years ago

andreas-wilm commented 9 years ago
andreas-wilm commented 9 years ago

Just to add to this: using GCC 4.4.7 we run into at least two problems

cc1plus: error: unrecognized command line option "-std=c++11"

which could be addressed in versions >-=4.3 and <=4.7 as described here http://stackoverflow.com/questions/14674597/cc1plus-error-unrecognized-command-line-option-std-c11-with-g

and we also get

g++: unrecognized option '-static-libstdc++'

which requires at least GCC 4.5, see http://stackoverflow.com/questions/16017959/g-unrecognized-option-static-libstdc

Easiest is to require 4.7. Pull request prints warning if GCC < 4.7