c++ - How to use previous versions of g++ -
i running debian jessy g++'s version 4.9. reason need compile code in g++-4.7 or previous version.
i got files of gcc-4.7 , g++-4.7 debian wheezy of friend has g++-4.7.
i tried make apt-get install, seemed have worked gcc not g++. put files in /bin, doesn't seem locate g++-4.7 package.
when try compile code specify g++-4.7 error : g++: error trying exec 'cc1plus': execvp: no such file or directory
any idea how figure out?
my advise add wheezy repositories /etc/apt/sources.list
, install g++-4.7 using apt-get. using method bugfixes etc.
i guess, you're having dependency problems. these solved when use apt-get.
Comments
Post a Comment