From: Ruben V. B. <van...@gm...> - 2011-02-21 21:21:55
|
Op 21 feb. 2011 20:53 schreef "Kai Tietz" <kti...@go...> het volgende: > > 2011/2/21 Ruben Van Boxem <van...@gm...>: > > Hi, > > > > With the latest 4.6 snapshot, I get weid configureness. See attached log. > > configure uses "no" as the fortran compiler. Smells like a bad typo > > somewhere... > > > > GCC configure: > > > >> ../../src/combined-tree/configure --host=$HOST --build=$BUILD > >> --target=$TARGET \ > >> --prefix=$PREFIX --with-sysroot=$PREFIX > >> \ > >> --enable-lto --enable-libgomp > >> --disable-multilib \ > >> --enable-static --disable-shared > >> --with-system-zlib \ > >> --enable-stage1-languages=c,lto > >> --enable-languages=$GCC_LANGUAGES \ > >> --with-cloog-backend=ppl > >> --with-host-libstdcxx="-lstdc++" \ > >> --disable-win32-registry > >> --enable-fully-dynamic-string \ > >> --enable-checking=release > >> --disable-werror \ > >> --disable-nls > > > > Thanks for any help here! > > > > Ruben > > Well, two things I see here. enabling lto and disabling shared isn't a > pretty good idea. This will and can lead to issues. > As at the moment mingw targets don't support --enable-threads=posix > you can run here into big troubles by using non-DLL variant of > pthread-win32. I would suggest to use here instead our new version > winpthread (which has some advantages over pthread-win32), but right > now we still have some issue in being compatible to *nix pthread. Some > parts I need to re-organize to make pthread_t integer-scalar (sadly > this is required by gthr-posix right now). > Let me know when it's ready to try! I'll try again with a shared pthread library and enable shared again, see where that brings me. I also think a lingering zlib install in my old toolchain is messing things up. The main gripe I have with GCC's build system is how slow it is to detect errors (hours and hours of trial and error :-$) Thanks for the help though. PS: I don't have much time for IRC these days, kind of a busy schedule. I have studied the present build scripts and makefiles, but all these small unknown problems are kind of killing the fun, if you know what I mean. > So to solve this, use DLL version of pthread-win32 > > Regards, > Kai > > -- > | (\_/) This is Bunny. Copy and paste > | (='.'=) Bunny into your signature to help > | (")_(") him gain world domination |