English 中文(简体)
甲型六氯环己烷
原标题:android cross compile,ndk,toolchain

I want to build a kernel module for android. And i know i use the cross compile.Inside the kernel,i think i can use some general cross compile,such as arm-none-linux-gnueabi-gcc.Is my idea correct?Or any other cross compile for android,u can prompt to me?And any artile about how to build the environment in the ubuntu for the cross compile? Secondly,whenever i compile the module,how can i load it into the kernel as the module? At last,anyone explain the relationship among NDK,cross compile and toolchain? thx

问题回答

当然,这是一个大问题,但我将尝试并回答我至少知道的内容。 我认为,某个特定硬件制造商将拥有一个“Bundle”,其中包含一套完整的工作软件。 这将包括工具链、六氯环己烷煤炭来源、u子和整个安乐系统。 就我而言,自由规模为他们提供的特定加工和评价委员会提供了安乐施。

就术语而言,“汇编者”将列入“链条”。 “链条”一词包括整个编汇、跨图书馆等。 每个工具链都建在东道方(即)。 硫丹、cy等)和目标处理器(ar、 mi、强力等)。

为安乐公司建造的六氯环己烷与仅仅建造含水层绝无区别。 最好利用同样的工具链来建设用于建造安星系统的其余部分的持久性有机污染物。 为了建设六氯环己烷,确定了“ARCH=arm”和“CROSS_COMPILE=arm-none-linux-gnueabi-”的环境变量(或您正在使用的实际汇编者的序号)。 注:“-”一词在交叉汇编预案中很重要。

以下是如何建立发展环境。

http://source.android.com/source/startizing.html>rel=“nofollow”> 建立了安第斯开发环境:

注:Ubtu 10.04至11.04运行良好。 最好保留在其中一种版本内。

Putting the Linux kernel onto the target is completely target dependent. For the Freescale that I am using, it expects to find Linux kernel on the SD card at offset 0x800 blocks (each block is 512 bytes on the SD card). I use the following to write to the SD card raw:

sudo dd if=uImage of=/dev/sdb bs=1M seek=1; sync

就国家扫盲委员会而言,我根本没有经验。 我对此的理解是,这是安 Android app的一个接口,用于在时间安排关键职能方面向C和CPP编码打电话。 我不知道的是,这对国家情报机构接口的优势,以及它与国家情报机构的互动有何不同。

I hope you find this useful and helpful.





相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...

热门标签