• 编译安装Open64编译器


    请确保您有先决条件的安装:

    sudo apt-get install mawk csh bash make flex bison gfortran ia32-libs gcc-multilib g++-multilib gfortran-multilib
    

     确保sh是与打击不跑:

    sudo dpkg-reconfigure dash
    

    并选择"不"。

    确保awk是与mawk:  

    ls -al /etc/alternatives/awk
    

     修复寻找crt图书馆在错误的地点通过使象征性的链接:

    cd /usr/lib
    sudo ln -s /usr/lib32/crt* .
    
    sudo mkdir /usr/lib64/
    cd /usr/lib64/
    sudo ln -s /usr/lib/x86_64-linux-gnu/crt* .
    

     下载Open64源和解:

    cd ~
    wget http://downloads.sourceforge.net/project/open64/open64/Open64-5.0/open64-5.0-0.src.tar.bz2
    
    tar xjvf open64-5.0-0.src.tar.bz2
    cd open64-5.0/
    

     现在做的另一个目录里面这对于建设编译器

    mkdir objs
    cd objs
    

     决定你想要安装和运行配置脚本。 替代/opt/open64/5.0有你想要安装open64. 如果你想的默认使用的位置,离开的--prefix的论点。

    ../configure --prefix=/opt/open64/5.0
    

     建立compiler(假设8个核心机,-j6似乎是合理)

    make -j 6
    sudo make install
    

    https://askubuntu.com/questions/62129/how-to-install-open64-compiler

  • 相关阅读:
    HDU 2878 Great World of Goo
    HDU 4295 4 substrings problem
    UVALive 4975 Casting Spells
    UVA 10572 Black & White
    POJ 3133 Manhattan Wiring
    HDU 4267 A Simple Problem with Integers
    SPOJ 7258 Lexicographical Substring Search
    UVALive 4978 Fields and Farmers
    ssh连接aix问题与解决
    MDRT_<>$表
  • 原文地址:https://www.cnblogs.com/linuxws/p/16387521.html
Copyright © 2020-2023  润新知