From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30731 invoked by alias); 21 Jun 2014 16:44:12 -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 30714 invoked by uid 89); 21 Jun 2014 16:44:09 -0000 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 Received: from nm14-vm1.access.bullet.mail.bf1.yahoo.com (HELO nm14-vm1.access.bullet.mail.bf1.yahoo.com) (216.109.115.16) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES256-SHA encrypted) ESMTPS; Sat, 21 Jun 2014 16:44:08 +0000 Received: from [66.196.81.165] by nm14.access.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jun 2014 16:44:06 -0000 Received: from [98.138.226.241] by tm11.access.bullet.mail.bf1.yahoo.com with NNFMP; 21 Jun 2014 16:44:06 -0000 Received: from [127.0.0.1] by smtp112.sbc.mail.ne1.yahoo.com with NNFMP; 21 Jun 2014 16:44:06 -0000 X-Yahoo-SMTP: 0z5TJLmswBDohOc2QznCIeoaEiEalQiTSMLFNdKdTt4t X-Rocket-Received: from 2600kPC (aschwarz1309@75.22.33.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" To: "'Arthur Schwarz'" , Cc: <10walls@gmail.com> References: <9D11C0FA97F94A69A68A45B7A449C70F@HPDV7TNotebook> <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC> In-Reply-To: <2E98DFC6544A4D3580A80B89062DFAAF@2600kPC> Subject: RE: Question on gcc install Date: Sat, 21 Jun 2014 16:44:00 -0000 Message-ID: <6476C8DA293140A1A341363DB12ADC03@2600kPC> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-SW-Source: 2014-06/txt/msg00336.txt.bz2 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