Changes between Version 12 and Version 13 of jazz/ocsync


Ignore:
Timestamp:
Nov 9, 2012, 3:41:00 PM (12 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/ocsync

    v12 v13  
    77 * 我把前面做過的一些嘗試搬到最後面,然後列幾項結論在此:
    88 * [備忘] mingw32 是舊版的,現在已經移到 mingw64 也就是可以同時支援 32 與 64 位元的 Windows 版本。所以如果要安裝套件,請安裝 mingw-w64!
    9  * [結論] 實際上,要用 mingw64 編譯 windows 程式,需要把所有相依的 library 都裝到 mingw64 底下才行。就像在 x86 底下想要編譯 arm 的程式碼,必須安裝 cross compiler ,並將會用到的所有相關函式庫改用 cross compiler 編譯新的 .so 或 .a 動態連結(類似 .dll),才能建立一個乾淨的 for arm 的 Linux Distribution.
     9 * [結論] 實際上,要用 mingw64 編譯 windows 程式,需要把所有相依的 library 都裝到 mingw64 底下才行。就像在 x86 底下想要編譯 arm 的程式碼,必須安裝 cross compiler ,並將會用到的所有相關函式庫改用 cross compiler 編譯新的 .so 或 .a 動態連結(類似 .dll),才能建立一個乾淨的 for arm 的 Linux Distribution。 這也就是為何需要一系列 Toolchain 的緣故。
    1010 * [解法一] OpenSUSE 有一系列的編譯,當然因為 OBS (Open Build Service) 的關係,也可以移植到 Ubuntu 上
    1111   * [參考] http://greg.thehellings.com/2012/02/a-better-ubuntu-mingw-experience/