GCC doesn't create an executable

Norton Allen allen@huarp.harvard.edu
Mon Mar 5 14:10:00 GMT 2007


Dave Korn wrote:
> On 04 March 2007 03:59, Bogus Bill wrote:
>
>
>   Subject line edited, this is NOT an announcement.
>
>   
>> 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:
>>     
>
>   
>> $ g++ -v hello.cpp
>>     
>
>   
>> 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
>>     
>
>
>   Looks like the driver works, but the invocation of cc1plus is failing.
>
>   
>> $ cygcheck /usr/bin/gcc
>>     
>
>   That all looked ok.  What do you see from "cygcheck
> /usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe"?  What (if anything) do you see
> from running "/usr/lib/gcc/i686-pc-cygwin/3.4.4/cc1plus.exe -v </dev/nul"?
> And what do you get from running "cygcheck -c gcc gcc-core gcc-g++"?
>   

Are you sure this failed, or were you perhaps expecting to find an
executable called hello.exe? The output I get is called a.exe.



--
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/



More information about the Cygwin mailing list