cygwin中安裝g77和f77

2021-09-29 22:11:52 字數 802 閱讀 1407

1.獲取適用於cygwin的g77/f77安裝包

本人從cygwin-release-20061108的cygwin早期版本中拷貝的安裝包,gcc-g77-3.3.3-3.tar.bz2

2.解壓安裝包

注意:一定要使用普通使用者許可權,命令:tar -jxvf gcc-g77-3.3.3-3.tar.bz2 --no-same-owner

–no-same-owner的意思是忽略檔案解壓獲得檔案許可權問題,因為這個檔案是拷貝過來的。

如果使用root許可權,這個命令會導致錯誤。

3.檔案拷貝

解壓產生usr資料夾,下面有3個資料夾:bin、lib、share。

bin中的檔案拷貝到cygwin安裝目錄的bin資料夾中;

lib中的檔案拷貝到cygwin安裝目錄的lib資料夾中;

share中包含doc、info、man三個資料夾;分別對應拷貝到cygwin安裝目錄的usr/share中對應的資料夾中。

gnu fortran comes with no warranty, to the extent permitted by law.

you may redistribute copies of gnu fortran

under the terms of the gnu general public license.

for more information about these matters, see the file named copying

or type the command `info -f g77 copying』.

安裝成功。

Cygwin安裝和使用

0 為什麼我們需要cygwin windows的dos scripts功能非常薄弱,命令列工具也非常少 如果您對linux比較熟悉,那麼cygwin可以幫助您在windows下面使用強大的bash,以及使用數量繁多的linux命令,通過scripts,可以更加高效的完成系統管理工作 站長維護的win...

在Cygwin中安裝DBD Oracle,

採用perl 5.10版本,dbd oracle 1.22 export oracle userid test test test102 for oracle client export oracle base c oracle export oracle home oracle base prod...

Cygwin安裝和配置ssh

安裝過程 2.安裝過程參考 3.安裝sshd過程 ssh host config 引導ssh服務配置 query enter the value of cygwin for the daemon ntsec ntsec 輸入ntsec query do you want to use a diffe...