delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT sources DOT redhat DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT sources DOT redhat DOT com> |
List-Help: | <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT sources DOT redhat DOT com |
Delivered-To: | mailing list cygwin AT sources DOT redhat DOT com |
Date: | Tue, 20 Nov 2001 12:13:53 +0000 |
Message-ID: | <5965-Tue20Nov2001121353+0000-starksb@ebi.ac.uk> |
X-Mailer: | emacs 20.7.1 (via feedmail 9-beta-7 I); |
VM 6.92 under Emacs 20.7.1 | |
From: | David Starks-Browning <starksb AT ebi DOT ac DOT uk> |
MIME-Version: | 1.0 |
To: | "vipin aravind" <vipin DOT aravind AT wipro DOT com> |
Cc: | <cygwin AT cygwin DOT com> |
Subject: | Re: gdb trouble |
In-Reply-To: | <00d701c1719c$798a53f0$b90806c0@vipin> |
References: | <00d701c1719c$798a53f0$b90806c0 AT vipin> |
On Tuesday 20 Nov 01, vipin aravind writes: > oops sorry the executeable was created as a.exe and gdb a worked > How do I get the prefix same as the source file. "man gcc" or "info gcc" will tell you: gcc -o test test.c does what you are asking. BUT DON'T DO THAT!!! Don't create executables called "test" or "test.exe". Unix (and thus Cygwin) has its own version of "test", and you will have trouble getting the right "test" invoked. Choose some other name instead: gcc -o myprog test.c or gcc -o a test.c 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |