亚洲av成人无遮挡网站在线观看,少妇性bbb搡bbb爽爽爽,亚洲av日韩精品久久久久久,兔费看少妇性l交大片免费,无码少妇一区二区三区

  免費注冊 查看新帖 |

Chinaunix

  平臺 論壇 博客 文庫
最近訪問板塊 發(fā)新帖
查看: 1089 | 回復(fù): 0
打印 上一主題 下一主題

ADA開發(fā)環(huán)境的建立 [復(fù)制鏈接]

論壇徽章:
0
跳轉(zhuǎn)到指定樓層
1 [收藏(0)] [報告]
發(fā)表于 2008-10-09 20:35 |只看該作者 |倒序瀏覽

ADA開發(fā)環(huán)境的建立
Author: misty (qibing83@yahoo.com.cn)
1.1        Windows上開發(fā)環(huán)境的建立
1.       下載gnat安裝軟件,gnat軟件下載地址:
https://libre.adacore.com
,下載軟件GNAT GPL Edition,下載時需要用戶登錄,下載文件:gnat-gpl-2008-pentium-mingw32msv-bin.exe和gnatbench-2.1.0-pentium-mingw32msv-bin-eclipse.exe。GTKADA下載文件:GtkAda-gpl-2.10.2.tgz和gtkada-gpl-2.10.2-nt.exe
2.       安裝gnat軟件,點擊安裝gnat-gpl-2008-pentium-mingw32msv-bin.exe,安裝后還需要設(shè)置環(huán)境變量ENV_PATH的值,在“我的電腦”-“屬性”-“高級”-“環(huán)境變量”-“新建”,然后把環(huán)境變量ENV_PATH賦值為bin安裝路徑,比如:如果gnat安裝在D盤中,則ENV_PATH=D:\GANT\bin(這樣是為了解決“找不到gnatmake”的錯誤提示問題)。
Error message : "gnatmake is not recognized as an internal or external command"
Technote (FAQ)
  Problem
During an Ada build on Windows using the gnat compiler, the following error is encountered:
"gnatmake" is not recognized as an internal or external command"  
  Cause
In the "Ada Win32 - Gnat 3.11" Target Deployment Port (TDP), the path to the compiler is predefined. If the compiler is not actually installed in this location, the error results when during the build gnatmake is invoked.  
  Solution
Open the TDP and in Basic Settings locate the environment variable ENV_PATH. Then update it to reflect the current installation path of the Gnat compiler.
1.2        Linux ubuntu 上開發(fā)環(huán)境的建立
1.       下載安裝gnat軟件,在ubuntu上可以使用#sudo apt-get install gnat自動下載安裝gnat軟件包,默認(rèn)安裝在/usr/bin目錄下。(也可以下載gnat-gpl-2008-i686-gnu-linux-libc2.3-bin.tar.gz軟件包自己安裝)。
2.       下載安裝gtkada軟件,到如上網(wǎng)站下載GtkAda-gpl-2.10.2.tgz軟件包,用-zxvf解壓后,運行#./configure –prefix=/opt/gtkada,#make install安裝到目錄/opt/gtkada下。
3.       設(shè)置環(huán)境變量,在文件/etc/profile中設(shè)置:#export PATH=$PATH:/opt/gtkada/bin,#export LD_LIBRARY_PATH=$ LD_LIBRARY_PATH:/opt/gtkada/lib,#export FONTCONFIG_FILE=/etc/fonts/fonts.conf。
4.       編譯程序,用命令#gnatmake 可以編譯ada程序并輸出一個可執(zhí)行程序;使用命令#gnatmake  `gtkada-config`編譯gtkada程序并輸出一個可執(zhí)行程序,注意gtkada-config兩邊的符號是tab鍵上方的那個按鍵。


本文來自ChinaUnix博客,如果查看原文請點:http://blog.chinaunix.net/u2/70351/showart_1279900.html
您需要登錄后才可以回帖 登錄 | 注冊

本版積分規(guī)則 發(fā)表回復(fù)

  

北京盛拓優(yōu)訊信息技術(shù)有限公司. 版權(quán)所有 京ICP備16024965號-6 北京市公安局海淀分局網(wǎng)監(jiān)中心備案編號:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年舉報專區(qū)
中國互聯(lián)網(wǎng)協(xié)會會員  聯(lián)系我們:huangweiwei@itpub.net
感謝所有關(guān)心和支持過ChinaUnix的朋友們 轉(zhuǎn)載本站內(nèi)容請注明原作者名及出處

清除 Cookies - ChinaUnix - Archiver - WAP - TOP