From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9161 invoked by alias); 21 Jun 2014 01:56:13 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 9016 invoked by uid 89); 21 Jun 2014 01:55:35 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.1 required=5.0 tests=BAYES_50,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-pa0-f44.google.com Received: from mail-pa0-f44.google.com (HELO mail-pa0-f44.google.com) (209.85.220.44) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Sat, 21 Jun 2014 01:55:33 +0000 Received: by mail-pa0-f44.google.com with SMTP id rd3so3705512pab.17 for ; Fri, 20 Jun 2014 18:55:31 -0700 (PDT) X-Received: by 10.68.240.5 with SMTP id vw5mr9242206pbc.113.1403315731222; Fri, 20 Jun 2014 18:55:31 -0700 (PDT) Received: from ?IPv6:2001:e68:4053:ff4c:e01f:8e6d:cdca:d0e5? ([2001:e68:4053:ff4c:e01f:8e6d:cdca:d0e5]) by mx.google.com with ESMTPSA id kq10sm15509478pbc.90.2014.06.20.18.55.28 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 20 Jun 2014 18:55:29 -0700 (PDT) Message-ID: <53A4E604.50704@gmail.com> Date: Sat, 21 Jun 2014 01:56:00 -0000 From: JonY <10walls@gmail.com> User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:24.0) Gecko/20140503 FossaMail/24.5.0 MIME-Version: 1.0 To: The Cygwin Mailing List Subject: Re: Question on gcc install References: <9D11C0FA97F94A69A68A45B7A449C70F@HPDV7TNotebook> <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC> In-Reply-To: <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8mBrqX2wnKs68aqRADR42HXII8fo4ofGf" X-IsSubscribed: yes X-SW-Source: 2014-06/txt/msg00334.txt.bz2 --8mBrqX2wnKs68aqRADR42HXII8fo4ofGf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 1989 On 6/20/2014 22:37, Arthur Schwarz wrote: >=20 >> At the present time /bin/gcc.exe, etc., works. /bin/*mingw*.exe either >> compiles but does not link, or does not compile - which seems to be a > header >> issue. gcc -m32 does not work which may be a gcc.gnu issue. >> >=20 > Can you at least be specific about the errors? It is rather frustrating > reading your emails, being so vague about and all. Are you mixing Cygwin > and mingw code? >=20 > Sorry. I was remiss. >=20 > Execution fails on all of the mingw compilers with the same error > message. All compilations use the same command line options. >=20 > > i686-pc-mingw32-g++ -Wall -Wno-reorder -Wno-unused-value -DYYDEBUG= =3D1=20 > -DDEBUG_IO -c -g -MMD -MP -MF >=20 > > slip.exe >=20 > /E/home/skidmarks/Projects/SLIP/slip/dist/Debug/mingw-Windows/slip.exe: > error while loading shared libraries: libstdc++-6.dll: cannot open shared > object file: No such file or directory >=20 > RUN FAILED (exit value 127, total time: 15ms) >=20 You are not supposed to run cross compiled executable files. This is not even a linker error. > After execution I ran the following find on /usr. >=20 >> find /usr/i686-pc-cygwin=20 > /usr/i686-pc-mingw32=20 > /usr/i686-w64-mingw32=20 > /usr/x86_64-w64-mingw32 -iname 'libstdc++-6.dll' >=20 > i686-pc-mingw32/sys-root/mingw/bin/libstdc++-6.dll > i686-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll > x86_64-w64-mingw32/sys-root/mingw/bin/libstdc++-6.dll >=20 > /usr/i686-pc-cygwin apparently does not use this dll and the generated mi= ngw > executables can not find it. Can anything be done about this - I refrain > from 'guessing', 'inferring', or 'assuming (causality)'. >=20 >=20 Do not guess, there is nothing to infer from it, it is done on purpose. You will need to copy these to where your executable programs are running. Additionally, you mustn't mix DLLs from different toolchains, so in this case, take the dll from i686-pc-mingw32. --8mBrqX2wnKs68aqRADR42HXII8fo4ofGf Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" Content-length: 801 -----BEGIN PGP SIGNATURE----- iQIcBAEBAgAGBQJTpOYKAAoJEHE7X+KcFF1FHQUQAI86VkkDYUXiHhVVTWt6SWlQ nusx7QoTXs0+kKoLWRnR/HvyFQYGZMhXzBY66xIMrYsFApSxe8mcp9/ISrVTAu/j zpFMtySJRN43YoW0cgU7zqFnQaacevqVOS7kXX0BN6OQ1svvmUJ0khOM6JPf4JRk dUW8cAcnbUuf43jBXfoOzH3dPNlg6lW+lcW7Yrv6QpxmCfIXrYQ2fOFFCzN89XrD 29kYka3DYpZAQYa40/wy9XKhDf1vf0GwVKyLvm/cnYaU+PnRZ8zwSlfIwFZoyIHo oJCPbFTg03xX0jojJPYVPUm9jh3vctEzcaNnI3UpC3Ugud6SVbd4aoe6UY6c6UZ1 7c3o4FiLnX/hLLBlE9h6dzvR3k5Fbf6FSRN/keJccoXiNCbE4MY62DOaFFzbjgVD GO7DamalgPrLyNAobRDse75+m0qXFV4FIrABlgvclwXNXC1rlT6rOtrptPUNeV3z UVueyvSstgbNgMM/BZby/f9gyy5zWBkK33a1cF/zHSNJcrpyoT7vxFohTHK9dJmC p27Ld6Tv/DnL4o9QR02vEtQGhD24wcWBFmAo3tOtDe/02xjfKTzdSXY2NGQ+qe6g cu95jk8oYpT+gKFqnBQGBntQo/s5R20kI3yrWY9o1ySoFTIhOqiJYX8w9pUtV2Xd c7UxmS/Wd6xJvxTI0zh9 =kNFd -----END PGP SIGNATURE----- --8mBrqX2wnKs68aqRADR42HXII8fo4ofGf--