From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4001 invoked by alias); 29 Jun 2007 00:56:09 -0000 Received: (qmail 3990 invoked by uid 22791); 29 Jun 2007 00:56:08 -0000 X-Spam-Check-By: sourceware.org Received: from aldan.algebra.com (HELO aldan.algebra.com) (216.254.65.224) by sourceware.org (qpsmtpd/0.31) with ESMTP; Fri, 29 Jun 2007 00:56:06 +0000 Received: from aldan.algebra.com (localhost [127.0.0.1]) by aldan.algebra.com (8.14.1/8.14.1) with ESMTP id l5T0txrv064399 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 28 Jun 2007 20:56:00 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) Received: from localhost (localhost [[UNIX: localhost]]) by aldan.algebra.com (8.14.1/8.14.1/Submit) id l5T0txCb064398; Thu, 28 Jun 2007 20:55:59 -0400 (EDT) (envelope-from mi+kde@aldan.algebra.com) From: Mikhail Teterin To: Keith Seitz Subject: Re: Questioning the withdom of bundling gdb and insight Date: Fri, 29 Jun 2007 00:56:00 -0000 User-Agent: KMail/1.9.6 Cc: insight@sourceware.org References: <200605162201.33772.mi+mx@aldan.algebra.com> <446B32E2.3080107@redhat.com> In-Reply-To: <446B32E2.3080107@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200706282055.59304@aldan> Mailing-List: contact insight-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: insight-owner@sourceware.org X-SW-Source: 2007-q2/txt/msg00110.txt.bz2 On ÓÅÒÅÄÁ 17 ÔÒÁ×ÅÎØ 2006, Keith Seitz wrote: = PS. Patches welcome to build using external tcl, tk, itcl... The patch for the itcl code, to make it work with ITcl/ITk-3.3 can be found here: http://www.freebsd.org/cgi/cvsweb.cgi/ports/devel/gdb6/files/itcl33-patch?rev=HEAD;content-type=text%2Fplain FreeBSD port of gdb can now be (optionally) built with Insight. If the GUI-option is enabled, the following additional flags are passed to gdb's configure: --enable-gdbtk --with-tclconfig=/usr/local/lib/tcl8.4 \ --with-tclinclude=/usr/local/include/tcl8.4/generic \ --with-tkconfig=/usr/local/lib/tk8.4 \ --with-tkinclude=/usr/local/include/tk8.4/generic \ --with-itclconfig=/usr/local/lib/itcl3.3 \ --with-itkconfig=/usr/local/lib/itk3.3 Note, that the obsolete version of itcl (and itk) bundled with insight is not extracted. Instead, headers of ITcl and ITk 3.3 headers are sym-linked into the (otherwise empty) itcl/generic subdirectory. To spare the FreeBSD users the need to download the entire insight (22Mb), I rolled my own tarball, which contains _only_ the gdb/gdbtk and the libgui subdirectories of the distribution (845Kb): http://aldan.algebra.com/~mi/gdbtk-6.6.tar.bz2 This is extracted on top of the gdb-6.6 sources, if the user asks for the GUI option. Please, consider upgrading your GUI code to ITcl/ITk-3.3 using the patch provided. Please, independently consider abandoning the practice of bundling ITcl/IWidgets with Insight. Please, independently consider releasing the Insight's _extra code_ in _addition_ to the gdb tarball, instead of bundling gdb sources inside Insight's. Thank you, -mi