Question on gcc install

JonY 10walls@gmail.com
Sun Jun 22 02:14:00 GMT 2014


On 6/22/2014 00:43, Arthur Schwarz wrote:
>> /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?
> 
> 

There you go again with all the implications, mingw32 code is cross
compiled from Cygwin's point of view, so don't run it under Cygwin. Run
it under cmd or something.

Was that too hard to understand?


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://cygwin.com/pipermail/cygwin/attachments/20140622/2a520750/attachment.sig>


More information about the Cygwin mailing list