2011/6/16 niXman <[email protected]>: > It`s succesfully builded!
Wow! That's just... awesome! (pats himself on the back) Thanks for test-driving that for me ;-) > And one little question: in windows when I use MSYS I can build it? In theory, yes. I started these scripts on MSYS, but never tried a working version. There are some serious caveats: - It's ten times slower in execution of... everything. Seriously. - I've had numerous "file not found" issues when building GCC on MSYS. I know the mingw.org project builds their releases on MSYS, so it should work, it just hasn't for me (at least as far as building a complete toolchain goes). Note that you'll only need to do a buildmingw*.sh (no cross-compiler needed) and you'd need to change the HOST and BUILD values (and make them the same, to avoid stupid, "hey you're building on i686-pc-msys for i686-w64-mingw32 => you must be cros-compiling" mistakes). Cheers and enjoy the result of my hard work ;-) Ruben PS: I have a git repo here: https://github.com/rubenvb/MinGW-w64-build-scripts I do not guarantee that HEAD will be useful, but I try to remember to create a tag for each release. So if you have your own source tree with different versions of the components (see versions.sh and change the numbers), you can download only the scripts, without full source code. > > 2011/6/16 niXman <[email protected]> >>> >>> No, it should be (in your case): >>> export HOST=i686-w64-mingw32 >>> export TARGET=i686-w64-mingw32 >>> export BUILD=i686-linux-gnu >> >> Ok. I try. >>> >>> And verify if your previous steps worked correcltly. Just do this for a >>> quick check: >>> i686-w64-mingw32-g++ -v >> >> output this: >>> >>> nixman@nixman ~/mingw-build $ i686-w64-mingw32-g++ -v >>> Using built-in specs. >>> COLLECT_GCC=i686-w64-mingw32-g++ >>> >>> COLLECT_LTO_WRAPPER=/home/nixman/i686-w64-mingw32/bin/../libexec/gcc/i686-w64-mingw32/4.6.1/lto-wrapper >>> Target: i686-w64-mingw32 >>> Configured with: /home/nixman/mingw-build/src/gcc/configure >>> --host=i686-linux-gnu --build=i686-linux-gnu --target=i686-w64-mingw32 >>> --with-sysroot=/home/nixman/mingw-build/cross32/cross32 >>> --prefix=/home/nixman/mingw-build/cross32/cross32 >>> --with-libiconv-prefix=/home/nixman/mingw-build/cross32/libs >>> --with-libexpat-prefix=/home/nixman/mingw-build/cross32/libs >>> --with-gmp=/home/nixman/mingw-build/cross32/libs >>> --with-mpfr=/home/nixman/mingw-build/cross32/libs >>> --with-mpc=/home/nixman/mingw-build/cross32/libs >>> --with-ppl=/home/nixman/mingw-build/cross32/libs >>> --with-cloog=/home/nixman/mingw-build/cross32/libs >>> --enable-cloog-backend=isl --with-host-libstdcxx=-lstdc++ --enable-shared >>> --enable-static --enable-threads=win32 >>> --enable-languages=c,c++,fortran,objc,obj-c++ --enable-libgomp >>> --enable-checking=release --enable-fully-dynamic-string >>> --enable-sjlj-exceptions --enable-libstdcxx-debug --disable-nls >>> --disable-werror --enable-lto --disable-multilib CFLAGS='-O2 -mtune=core2 >>> -fomit-frame-pointer -momit-leaf-frame-pointer -fgraphite-identity >>> -floop-interchange -floop-block -floop-parallelize-all' LDFLAGS= >>> Thread model: win32 >>> gcc version 4.6.1 20110613 (prerelease) (GCC) >> >> i.e. its correct. > > ------------------------------------------------------------------------------ > EditLive Enterprise is the world's most technically advanced content > authoring tool. Experience the power of Track Changes, Inline Image > Editing and ensure content is compliant with Accessibility Checking. > http://p.sf.net/sfu/ephox-dev2dev > _______________________________________________ > Mingw-w64-public mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/mingw-w64-public > > ------------------------------------------------------------------------------ EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev _______________________________________________ Mingw-w64-public mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mingw-w64-public
