[問題] 編cross compiler時用的kernel header

看板LinuxDev作者 (bignose)時間12年前 (2012/03/10 18:37), 編輯推噓0(002)
留言2則, 1人參與, 最新討論串1/1
請問在建置cross compiler時, 所用的kernel header version 是要用host端的還是target端的呢? 如果是target端的,我有用同一個cross compiler編出來的程式, 在不同kernel version 的target上跑,都是可以跑的 如果host端的,那跟我最後要編出來的程式又什麼關係呢? 我的程式又不是跑在host 對於要用host還是target的kernel version有疑惑 thanks! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 123.193.31.42

03/10 22:05, , 1F
target; userspace可看到的header,本來就需要維持binary
03/10 22:05, 1F

03/10 22:06, , 2F
compatibility, 不同kernel可跑沒什麼奇怪的
03/10 22:06, 2F
文章代碼(AID): #1FMoxZU8 (LinuxDev)