This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: Problem with gcc


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]