回文章列表
作者Adama.bbs@ptt.cc (So Say We All.) 看板: linux
標題Re: 請問安裝fortran77的問題
時間批踢踢實業 (2008/05/30 Fri 08:20:57)
※ 引述《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
文章選讀←離開[主題上]主題下(k)上篇(j)下篇S/a搜尋 G串列 TAB精華 ↑↓捲 Pg/Space翻