X-Recipient: archive-cygwin@delorie.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:from:to:cc:references:in-reply-to:subject:date
	:message-id:mime-version:content-type:content-transfer-encoding;
	 q=dns; s=default; b=lHCZMjLXDN9oUXk6UjJbRUCo32kIMfIx13e8V0mrA00
	haV4YwvDoef1AT/gBP3WAC5xl2ovU2PY5JwxQEgJFxN9GMTBYzQvMVozioMHRhSV
	tF0RLrZSQP9Au1GAGAqecwb/SEf43ahDtauL6azZYH/rwU/dpDbC+scGTPRJnzYQ
	=
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:from:to:cc:references:in-reply-to:subject:date
	:message-id:mime-version:content-type:content-transfer-encoding;
	 s=default; bh=yR5+31HTmL1yBJWa7uPtcakyU8E=; b=Ae3eDv5KAesinchYS
	+BoUGMR5yqjyUOIMyF3/mZp5KMXythYmdpitgD8EBZiQYEpoBw0rivY/zeP4wRQ+
	MVpMhiNY4rNzuUJ97RFVSYZRngYMIeJgtEKmGYUgkc7+JLcRC3/8N26ZrIv0tpBd
	ne7RMerajT94j8ULv16CsL9pII=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Virus-Found: No
X-Spam-SWARE-Status: No, score=0.6 required=5.0 tests=AWL,BAYES_50,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE autolearn=no version=3.3.2
X-HELO: nm15-vm9.access.bullet.mail.gq1.yahoo.com
X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t
X-Rocket-Received: from 2600kPC (aschwarz1309@75.22.33.254 with plain [98.138.84.52])        by smtp115.sbc.mail.ne1.yahoo.com with SMTP; 20 Jun 2014 14:37:17 +0000 UTC
From: "Arthur Schwarz" <aschwarz1309@att.net>
To: "'Arthur Schwarz'" <aschwarz1309@att.net>, <cygwin@cygwin.com>
Cc: <10walls@gmail.com>
References: <9D11C0FA97F94A69A68A45B7A449C70F@HPDV7TNotebook>
In-Reply-To: <9D11C0FA97F94A69A68A45B7A449C70F@HPDV7TNotebook>
Subject: RE: Question on gcc install
Date: Fri, 20 Jun 2014 07:37:05 -0700
Message-ID: <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC>
MIME-Version: 1.0
Content-Type: text/plain;	charset="us-ascii"
Content-Transfer-Encoding: 7bit


> 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.
> 

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?

   Sorry. I was remiss.

   Execution fails on all of the mingw compilers with the same error
   message. All compilations use the same command line options.

   > i686-pc-mingw32-g++ -Wall -Wno-reorder -Wno-unused-value -DYYDEBUG=1 
     -DDEBUG_IO   -c -g -MMD -MP -MF

   > slip.exe

/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

RUN FAILED (exit value 127, total time: 15ms)

After execution I ran the following find on /usr.

> find /usr/i686-pc-cygwin 
       /usr/i686-pc-mingw32 
       /usr/i686-w64-mingw32 
       /usr/x86_64-w64-mingw32 -iname 'libstdc++-6.dll'

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

/usr/i686-pc-cygwin apparently does not use this dll and the generated mingw
executables can not find it. Can anything be done about this - I refrain
from 'guessing', 'inferring', or 'assuming (causality)'.


--
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

