On Wednesday, April 2, 2014 8:49:29 PM UTC+5:30, xunxun wrote: > 于 2014/4/2 星期三 15:07, 写道: > > > On Tuesday, March 25, 2014 7:28:16 PM UTC+5:30, xunxun wrote: > > >> 于 2014/3/25 星期二 16:28,Animesh 写道: > > >> > > >>> Hi, > > >>> I have downloaded the source code from > >>> http://ftp.mozilla.org/pub/mozilla.org/xulrunner/releases/14.0.1/source/ > >>> . I am trying to build this to get SDK for windows 64 bit. > > >>> Here are my contents of .mozconfig file > > >>> # mozilla config > > >>> . $topsrcdir/browser/config/mozconfig > > >>> ac_add_options --enable-application=xulrunner > > >>> #mk_add_options MOZ_MAKE_FLAGS=-j1 > > >>> mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../objdir2 > > >>> ac_add_options --target=x86_64-pc-mingw32 > > >>> ac_add_options --host=x86_64-pc-mingw32 > > >>> mk_add_options MOZ_CO_PROJECT=xulrunner > > >>> # Builds the core gecko components as a single library called libxul. > > >>> ac_add_options --enable-libxul > > >>> ac_add_options --disable-installer > > >>> ac_add_options --disable-javaxpcom > > >>> ac_add_options --disable-tests > > >>> ac_add_options --disable-angle > > >>> ac_add_options --disable-ctypes > > >>> # uncomment followings for debug build > > >>> #ac_add_options --enable-debug > > >>> #ac_add_options --disable-optimize > > >>> When i run 'make -f client.mk build' i get error and build stops > > >>> LINK 1112: module machine type 'x86' conflicts with target machine type > >>> 'x64' > > >>> My machine is windows 7 64 bit . DO i need to change some setting ? > > >>> While building host system type is shown same as target and build system > >>> type which is x86_64-pc-mingw32 . Not sure what is causing error here. > > >> Did you use x64 compiler toolchain? > > >> > > >> > > >> > > >> And then try to add > > >> > > >> > > >> > > >> export MOZ_OPTIMIZE_LDFLAGS="-MACHINE:X64" > > >> > > >> mk_add_options MOZ_OPTIMIZE_LDFLAGS="-MACHINE:X64" > > >> > > >> > > >> > > >> > > >> > > >> -- > > >> > > >> Best Regards, > > >> > > >> xunxun > > > Hi, > > > > > > I added following in .mozconfig file and started start-msvc10 , but i am > > still getting same error. Could you please suggest what can i do next. > > > Thanks > > To use x64 compiler toolchain, you should run the similar as > > start-shell-msvc2010-x64.bat > > > > > > > > > -- > > Best Regards, > > xunxun
I am getting same error , while running start-msvc10-x64.bat _______________________________________________ dev-builds mailing list [email protected] https://lists.mozilla.org/listinfo/dev-builds

