delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2014/06/21/12:44:28

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:from:to:cc:references:in-reply-to:subject:date
:message-id:mime-version:content-type:content-transfer-encoding;
q=dns; s=default; b=p2Aa89gwYbkbVtmFBRQGa+pU8O5uh2DeJ0WAi6FNvZg
iH1vTHSK7BX7GkhfZ5GCtikRaTDY1a8JGNA/3PG8MSqXZSKXq51p5HBdmtW0kw98
V9/4qlE2gyFih2kAITJq2rLBIpg+7lYRe+UJR0kxJmM446fkKoi+FNyVvr73p9Ww
=
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=f4OJja0BEIUMYLcLiK5FBUgi3io=; b=HQDK4VbOMElT7CABs
uEAuDMbzVExQwCB3n0Fy8dR0otTmmmHMjQ3s9yXltkG4Eg9TmoHf/OflkzMm+/oY
fpoQI2bw/kNAYRfF9Gws+nPJfZx7rytbwqjpjRuVcdf4A9wFfIa90p2/7cFDBuuk
5fN9NOw48DBfwnfIYYGnbs59ss=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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.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: nm14-vm1.access.bullet.mail.bf1.yahoo.com
X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t
X-Rocket-Received: from 2600kPC (aschwarz1309 AT 75 DOT 22 DOT 33 DOT 254 with plain [98.138.84.52]) by smtp112.sbc.mail.ne1.yahoo.com with SMTP; 21 Jun 2014 09:44:06 -0700 PDT
From: "Arthur Schwarz" <aschwarz1309 AT att DOT net>
To: "'Arthur Schwarz'" <aschwarz1309 AT att DOT net>, <cygwin AT cygwin DOT com>
Cc: <10walls AT gmail DOT com>
References: <9D11C0FA97F94A69A68A45B7A449C70F AT HPDV7TNotebook> <2E98DFC6544A4D3580A80B89062DFAAF AT 2600kPC>
In-Reply-To: <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC>
Subject: RE: Question on gcc install
Date: Sat, 21 Jun 2014 09:43:51 -0700
Message-ID: <6476C8DA293140A1A341363DB12ADC03@2600kPC>
MIME-Version: 1.0

On 6/20/2014 22:37, Arthur Schwarz wrote:
> 
>> 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)
> 

You are not supposed to run cross compiled executable files. This is not
even a linker error.

    I compiled my program with each of the mingw32 compilers.
    After each compilation I copied the libstdc++-6.dll into
    the directory containing the compiled executable and then
    ran the compiled code. After each execution I received the
    same error. Are you saying that the mingw32 compiled code
    is cross-compiled to a non-intel, non-windows and/or
    non-cygwin architecture and that is why the code doesn't
    execute? What are you supposed to do with mingw32 compiled
    code instead of executing it?


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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019