Problem with gcc

Dave Korn dave.korn@artimi.com
Tue Jul 11 09:25:00 GMT 2006


On 11 July 2006 08:21, Guenther Sohler wrote:

> Hallo,
> 
> I have downloaded the lastest version cygwin yesterday, and wanted to use
> gcc. Unfortunately no success.
> I do a small test file a.c with just a simple main function and i type
> 
> gcc -c a.c
> 
> But there is no object file created.
> 
> echo $? returns 1, which indicates an error,
> 
> but I dont have any idea how to track down the problem.
> I tried the latest version of gcc, and 3.3.3.
> 
> How can I proceed ?


  Add "-v" to the command-line, and you'll see what's going on in terms of the
subcommands invoked by the gcc compiler driver; you should see which one
fails.  Make sure your binutils is installed OK.


    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/



More information about the Cygwin mailing list