MozTW 討論區
https://forum.moztw.org/

編譯firefox x64出現You are targeting i386 but using the 64 bit c
https://forum.moztw.org/viewtopic.php?f=18&t=32108
1 頁 (共 1 頁)

發表人:  hyoon0211 [ 2011-03-27, 06:01 ]
文章主題 :  編譯firefox x64出現You are targeting i386 but using the 64 bit c

編譯firefox x64出現You are targeting i386 but using the 64 bit compiler(附圖)

各位先進,
我照著官方說明在參考google到的資料去編譯FF4.0的原碼產生上述結果
我在 mozconfig中加入
. $topsrcdir/browser/config/mozconfig
ac_add_options --target=x86_64-pc-mingw32
ac_add_options --host=x86_64-pc-mingw32
# Once we fix jemalloc for VC10 + x64 - bug 569375
export WIN32_REDIST_DIR="C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\redist\x64\Microsoft.VC100.CRT"

之後裝完MozillaBuildSetup-Latest.exe (貌似1.5.1版)

使用start-msvc10-x64.bat
make -f client.mk build
無法順利編譯。懇請各位有編譯過的先進給些建議,自己第一次編不知道漏了哪些
我的環境是win7x64+visual studio 2010+ SDK7.1 +7.0A
(另外用Windows SDK Configuration Tool換版本時他會出現我沒裝visual studio 2005 or 08不給換)

附加檔案:
ffx.jpg [115.47 KiB]
被下載 407 次

發表人:  s793016 [ 2011-03-27, 18:34 ]
文章主題 :  Re: 編譯firefox x64出現You are targeting i386 but using the 64 b

基本上我會建議您編 32 bit 版本。

64 bit 版本我也沒編過,幾年內也不會想去編。

1 頁 (共 1 頁) 所有顯示的時間為 UTC + 8 小時
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/