cross compile 遇到的問題 - Linux

By Quanna
at 2008-06-20T19:11
at 2008-06-20T19:11
Table of Contents
請問一下
我最近要把 glib ( http://www.gtk.org/download-linux.html )
編到 arm 上面
所以我抓回 source 後
執行 ./configure --host=arm-linux
只是執行到一半出現
configure: error: cannot run test program while cross compiling
找了 config.h 發現是因為
./configure 會先編譯一個測試的檔案 輸出成 a.out
然後看能不能執行
但編出來的是 arm 的執行檔阿
所以當然無法執行
因此 configure 就不讓我過了
請問我該怎麼辦呢?
謝謝了~~
--
我最近要把 glib ( http://www.gtk.org/download-linux.html )
編到 arm 上面
所以我抓回 source 後
執行 ./configure --host=arm-linux
只是執行到一半出現
configure: error: cannot run test program while cross compiling
找了 config.h 發現是因為
./configure 會先編譯一個測試的檔案 輸出成 a.out
然後看能不能執行
但編出來的是 arm 的執行檔阿
所以當然無法執行
因此 configure 就不讓我過了
請問我該怎麼辦呢?
謝謝了~~
--
Tags:
Linux
All Comments
Related Posts
"在終端機中執行" 跟"執行" 有什麼不同嗎?

By James
at 2008-06-20T13:49
at 2008-06-20T13:49
請問有關撰寫/proc時所用的proc_read函式

By Aaliyah
at 2008-06-20T11:56
at 2008-06-20T11:56
fx3如何安裝於debian

By Elizabeth
at 2008-06-20T01:05
at 2008-06-20T01:05
ubunt u有辦法把解析度調成EPC的800*480嗎

By Edwina
at 2008-06-20T00:59
at 2008-06-20T00:59
linux kernel porting

By Jack
at 2008-06-20T00:21
at 2008-06-20T00:21