From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x629.google.com (mail-pl1-x629.google.com [IPv6:2607:f8b0:4864:20::629]) by sourceware.org (Postfix) with ESMTPS id BF87E3858D32; Thu, 10 Aug 2023 23:19:04 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BF87E3858D32 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-pl1-x629.google.com with SMTP id d9443c01a7336-1bda9207132so7529285ad.0; Thu, 10 Aug 2023 16:19:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1691709543; x=1692314343; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=pqpawJOYDJenHLBTPMD1SypElZBI0b3fJvcecpaCeTA=; b=UH/rxAT/CTyRQ+jSybS1hxnQQgHncTTBeE6HfYgXCGzK1GELe9UKTuo9jespFrs2BQ 5fAPExrASwaEld+iCVW8zO3Z3L3aFyJygElFZIt6oQ83wq6aBY91f6kMuxdJStk4bHpR V077UjGOr6T4FvkrHO5QiGze0jYVVzqSW9q32n9ZfhtLWFYCUYGEWB05V8Q2qm9YyGuJ HXbd5uTK2TATDI7kUpD7/CBbqW5gnJFPmrPf189VTnJ0I00BTxqF05voOFEqwybcszT7 Dvu076w9YMmKSXDXCWYpx4KCM+ljTc243MNpRNwzY/moQj0I96w6rqCVeO3HiuHGVDeh cJ6w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1691709543; x=1692314343; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=pqpawJOYDJenHLBTPMD1SypElZBI0b3fJvcecpaCeTA=; b=QV7Apxom4C1Vg3CiZuPwe3U2C44uG98ONgOLAenu04sgA+7EFCFb7OhBhF5Z0W4Kwc Z57dxDrPuzvVwtxoTSxm6l0OjB1gy6ZfL2tMk+MdxPBWvcmq3JP4IApoHIGf6aKyHnDu 8BDAGVNVuo0PM7ift5IBfd6yvdH+OmsZ+otmwRsyjI16Q0NWWhKq0m8nC0vThNVF6D+l 3iy0ZbqY9QiT0uNZURHCLXYS3Bscmweo88KuTrjhIWqgdA9Wkr6EUAmXXFf0TObpcNvp +wbeMcWXyQGxlL3NxWauuvmzoAYqTijha8TfsmkuJQVwXYnU8Xd7oKwP7yzb4VzuMKpo UYbg== X-Gm-Message-State: AOJu0YzXJBbu/5S/sdemWWPYvUpBkmeO9fQmTbaAV+PftELUTMsrICHB XieqU4c97k4qhVRw4qVDU5cFLJOHeW4= X-Google-Smtp-Source: AGHT+IFVhweYiEBGLgJAU2wLUdic/WauzhmOg/lH7GtxGC1frx6BA6Od5olL873NyWAaNel9k5uP1Q== X-Received: by 2002:a17:902:ecce:b0:1bc:1e03:3cbe with SMTP id a14-20020a170902ecce00b001bc1e033cbemr257686plh.18.1691709543537; Thu, 10 Aug 2023 16:19:03 -0700 (PDT) Received: from squeak.grove.modra.org (158.106.96.58.static.exetel.com.au. [58.96.106.158]) by smtp.gmail.com with ESMTPSA id l13-20020a170902d34d00b001bda42a216bsm2056594plk.100.2023.08.10.16.19.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 10 Aug 2023 16:19:02 -0700 (PDT) Received: by squeak.grove.modra.org (Postfix, from userid 1000) id 4E9C41142442; Fri, 11 Aug 2023 08:49:00 +0930 (ACST) Date: Fri, 11 Aug 2023 08:49:00 +0930 From: Alan Modra To: Tom Tromey Cc: Alan Modra via Gdb-patches , binutils@sourceware.org, aburgess@redhat.com, vapier@gentoo.org Subject: Re: sim --enable-cgen-maint Message-ID: References: <875y5m3k5x.fsf@tromey.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <875y5m3k5x.fsf@tromey.com> X-Spam-Status: No, score=-3028.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, Aug 10, 2023 at 11:02:34AM -0600, Tom Tromey wrote: > >>>>> "Alan" == Alan Modra via Gdb-patches writes: > > Alan> Fix that by making both use ../cgen first, then ../../cgen > Alan> relative to sim/ and opcodes/. > > Are there other tools that can be installed parallel to the top-level > source directory? I am pretty surprised to see that at all, since I > think the "normal" approach to this kind of thing is to work with the > uberbaum setup; and otherwise to look for tools on PATH. We're looking for the cgen source, git://sourceware.org/git/cgen.git. That's likely not on $PATH. Yes, likely the best place to find it is the uberbaum setup, ie. when you git clone both cgen.git and binutils-gdb.git from the same place. That's the location assumed by the sim sources currently. However, binutils-gdb currently assumes cgen.git is cloned *inside* the binutils-gdb source or that you've set up a symbolic link there to wherever the source is located. -- Alan Modra Australia Development Lab, IBM