open64编译安装
I got the Open64 compiler built on my 64-bit system running Ubuntu 11.10 by following these steps that I pieced together from a few places:
Make sure you have prerequisites installed:
sudo apt-get install mawk csh bash make flex bison gfortran ia32-libs gcc-multilib g++-multilib gfortran-multilib
Make sure sh is linked to bash and not dash:
sudo dpkg-reconfigure dash
and select 'No'.
Make sure that awk is linked to mawk:
ls -al /etc/alternatives/awk
Fix looking for the crt libraries in the wrong locations by making symbolic links:
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* .
Download the Open64 source and uncompress:
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/
Now make another directory inside this for building the compiler
mkdir objs
cd objs
Decide where you want to install, and run the configure script. Replace /opt/open64/5.0 with where you want to install open64. If you want to use the default location, leave off the --prefix argument.
../configure --prefix=/opt/open64/5.0
Now fix an unrecognized option error:
nano ../osprey/ipa/local/Makefile.gbase
and delete or comment out the last line containing:
ipl_summarize_util.o: OPTIMIZER += -CG:all_sched=0
Build the compiler (assuming an 8-core machine, -j 6 seems reasonable)
make -j 6
sudo make install
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列:基于图像分类模型对图像进行分类
· go语言实现终端里的倒计时
· 如何编写易于单元测试的代码
· 10年+ .NET Coder 心语,封装的思维:从隐藏、稳定开始理解其本质意义
· .NET Core 中如何实现缓存的预热?
· 分享一个免费、快速、无限量使用的满血 DeepSeek R1 模型,支持深度思考和联网搜索!
· 25岁的心里话
· 基于 Docker 搭建 FRP 内网穿透开源项目(很简单哒)
· ollama系列01:轻松3步本地部署deepseek,普通电脑可用
· 按钮权限的设计及实现
2019-06-20 tput 命令行使用说明