X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.6 required=5.0 tests=BAYES_00,SPF_HELO_PASS X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Paul Bibbings Subject: Re: Problems with qt4, requiring local repair Date: Mon, 01 Mar 2010 21:47:39 +0000 Lines: 73 Message-ID: <87r5o367es.fsf@gmail.com> References: <871vg37s1o DOT fsf AT gmail DOT com> <4B8C2466 DOT 3030803 AT gmail DOT com> <4B8C24FE DOT 4040300 AT gmail DOT com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1 (windows-nt) X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Dave Korn writes: > On 01/03/2010 20:32, Dave Korn wrote: >> On 01/03/2010 19:36, Paul Bibbings wrote: >> >>> -rwxr-xr-x 1 ... 392653 2010-01-31 00:57 cyggcc_s-sjlj-1.dll >> >> That's not one of ours at all. You can leave it, delete it, or move it >> aside; it won't be referenced by any of the cygwin system stuff. > > BTW (unless you're doing something *really* tricky) that means you forgot to > use "--disable-sjlj-exceptions" when you configured your compiler, which would > go a very long way toward explaining why it didn't interoperate with the > standard distro and why __gxx_personality_v0 was missing; we use Dwarf-2 EH > throughout. > > cheers, > DaveK Thanks for the quick replies, Dave. I have moved on some and re-installed the two libraries libssp0 and libstdc++6 and through experimenting I came to the conclusion too that cyggcc_s-sjlj-1 was not a Cygwin lib. It does seem, however, that I will have to go round for another build on a couple of my compilers since I did indeed miss --disable-sjlj-exceptions on gcc-4.4.3 and the gcc-4.5.0 snapshot (and a few other things too). Before I do that, can I ask whether it would be appropriate generally to follow the config from $ /cygdrive/d/CPPProjects/Emacs/cxxtest $gcc-4 -v Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4/configure --srcdir=/gnu/gcc/releases/packaging/4.3.4-3/gcc4-4.3.4-3/src/gcc-4.3.4 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/lib --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --disable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix --with-arch=i686 --with-tune=generic --enable-libgcj-sublibs CC=gcc-4 CXX=g++-4 CC_FOR_TARGET=gcc-4 CXX_FOR_TARGET=g++-4 GNATMAKE_FOR_TARGET=gnatmake GNATBIND_FOR_TARGET=gnatbind AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe --with-ecj-jar=/usr/share/java/ecj.jar Thread model: posix gcc version 4.3.4 20090804 (release) 1 (GCC) if I want to build, say, the latest gcc-4.4.3 release to be my Cygwin workhorse gcc compiler (for C++, mainly)? Suitably adjusted, of course, as I only want c,c++ and I want it installed under /opt/gcc-4.4.3. On the current problem, having tidied up the libraries, I can get a basic Qt4 app to build, but I'm not getting any joy running it. It merely hangs at a point that I am still trying to trace through debugging with gdb; and this is building using the Cygwin distro gcc-4.3.4. Thanks again for your help. Regards Paul Bibbings -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple