This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: Problem with gcc
- From: "Dave Korn" <dave dot korn at artimi dot com>
- To: <cygwin at cygwin dot com>
- Date: Tue, 11 Jul 2006 10:25:40 +0100
- Subject: 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/