From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from simark.ca by simark.ca with LMTP id 96QaH0WGOGE7VAAAWB0awg (envelope-from ) for ; Wed, 08 Sep 2021 05:45:41 -0400 Received: by simark.ca (Postfix, from userid 112) id 6BC3D1EE22; Wed, 8 Sep 2021 05:45:41 -0400 (EDT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on simark.ca X-Spam-Level: X-Spam-Status: No, score=-0.7 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RDNS_DYNAMIC,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (ip-8-43-85-97.sourceware.org [8.43.85.97]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by simark.ca (Postfix) with ESMTPS id 985611EDF5 for ; Wed, 8 Sep 2021 05:45:40 -0400 (EDT) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 032953861841 for ; Wed, 8 Sep 2021 09:45:40 +0000 (GMT) Received: from s810.sureserver.com (s810.sureserver.com [195.42.142.37]) by sourceware.org (Postfix) with ESMTPS id AB946385841A for ; Wed, 8 Sep 2021 09:45:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AB946385841A Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=strikr.io Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=strikr.io DKIM-Signature: v=1; a=rsa-sha256; c=relaxed; d=strikr.io; h=date:from :reply-to:to:subject:in-reply-to:message-id:references :mime-version:content-type; s=dkim; bh=N0Lt8fmoEce1bcCOBfx8hUqxc uHEKqdYGSyaBY9LmUw=; b=YPI6MzOUgk3ZAnEKUJEAc1unxe7sQGBunhdktHl+q SDGFpkd7WXCuJd0iDnJLblQWwiqzFvYA8Bph8c0QV7LtQlv1RdVXkd1MsYtYgeC5 lY4d1jcTBDuCvzzxMRYd799J9aTkHZQQA1v5TmbHPEn5BRxW6iVq4AqiFh8XN90p ZE= Received: (qmail 13206 invoked by uid 1001); 8 Sep 2021 09:45:22 -0000 Received: from unknown (HELO gladiator) (pop-before-smtp-bcr@49.207.221.9) by 195.42.142.233 with ESMTPA; 8 Sep 2021 09:45:22 -0000 Date: Wed, 8 Sep 2021 09:47:12 +0000 (UTC) From: SAIFI To: gdb@sourceware.org Subject: Re: building GDB natively using 'configure' at 'two' levels In-Reply-To: <20210908081251.GD4124615@embecosm.com> Message-ID: <2df2c098-b45b-9f9-face-36ec5384bed@strikr.io> References: <39174ae-8f97-1a1d-23e4-54688976504a@strikr.io> <20210908081251.GD4124615@embecosm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: gdb@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: saifi@strikr.io Errors-To: gdb-bounces+public-inbox=simark.ca@sourceware.org Sender: "Gdb" On Wed, 8 Sep 2021, Andrew Burgess wrote: > > Here's how I'd configure and build GDB: > > ... > ../src/configure .... all configure options here .... > > .... > Configure options passed to src/configure will be forwarded to > src/gdb/configure automatically. > Thanks Andrew ! in essence, 'sub'-configure options can be specified to the 'top'-configure ${SRC}/gdb/configure \ --prefix=/opt/gdb \ --datadir=/opt/gdb/data \ --htmldir=/opt/gdb/doc \ --disable-binutils \ --disable-ld \ --disable-gold \ --disable-gas \ --disable-sim \ --disable-gprof \ --disable-largefile \ --with-gnu-ld \ --with-expat=no \ --with-python=no \ --with-guile=no \ --with-intel-pt=no \ --with-babeltrace=no in other words, as an example, given that there are three sub directories with a configure script sub_dir_01 sub_dir_02 sub_dir_03 if sub_dir_01 'configure' had options o1 o2 o3 and sub_dir_02 'configure' had options o4 o5 then top level 'configure' will apply the 'union' of all the options specified o1 o2 o3 o4 o5 to each sub-directory which has a 'configure' script, ie. sub_dir_01 sub_dir_02 sub_dir_03 sorry for being pedantic, just making sure that i understood 'the manner of application of options' correctly. warm regards Saifi.