From: Geoff H. <geo...@t-...> - 2011-07-07 23:49:48
|
On 07/07/2011 4:49 PM, Ruben Van Boxem wrote: > 2011/7/7 Geoff Hilton<geo...@t-...>: >> Hi, I signed up to the mailing list to ask if someone here could please >> assist me with a problem I'm currently having with building a cross >> compiler, the link with more information is below. >> >> Thanks very much for any help you can provide. > > Sorry to be so short in words, but you should add /usr/local/bin to > PATH and try a clean reconfigure. I believe configure is trying to use > the wrong executables (in the x86_64-w64-mingw32/bin directory, which > should not be called directly). This will allow for the proper tools > to be used. > > If you just want a working cross-compiler built and are tired of > trying, try my source package: > http://sourceforge.net/projects/mingw-w64/files/Toolchain%20sources/Personal%20Builds/rubenvb/ > > Unzip the latest one, modify the first lines of buildmingw64.sh: > export HOST=i686-w64-mingw32 > export TARGET=x86_64-w64-mingw32 > export BUILD=i686-w64-mingw32 > > and use my 32-bit toolchain from > sourceforge.net/projects/mingw-w64/files/Toolchains targetting > Win32/Personal Builds/rubenvb/ > > to rule out any external factors. Add mingw32/bin to PATH, and run > ./buildmingw64.sh from the main directory where you unzipped the > source package. > > PS: Also feel free to modify scripts/common.sh > GCC_LANGUAGES: remove what you don't need > BUILD_CFLAGS: the -mtune parameter: either keep or modify to something > better suited to your system > > Hope this helps! > > ------------------------------------------------------------------------------ > All of the data generated in your IT infrastructure is seriously valuable. > Why? It contains a definitive record of application performance, security > threats, fraudulent activity, and more. Splunk takes this data and makes > sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-d2d-c2 Where exactly would I place the mingw32 directory located inside your i686-w64-mingw32-gcc-4.6.2_rubenvb.7z file? Those folders structures feel so repetitious that it gets confusing (possibly because I can't remember whether or not the current install location mingw is the default path where I installed mingw/msys originally). I'd still also appreciate help with getting my original compilation attempt fixed as well, if possible! Thanks, Geoff |