有關 arm-linux-gcc complier - Linux

Christine avatar
By Christine
at 2010-04-15T16:25

Table of Contents

想請教一個問題

我用arm-linux-gcc 4.2.2 編譯 hollow.c 後

放到嵌入式的板子上卻發生以下問題

『bash: ./b.out: /lib/ld-linux.so.3: bad ELF interpreter: No such file or
directory』

到網路上蒐尋過似乎要用"靜態編譯"

想請問一下要如何編譯?

另外為何會發生這樣的情況?

謝謝

--
Tags: Linux

All Comments

Charlie avatar
By Charlie
at 2010-04-18T18:44
請先弄清楚"動態連結"和"靜態連結"...
Lydia avatar
By Lydia
at 2010-04-20T12:47
應該掛一個 -static去編譯就可以了吧

ubuntu 硬碟分割問題

Audriana avatar
By Audriana
at 2010-04-15T11:00
先前在灌ubuntu時 硬碟是照原先內建的配置下去作分割 所以home目錄並沒有獨立分割出來 但如果我現在想要把home目錄在獨立分出來 請問一下這有辦法作到嗎? - ...

取消scim視窗嵌入預先編輯字串易當機

Oscar avatar
By Oscar
at 2010-04-15T01:16
各位好, 我是 ubuntu 9.04 的使用者, 我發現在最近的一次更新後, 只要在 scim 的 and#34;輸入法設定and#34; -andgt; and#34;介面and#34; -andgt; and#34;全域設定and#34; -andgt; 取消勾選 and ...

如何更新 KDE

Valerie avatar
By Valerie
at 2010-04-15T00:34
既然講到kdenlive,之前發現這個 http://www.youtube.com/watch?v=1eHEAfNFJ0k 這個正妹還有很多其它Linux教學短片 (以及遊戲的, really a tech geek~) -- Nice to meld you. - ...

git 的疑問

Skylar Davis avatar
By Skylar Davis
at 2010-04-14T23:33
最近在 survey and#34;版本控制系統and#34; 原本考慮採用 SVN ,但是發現好像很多人也推 git 的樣子 不過據我所了解, SVN 可以對於 and#34;非純文字檔案and#34; 做版本的比較、存取 但網路上好像找不太到用 git 來對 and#34;非純文字檔案and#34; ...

tty1~tty6解析度

Daph Bay avatar
By Daph Bay
at 2010-04-14T21:33
※ 引述《smarter1004 (史瑪特兒)》之銘言: : 如何設定tty1~tty6的畫面解析度? : 小的linux是Ubuntu 9.10 改這一個檔案 /etc/default/grub 找到一行 GRUB_CMDLINE_LINUX 加上vga,變成這樣 GRUB_CMDLINE_LINUX ...