zoukankan      html  css  js  c++  java
  • ubuntu10.04 安装gcc4.1.2

    After a bunch of searching to get gcc-4.1 & g++-4.1 in Ubuntu 10.10 (maverick), I found easy work around.

    Add to the end of /etc/apt/sources.list source from 10.04 (lucid)

    deb http://mirrors.us.kernel.org/ubuntu/ lucid main universe
    

    Then run

    sudo apt-get update
    

    You have to specify version 4.1.2-27, as libstdc++6-4.1-dev has not been back ported to 4.1.2-29.

    sudo apt-get install gcc-4.1=4.1.2-27ubuntu1 gcc-4.1-base=4.1.2-27ubuntu1 cpp-4.1=4.1.2-27ubuntu1 g++-4.1


    update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-4.1 10



    ubuntu 上有build-essential
    centos 上有Development Tools

    gcc 4.1.2 ;  g++; gdb, libssl-dev ;automake(>=1.9.6)、autoconfig 、 libtool

  • 相关阅读:
    Golang学习
    Golang学习
    基础知识
    Golang学习
    基础知识
    hyper-v server 2016安装,客户端远程管理
    inotifywait命令
    CENTOS 7发送邮件测试
    NFS学习
    awk命令
  • 原文地址:https://www.cnblogs.com/silenceli/p/3372393.html
Copyright © 2011-2022 走看看