Mail Archives: cygwin/2007/03/03/22:59:02
I have the same problem. I tried to compile the requisite "Hello, world!"
program, but gcc didn't give any messages, nor generate any output. Here
are the specifics:
Code:
#include <iostream>
using namespace std;
int main (void) {
cout << "Hello, world!";
return 0;
}
Compiler command:
$ g++ -v hello.cpp
Reading specs from /usr/lib/gcc/i686-pc-cygwin/3.4.4/specs
Configured with: /usr/build/package/orig/test.respin/gcc-3.4.4-3/configure
--ver
bose --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --libdir=/usr/lib
--libe
xecdir=/usr/lib --mandir=/usr/share/man --infodir=/usr/share/info
--enable-langu
ages=c,ada,c++,d,f77,pascal,java,objc --enable-nls
--without-included-gettext --
enable-version-specific-runtime-libs --without-x --enable-libgcj
--disable-java-
awt --with-system-zlib --enable-interpreter --disable-libgcj-debug
--enable-thre
ads=posix --enable-java-gc=boehm --disable-win32-registry
--enable-sjlj-exceptio
ns --enable-hash-synchronization --enable-libstdcxx-debug
Thread model: posix
gcc version 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)
/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe -quiet -v -D__CYGWIN32__
-D__CYGW
IN__ -Dunix -D__unix__ -D__unix -idirafter
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../
../../../include/w32api -idirafter
/usr/lib/gcc/i686-pc-cygwin/3.4.4/../../../..
/i686-pc-cygwin/lib/../../include/w32api hello.cpp -quiet -dumpbase
hello.cpp -m
tune=pentiumpro -auxbase hello -version -o
/cygdrive/c/DOCUME~1/BILLRI~1/LOCALS~
1/Temp/ccjMjB4s.s
$ cygcheck /usr/bin/gcc
C:/Cygwin/bin/gcc.exe
C:/Cygwin/bin\cygwin1.dll
C:\WINDOWS\system32\ADVAPI32.DLL
C:\WINDOWS\system32\ntdll.dll
C:\WINDOWS\system32\KERNEL32.dll
C:\WINDOWS\system32\RPCRT4.dll
C:/Cygwin/bin\cygintl-8.dll
C:/Cygwin/bin\cygiconv-2.dll
Thanks for your help.
Bill
--
View this message in context: http://www.nabble.com/GCC-doesn%27t-create-an-executable-tf3280244.html#a9292669
Sent from the Cygwin Users 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/
- Raw text -