delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/06/08:24:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Thu, 6 Mar 2003 13:24:13 +0000
Message-ID: <9013-Thu06Mar2003132413+0000-starksb@ebi.ac.uk>
From: David Starks-Browning <starksb AT ebi DOT ac DOT uk>
MIME-Version: 1.0
To: <Klaus DOT Moschner AT gmx DOT de>
Cc: <cygwin AT cygwin DOT com>
Subject: Re: gcc Core Dump
In-Reply-To: <00c701c2e3e2$db82c650$78d96f83@pomello>
References: <28460 DOT 1046953964 AT www42 DOT gmx DOT net>
<730 DOT 1046955717 AT www42 DOT gmx DOT net>
<00c701c2e3e2$db82c650$78d96f83 AT pomello>

On Thursday 6 Mar 03, Max Bowsher writes:
> Klaus DOT Moschner AT gmx DOT de wrote:
> > Hi,
> >
> > I'm a newbie in programming under Cygwin, and I have a very basic
> > problem with gcc:
> > Any help is appreciated.
> 
> OK, right mailing list this time, but, as I said in my previous reply, it
> works fine for me. So, you are going to have to try to debug it a bit more
> yourself.
> 
> Ever used gdb?
> 
> You could try:
> $ gdb prog3
> (gdb) run
> (gdb) bt

Klaus,

Since it's not a bug in your code (it works for me too, at least as
written), I suspect a problem with your gcc installation, or you're
picking up the wrong gcc.

What do:

	type -a gcc
	cygcheck gcc
	cygcheck -c gcc

return and what does

	gcc -v -Wall prog3.c -o prog3

say?

Regards,
David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019