Re: [問題] compiler錯誤 linker input file unused 已刪文

看板Linux作者 (Neisseria)時間11年前 (2014/07/09 10:45), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《flied (libertines)》之銘言: : -------------------以下是talys.setup的script 修改了第八行compiler= 和11行 : bindir= -------------------- : #!/bin/sh : unalias -a : # : # This script takes care of the TALYS installation. : # All you have to do is adapt the next variables to your own situation, : # and run..... : # : compiler='gfortran /usr/bin/gfortran' 這裡改為 compiler='gfortran' 試試看 不要加入路徑 : #compiler='g95' : Thome=${HOME} : bindir=$Thome'/talys' # destiny directory of the TALYS executable 這樣子執行檔反而放在 $HOME/talys 這個目錄了 一般都是放在 $HOME/bin 較多,然後藉由設定,可執行 $HOME/bin 裡的程式 : # : # From here on, the rest should work automatically : # 以下就省略了,也不需要去修改 -- ※ 發信站: 批踢踢實業坊(ptt.cc), 來自: 59.104.122.185 ※ 文章網址: http://www.ptt.cc/bbs/Linux/M.1404873905.A.FCA.html
文章代碼(AID): #1JlAon_A (Linux)
文章代碼(AID): #1JlAon_A (Linux)