作者Adama (So Say We All.)
看板Linux
标题Re: 请问安装fortran77的问题
时间Fri May 30 08:20:56 2008
※ 引述《chenag (缺钱用.....>"<)》之铭言:
: 我今天把我想过的指令都打上去了@@可是就是不能用
: 我不知道跟自己灌的是Fedora5有关
: 我後来一次灌了:
: compat-gcc-32-3.2.3-56.fc5.i386.rpm
: compat-gcc-32-c++-3.2.3-56.fc5.i386.rpm
: compat-gcc-32-g77-3.2.3-56.fc5.i386.rpm
: compat-libf2c-32-3.2.3-56.fc5.i386.rpm
: compat-libstdc++-33-3.2.3-56.fc5.i386.rpm
: 就成功了 我也不知道为什麽 有人知道这几个rpm档是做什麽的吗?
因为现在的GCC是4.x版,你的Fedora 5也是
fortran compiler名字叫gfortran,支援Fortran 95
如果你没有办法找到gfortran代表你没装gcc-XXX相关套件
如果你坚持要用g77,那就要装旧版的GCC 3.x版,变成两种版本的GCC共存,
於是Fedora就包成compat-gcc-32-XXX套件方便管理和安装
libf2c是把fortran转成c function call (到GCC4就淘汰了)
libstdc++是c++ standard library
--
The
4400 ~ A Place In Time ~ [Amanda Abizaid]
So long ago, another
life, I can feel your heartbeat.
It's not a
dream, remember us. I can see it in your eyes.
We'll find our place in time, a place in
time beyond the sun.
We'll find our
place in time, a place in time to call our own.
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 61.229.105.152
1F:推 chenag:好厉害!!! @.@ 05/31 01:49