Cross Compile (ASUS wl-500gp)的問題 - Linux

Hazel avatar
By Hazel
at 2008-09-07T01:29

Table of Contents

Embeded linux的東西,不知道適不適合在這邊發問


我在ASUS WL-500gp上面(一台無線AP),
有把韌體更新為Oleg的版本(Oleg也是一個Linux)


由於我想寫一支程式在AP上面跑,來進行rs232的存取
而這支程式想要可以移植到AP上,好像就需要用交叉編譯(Cross Compile)
要在別台電腦編譯完後,再把程式移到AP上執行


我有查到這顆MCU要交叉編譯時,有些環境參數要設定,如:
$export TARGET=mispel-linux


不知道有沒有板友知道
我想用 GCC(Ubuntu的) 先寫一個簡單的程式 Hello World! 在 AP 上面跑,

需要灌哪些軟體,還有要怎麼設定GCC編譯的環境


感激不盡~~

--
Tags: Linux

All Comments

Andy avatar
By Andy
at 2008-09-10T05:59
不能用ubuntu本來的gcc 要找到可以編譯成你那種target的x-c
Catherine avatar
By Catherine
at 2008-09-11T15:44
STFW " ubuntu cross compile " or " cross compile "
Mason avatar
By Mason
at 2008-09-13T16:57
http://www.gd-emb.org/detail/id-46584.html

wine無法安裝

Aaliyah avatar
By Aaliyah
at 2008-09-06T23:48
一按套件安裝 就出現 依存關係:winbind but it is not installable google過了 不過到目前為止似乎無解 請問有無解決辦法 thx - ...

Can not type Chinese

Barb Cronin avatar
By Barb Cronin
at 2008-09-06T23:12
Iand#39;m now using Ubuntu by installing it from the and#34;Wubiand#34;. But I got lots of problems here. 1.I use Wubi to install Ubuntu to my PC. Iand#39 ...

沒有公鑰?

Caitlin avatar
By Caitlin
at 2008-09-06T20:50
※ 引述《Maxsolar.bbsatOfO.twbbs.org (Astro v.s. Geo)》之銘言: : 不過我也有疑問: : 為什麼諸如RH或是SUSE系列,加入repos之後不需要下載公鑰並安裝呢? : 還是加入repos就會順便匯入公鑰? 會啊!在使用新的repo第一次下載時,yum就會問說要 ...

沒有公鑰?

Margaret avatar
By Margaret
at 2008-09-06T09:02
我要幫一台 eee PC 的 LINUX 裝 WINE 可是出現了 由於沒有公鑰,下列簽名無法進行驗證: NO-PUBKEY 58403026387EE263 的錯誤訊息,無法安裝。 請問大家,這個 公鑰 是什麼?要如何取得? 新手,請多包涵,謝謝。 - ...

用Virtual PC 開linux會停住

Jacky avatar
By Jacky
at 2008-09-06T08:51
我用virtual PC裝linux(用Debian) 但每次開啟時總是會操作到一半或甚至開機還沒完成就停 在某個畫面就不動了 關掉後重新start還是會發生畫面停住的問題 只是每次停住的點都不一樣 有時候是停在Freeing unused kernel memory:196k freed 有時候是停在i ...