From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 38513 invoked by alias); 22 Aug 2019 17:27:19 -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 38500 invoked by uid 89); 22 Aug 2019 17:27:19 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.2 required=5.0 tests=AWL,BAYES_00,SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=HX-Languages-Length:698 X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 22 Aug 2019 17:27:18 +0000 Received: from smtp.corp.redhat.com (int-mx04.intmail.prod.int.phx2.redhat.com [10.5.11.14]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 4BB3510F23E9; Thu, 22 Aug 2019 17:27:17 +0000 (UTC) Received: from f29-4.lan (ovpn-117-6.phx2.redhat.com [10.3.117.6]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1F13C5DE5C; Thu, 22 Aug 2019 17:27:17 +0000 (UTC) Date: Thu, 22 Aug 2019 17:27:00 -0000 From: Kevin Buettner To: Christian Biesinger Cc: gdb-patches@sourceware.org Subject: Re: [PATCH 1/2] Add gdb_compile_openmp to lib/gdb.exp Message-ID: <20190822102716.45bdd1a8@f29-4.lan> In-Reply-To: References: <20190822171408.28271-1-kevinb@redhat.com> <20190822171408.28271-2-kevinb@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2019-08/txt/msg00536.txt.bz2 On Thu, 22 Aug 2019 12:18:13 -0500 Christian Biesinger wrote: > > +# Build an OpenMP program from SOURCE. See prefatory comment for > > +# gdb_compile, above, for discussion of the parameters to this proc. > > + > > +proc gdb_compile_openmp {source dest type options} { > > + switch -glob [test_compiler_info] { > > + "gcc-*" { > > + if { !([istarget "*-*-cygwin*"] > > + || [istarget "*-*-mingw*"] > > + || [istarget "*-*-pe*"]) } { > > + lappend options "additional_flags=-fopenmp" > > Why exclude cygwin/mingw here? No good reason. I've removed those lines from my local sources. Thanks for noticing this. Kevin