gcc 4.5 installation problem under ubuntu

夙愿已清 提交于 2019-12-04 11:41:55

It might not be a good idea to have a space in your path - it's kind of rare and can easily mess up shell scripts that aren't specially designed to deal with it (which is a bad combination!)

Another potential problem is that you're running configure inside the gcc source directory - this isn't recommended (and didn't work at all for me on at least one version of gcc 4). Instead make an empty build directory, parallel to the source directory, so you have something like:

gcc 4.5            <- but might want to avoid the space
  gcc-4.5.0
    ...
  build

Then cd into build and run

../gcc-4.5.0/configure

You may also need to start from a freshly unzipped source directory, as the previous failed build may have broken it.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!