Question on gcc install
Arthur Schwarz
aschwarz1309@att.net
Fri Jun 20 14:37:00 GMT 2014
> 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
More information about the Cygwin
mailing list