很多時候,你所使用的開發(fā)平臺和你的開發(fā)所面向的機器并不一致。比如,你可能想在裝有x86/Linux的膝上電腦上構建一個PowerPC/Linux的應用程序。使用GNU工具包中的gcc,gas和ld工具,可以指定并構建一個交叉編譯器,使你能夠在本地機器上創(chuàng)建面向其它目標機器的應用程序。稍微用些功夫,你甚至可以搭建出一個環(huán)境,從而能夠針對各種不同的目標而構建應用程序。在本指南中,我描述了在系統上構建交叉編譯器所需的過程。我還討論了構建一個完全的面向一系列目標的環(huán)境,展示了如何與distcc和ccache工具結合使用,并且描述了保持最新版本以及在新開發(fā)平臺上進行更新,所需的方法。 構建交叉編譯器,需要對構建一個典型的UNIX開源項目有基本的了解,具有一些基本的shell技能,還要有相當的耐心。
標簽:
上傳時間: 2013-11-27
上傳用戶:450976175
一:需求分析 1. 問題描述 魔王總是使用自己的一種非常精練而抽象的語言講話,沒人能聽懂,但他的語言是可逐步解釋成人能聽懂的語言,因為他的語言是由以下兩種形式的規(guī)則由人的語言逐步抽象上去的: ----------------------------------------------------------- (1) a---> (B1)(B2)....(Bm) (2)[(op1)(p2)...(pn)]---->[o(pn)][o(p(n-1))].....[o(p1)o] ----------------------------------------------------------- 在這兩種形式中,從左到右均表示解釋.試寫一個魔王語言的解釋系統,把 他的話解釋成人能聽得懂的話. 2. 基本要求: 用下述兩條具體規(guī)則和上述規(guī)則形式(2)實現.設大寫字母表示魔王語言的詞匯 小寫字母表示人的語言的詞匯 希臘字母表示可以用大寫字母或小寫字母代換的變量.魔王語言可含人的詞匯. (1) B --> tAdA (2) A --> sae 3. 測試數據: B(ehnxgz)B 解釋成 tsaedsaeezegexenehetsaedsae若將小寫字母與漢字建立下表所示的對應關系,則魔王說的話是:"天上一只鵝地上一只鵝鵝追鵝趕鵝下鵝蛋鵝恨鵝天上一只鵝地上一只鵝". | t | d | s | a | e | z | g | x | n | h | | 天 | 地 | 上 | 一只| 鵝 | 追 | 趕 | 下 | 蛋 | 恨 |
上傳時間: 2014-12-02
上傳用戶:jkhjkh1982
基于DirectX(SDK)的Visual C++游戲設計 電腦游戲經過短短30年的發(fā)展,已經成為影響公眾生活,改變公眾娛樂方式的重要產業(yè)。過去,人們主要是借助電影、電視、音樂等方式來娛樂。而今天,以游戲為代表的電子娛樂正在成為主流娛樂方式。游戲也正在迅速成長為一個龐大的產業(yè)。Microsoft Direct X(SDK)是一個基于COM技術的多媒體應用程序開發(fā)工具包,它代表了未來多媒體應用程序的開發(fā)方向。本文詳細介紹了游戲設計基本概念和 Direct X 的構架,包括DirectDraw、Direct 3D、DirectSound,并在 Visual C++6.0環(huán)境下使用Direct X(SDK)開發(fā)多媒體游戲作為本論文的實例
上傳時間: 2013-12-18
上傳用戶:wyc199288
gsoap 專注于嵌入式web service開發(fā),壓縮包中提供將WSDL文件生成客戶框架的工具包。
上傳時間: 2016-01-05
上傳用戶:l254587896
We have a group of N items (represented by integers from 1 to N), and we know that there is some total order defined for these items. You may assume that no two elements will be equal (for all a, b: a<b or b<a). However, it is expensive to compare two items. Your task is to make a number of comparisons, and then output the sorted order. The cost of determining if a < b is given by the bth integer of element a of costs (space delimited), which is the same as the ath integer of element b. Naturally, you will be judged on the total cost of the comparisons you make before outputting the sorted order. If your order is incorrect, you will receive a 0. Otherwise, your score will be opt/cost, where opt is the best cost anyone has achieved and cost is the total cost of the comparisons you make (so your score for a test case will be between 0 and 1). Your score for the problem will simply be the sum of your scores for the individual test cases.
標簽: represented integers group items
上傳時間: 2016-01-17
上傳用戶:jeffery
MatrixVB是MathWorks針對VB提供的一個Matlab庫,它提供了600多個函數,包括基本的數學運算和功能強大的信號處理、線性代數、串運算及圖形圖像處理功能等,為VB提供了強大的功能擴展。在VB中使用該數學工具包可避免重復性勞動,從而減少開發(fā)人員實現算法和界面設計的困難。
上傳時間: 2013-12-23
上傳用戶:sclyutian
OPT++,Sandia開發(fā)的一套優(yōu)化工具包。可以實現經典的q-Newton等基于梯度的優(yōu)化算法!
標簽: OPT
上傳時間: 2016-01-25
上傳用戶:zuozuo1215
The XML Toolbox converts MATLAB data types (such as double, char, struct, complex, sparse, logical) of any level of nesting to XML format and vice versa. For example, >> project.name = MyProject >> project.id = 1234 >> project.param.a = 3.1415 >> project.param.b = 42 becomes with str=xml_format(project, off ) "<project> <name>MyProject</name> <id>1234</id> <param> <a>3.1415</a> <b>42</b> </param> </project>" On the other hand, if an XML string XStr is given, this can be converted easily to a MATLAB data type or structure V with the command V=xml_parse(XStr).
標簽: converts Toolbox complex logical
上傳時間: 2016-02-12
上傳用戶:a673761058
內附詳細的源代碼和文檔《深入淺出LabVIEW數據庫應用》,不懂數據庫的工程師也可以玩轉數據庫,因為從應用的角度來看,我們的實際需求僅僅是數據的保存、修改、刪除和查詢,根本不需要去研究復雜的關系模型、抽象的關系代數、艱深的數據庫設計…那基本與我們的初始目標南轅北轍。借助LabVIEW 數據庫鏈接工具包(Database Connectivity toolkit)可以站在應用的層次,很方便的操作數據庫,實現數據的保存、修改、刪除和查詢等功能。
上傳時間: 2013-12-01
上傳用戶:Shaikh
bnn神經網絡,matlab工具包,用于模擬bnn神經網絡的脈沖發(fā)放
上傳時間: 2016-03-05
上傳用戶:bakdesec