From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Reply-To: saifi@strikr.io 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-Spam-Status: No, score=0.5 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_ABUSEAT, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org 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: , X-List-Received-Date: Wed, 08 Sep 2021 09:45:27 -0000 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.