編譯出現ARM與THUMB衝突 WINCE600

2021-05-23 20:48:54 字數 398 閱讀 2309

// 論壇id:sturtle

// 版權:xfdarm(www.xfdarm.com)

// 平台:芯飛達科技 xfd6410開發板+wince600 os+camera(ov9650)

// 發布日期:2010-12-14

// 最後修改:2010-12-14

問題:在編譯光碟提供的camerademo的時候,受sdk和環境的影響,可能會報一下錯誤:

fatal error lnk1112: module machine type 'thumb' conflicts with target machine type 'arm'

解決方法:

在project-setting-linker-command line下,新增'/machine:thumb',如下:

ARM指令與thumb 指令

1 thumb指令集概述 為相容資料匯流排寬度為16位的應用系統,arm體系結構除了支援執行效率很高的32位arm指令集以外,同時支援16位的thumb指令集。thumb指令集是arm指令集的乙個子集,是針對 密度問題而提出的,它具有16位的 寬度。與等價的32位 相比較,thumb指令集在保留32...

編譯出現File name too long問題

今天編譯1個libffi時,出現了file name too long問題,make 7 stat ffitarget.h file name too long make 7 no rule to make target ffitarget.h needed by all am stop.剛開始以為...

g 編譯出現glibc detected 錯誤

glibc detected free invalid pointer glibc detected malloc memory corruption glibc detected double free or corruption out 0x00000000005c18a0 glibc dete...