gcc?

本區專門提供 Mac OS X 使用者交換使用心得

版主: ross_ttbryanchangdigdogchester

回覆文章
內容
發表人
elecj
留言破百
文章: 115
註冊時間: 05/25/2001 1:01 am
來自: Taiwan,Taipei
聯繫:

gcc?

#1 文章 elecj »

我在聖堂看到一個 gcc-with-g77-bin.tar.gz

請問這個在Mac OS X下怎麼安裝使用呢...?


-------------------
不懂UNIX的人
fddi1
留言破百
文章: 188
註冊時間: 05/03/2001 1:01 am
來自: USA/Seattle, WA
聯繫:

gcc?

#2 文章 fddi1 »

Not sure what's in there, but to handle an archive that.
1. Go to the terminal window and cd to the directory where the gz file is.
2. gunzip filename.gz
3. tar xvf filename.tar
頭像
paladin
留言破百
文章: 248
註冊時間: 08/10/2001 1:01 am
來自: Tokyo/Japan

gcc?

#3 文章 paladin »

沒有自己去抓來看(忘記聖堂的地址了),不知那個 gcc裡面有什麼。既然叫做 bin,應該是已經 compile 好了的吧?只要如上所述地解開就可以了,但也許有附說明文件,說要在哪裡解開,這樣 gcc 才找得到需要的檔案(程式啦、header 檔啦...)。

不過,那個 gcc 裡面有沒有包含 make? 沒有 make,還是沒法用 gcc 裝軟體。 gcc 只能拿來 compile 一個程式檔。分開的檔案自己手動 compile, link 很麻煩。

有個簡單(?)方法是去裝 Developer Tools, 裡面就有 make, gcc (但是已經叫做 cc) 之類各種工具了。如果你不介意多佔很多空間的話。
頭像
digdog
討論區管理員
文章: 1297
註冊時間: 05/02/2001 1:01 am
聯繫:

gcc?

#4 文章 digdog »

<BLOCKQUOTE><font size="1" face="XYZ">quote:</font><HR>原始發信人 Jerry.L:
<STRONG>我在聖堂看到一個 gcc-with-g77-bin.tar.gz</STRONG><HR></BLOCKQUOTE>

I think it was came from here:
http://floyd.liunet.edu/~gkhanna/hpc.html

GCC 2.95.2 (with g77) NEW!: Download this tarred, gzipped file. As root, at the root level of your file system, tar -zxvf new-gcc-with-g77-bin.tar.gz . Done! By the way, you will need to have Apple Developer Tools installed to get everything you need, like gnumake etc. Recommended f77 flags for legacy fortran 77 programs: -fno-automatic -fno-second-underscore -fno-f90 -fugly-complex -fno-globals -fugly-init -Wno-globals -O2 . This distribution was modified on 2/1/02 for compatibility with OS X v 10.1 and the December release of Apple Dev Tools.
回覆文章