From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Building Emacs-cvs on Cygwin Date: Sat, 23 Sep 2006 18:15:23 +0300 Message-ID: References: Reply-To: Eli Zaretskii NNTP-Posting-Host: main.gmane.org X-Trace: sea.gmane.org 1159024552 4674 80.91.229.2 (23 Sep 2006 15:15:52 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 23 Sep 2006 15:15:52 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 23 17:15:51 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GR9EC-000586-I3 for ged-emacs-devel@m.gmane.org; Sat, 23 Sep 2006 17:15:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GR9EB-0000vN-Vc for ged-emacs-devel@m.gmane.org; Sat, 23 Sep 2006 11:15:40 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GR9E0-0000uR-6j for emacs-devel@gnu.org; Sat, 23 Sep 2006 11:15:28 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GR9Dw-0000sR-Da for emacs-devel@gnu.org; Sat, 23 Sep 2006 11:15:27 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GR9Dw-0000sN-8Q for emacs-devel@gnu.org; Sat, 23 Sep 2006 11:15:24 -0400 Original-Received: from [192.114.186.73] (helo=heller.inter.net.il) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GR9Hv-0005Ha-5g for emacs-devel@gnu.org; Sat, 23 Sep 2006 11:19:31 -0400 Original-Received: from HOME-C4E4A596F7 (IGLD-84-228-161-248.inter.net.il [84.228.161.248]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id ANS92777 (AUTH halo1); Sat, 23 Sep 2006 18:15:21 +0300 (IDT) Original-To: Angelo Graziosi In-reply-to: (message from Angelo Graziosi on Sat, 23 Sep 2006 12:33:23 +0200 (MET DST)) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:60138 Archived-At: > Date: Sat, 23 Sep 2006 12:33:23 +0200 (MET DST) > From: Angelo Graziosi > cc: emacs-devel@gnu.org > > Considere the following examples: > > --------------------------------------------------------- > $ cat hello.c > #include > > int main() > { > printf("Hello, World!"); > return 0; > } > > $ gcc -g hello.c -o hello > ^^^^^ > > $ gdb ./hello.exe > GNU gdb 6.5.50.20060706-cvs (cygwin-special) > Copyright (C) 2006 Free Software Foundation, Inc. > GDB is free software, covered by the GNU General Public License, and you > ar > welcome to change it and/or distribute copies of it under certain > condition > Type "show copying" to see the conditions. > There is absolutely no warranty for GDB. Type "show warranty" for > details. > This GDB was configured as "i686-pc-cygwin"...(no debugging symbols found) > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > (gdb) How about the following compilation command--does it also cause GDB to complain about debugging symbols? gcc -gdwarf-2 -g3 hello.c -o hello Also, if you type the following two commands after starting GDB, what does GDB say? (gdb) start (gdb) info source