Re: 請問安裝fortran77的問題 - Linux

Table of Contents

※ 引述《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.

--

All Comments

Suhail Hany avatarSuhail Hany2008-05-30
好厲害!!! @.@