Thanks for advice. Try cygcheck, then
$ cygcheck `gcc -print-prog-name=cc1` D:\cygwin/lib\gcc/i686-pc-cygwin/3.4.4/cc1.exe C:\WINDOWS\SYSTEM\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\RPCRT4.dll C:\WINDOWS\system32\Secur32.dll D:\cygwin\bin\cygiconv-2.dll D:\cygwin\bin\cygintl-3.dll But I can't find out what file is "missing". All DLL files exist. Some other files are missing from my PC? Dave Korn wrote: > > sugitakukun wrote on 08 July 2008 18:55: > >> Hi everyone. >> >> I installed Cygwin a little days ago to use gcc & g++. >> I tried "gcc hello.c -o test" ,but no error messages were printed and no >> file were made.(So do g++ & hello.cpp) > > Missing DLL, most likely. Run "cygcheck `gcc -print-prog-name=cc1`" to > verify and find out what's missing, then re-run setup.exe - it should pick > up the missing dependencies automatically. > > > cheers, > DaveK > -- > Can't think of a witty .sigline today.... > > > -- > Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple > Problem reports: http://cygwin.com/problems.html > Documentation: http://cygwin.com/docs.html > FAQ: http://cygwin.com/faq/ > > > -- View this message in context: http://www.nabble.com/configure%3A2090%3A-error%3A-C-compiler-cannot-create-executables-tp18345234p18345887.html Sent from the Cygwin list mailing list archive at Nabble.com. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/