From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 101104 invoked by alias); 8 Apr 2015 20:12:58 -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 101027 invoked by uid 89); 8 Apr 2015 20:12:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,SPF_PASS,T_RP_MATCHES_RCVD autolearn=ham version=3.3.2 X-HELO: ausxipps310.us.dell.com Received: from AUSXIPPS310.us.dell.com (HELO ausxipps310.us.dell.com) (143.166.148.211) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (CAMELLIA256-SHA encrypted) ESMTPS; Wed, 08 Apr 2015 20:12:56 +0000 X-LoopCount0: from 10.175.216.250 From: To: CC: , , Subject: Re: [PATCH v2 7/9] compile: New 'compile print' Date: Wed, 08 Apr 2015 20:12:00 -0000 Message-ID: References: <20150406172623.31404.58833.stgit@host1.jankratochvil.net> <20150406172716.31404.8551.stgit@host1.jankratochvil.net> <83bnj1jgsw.fsf@gnu.org> <021F612D-0E51-44ED-BA7F-894A8B51F5BF@dell.com> <20150406175250.GA314@host1.jankratochvil.net> <0484210C-BBE9-4C64-8F51-7DC74ACF8F86@dell.com> In-Reply-To: <0484210C-BBE9-4C64-8F51-7DC74ACF8F86@dell.com> Content-Type: text/plain; charset="iso-2022-jp" Content-ID: <9E7B4D16E049CF49A47B68F98AFF266B@dell.com> Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-IsSubscribed: yes X-SW-Source: 2015-04/txt/msg00307.txt.bz2 > On Apr 6, 2015, at 1:58 PM, paul_koning@dell.com wrote: >=20 >=20 >> On Apr 6, 2015, at 1:52 PM, Jan Kratochvil w= rote: >> ... >>> Also, =1B$B!H=1B(Bthe compiler=1B$B!I=1B(B begs the question: which one= , i.e., how is =1B$B!H=1B(Bthe >>> compiler=1B$B!I=1B(B found? >>=20 >> A complicated way, for non-native targets an appropriate cross-gcc shoul= d be >> found. >=20 > Ok. I would not expect that to be documented in NEWS, but it seems like = it should be in gdb.texinfo or some similar spot. I have a whole pile of c= ross-compilers in various places; I would need to understand what the algor= ithm looks like to be able to ensure that the correct one is found.=20=20 A related question: what controls the compiler switches sent to the compile= r for this operation? In some cases, specific switches may be needed to pr= oduce the correct flavor of code generation, say -msoft-float or -mabi=3Dxy= z. paul