X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; q=dns; s=default; b=m+VBZZ Do3DbKub5iqGlR5ZqgVkoC0+DCTNyJKx6jBZ0PUqyqHu3jG2ht/6cmhO7fAvfSBw AlKQN5Ebum7MoiFqwmOU5pqQgRJahkTygjsd2Q+Sd0QpqbpJI2D9eUUHzcebVbGZ G4zUf+iJS8xSGSf7kl6xNUZT+w6h/c45jpA/g= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :references:in-reply-to:content-type; s=default; bh=/BlRuOCWvtdB 0dQjw6m3GBanFHw=; b=UifoKtDmCeu4kmaxOF+GMEL1DwXl+6CrbWx3jGKnIIBi lxxvLOuLO1WtZ6MckyWL/q4lKEqI/QytwuHQBbWJrXartXurhDe4015G/z7sSkm4 OcH11R0cK/Lk8cE+E4o5b913vDsEWerwsjpkSZMvltOyaLoe92Mqjm6TiI9IQTs= 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 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 X-Received: by 10.68.240.5 with SMTP id vw5mr9242206pbc.113.1403315731222; Fri, 20 Jun 2014 18:55:31 -0700 (PDT) Message-ID: <53A4E604.50704@gmail.com> Date: Sat, 21 Jun 2014 09:55:16 +0800 From: JonY <10walls AT gmail DOT 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 AT HPDV7TNotebook> <2E98DFC6544A4D3580A80B89062DFAAF AT 2600kPC> In-Reply-To: <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="8mBrqX2wnKs68aqRADR42HXII8fo4ofGf" X-IsSubscribed: yes --8mBrqX2wnKs68aqRADR42HXII8fo4ofGf Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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" -----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--