http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48677

--- Comment #12 from ralphengels at gmail dot com <ralphengels at gmail dot 
com> 2011-04-21 16:18:17 UTC ---
ok it works ! but damn this is strange i had to encase the path to the sysroot
directory in quotes and use the windows path instead of the posix path variant.

../src/gcc-4.6.0/configure \
--build=i686-w64-mingw32 --enable-libgomp \
--enable-cloog-backend=isl --enable-languages=c,c++,lto,fortran,objc,obj-c++ \
--enable-lto --enable-checking=release \
--disable-werror --disable-werror-allways \
--disable-win32-registry --enable-version-specific-runtime-libs \
--enable-fully-dynamic-string --prefix=/mingw32 \
--with-gnu-ld --with-gnu-as \
--with-sysroot="c:/codeblocks/mingw32" --disable-multilib \
CFLAGS="-mtune=generic" \
BOOT_CFLAGS="-mtune=generic" \
CFLAGS_FOR_TARGET="-mtune=generic" \
CXXFLAGS="-mthreads -mtune=generic" \
BOOT_CXXFLAGS="-mthreads -mtune=generic" \
CXXFLAGS_FOR_TARGET="-mthreads -mtune=generic" \
LFLAGS="-flto -fwhopr=2 -s" \
BOOT_LFLAGS="-flto -fwhopr=2 -s" \
LFLAGS_FOR_TARGET="-flto -fwhopr=2 -s" && make -j8 && make DESTDIR=/e/gcc32
install

Reply via email to