From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103538 invoked by alias); 24 Nov 2019 17:41:35 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 103528 invoked by uid 89); 24 Nov 2019 17:41:35 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=mpfr, MPFR, GMP, gmp X-HELO: gateway20.websitewelcome.com Received: from gateway20.websitewelcome.com (HELO gateway20.websitewelcome.com) (192.185.63.14) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Sun, 24 Nov 2019 17:41:34 +0000 Received: from cm12.websitewelcome.com (cm12.websitewelcome.com [100.42.49.8]) by gateway20.websitewelcome.com (Postfix) with ESMTP id 8A605400D2619 for ; Sun, 24 Nov 2019 10:32:01 -0600 (CST) Received: from box5379.bluehost.com ([162.241.216.53]) by cmsmtp with SMTP id Yvt6iXOUWW4frYvt6iwT4W; Sun, 24 Nov 2019 11:41:32 -0600 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tromey.com; s=default; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=N3v1EuvDdrh/Woyk0hMWuyNlXI4fOWUJL41uSuy3GVc=; b=NHU7XPxnUxjU4r0Loqoo2iFpw0 1tUHZwA/Pm1LTL+j672DVldbpEq8RzuwIdaMytkvK6hCoxz0GDWvgr6YcpYrcuQEqEaZka65qv+vU 6KeIhwx6wTrXhU90c14Xsxjhq; Received: from 97-118-104-188.hlrn.qwest.net ([97.118.104.188]:59532 helo=bapiya) by box5379.bluehost.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256) (Exim 4.92) (envelope-from ) id 1iYvt6-000nM6-II; Sun, 24 Nov 2019 10:41:32 -0700 From: Tom Tromey To: Andrew Pinski Cc: Tom Tromey , GDB Patches Subject: Re: [PATCH 15/16] Highlight source code using GNU Source Highlight References: <20181128001435.12703-1-tom@tromey.com> <20181128001435.12703-16-tom@tromey.com> Date: Sun, 24 Nov 2019 17:41:00 -0000 In-Reply-To: (Andrew Pinski's message of "Fri, 15 Nov 2019 16:57:49 -0800") Message-ID: <87tv6tmat0.fsf@tromey.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1.91 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-SW-Source: 2019-11/txt/msg00794.txt.bz2 Andrew> I know this patch has been in for almost a year now. But I have a Andrew> question, is there a way to build GNU Source Highlight as a static Andrew> library and have it built at the top level? Like what is done for Andrew> GMP/MPFR for GCC? It would reduce how I built a gdb that is for a Andrew> non-native target. There's currently no support for dropping the sources into the tree. However, I think it would be fine if you wanted to add such support. Andrew> If it cannot be compiled at a top-level, does it support as a static Andrew> library? Eli answered this in the affirmative; I have never tried it myself. I've considered also adding support for Pygments, in addition to Source Highlight. In some situations that might be simpler to distribute; and also it would mean that one could just install Pygments and have it suddenly start working. Tom