From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [89.208.246.23]) by sourceware.org (Postfix) with ESMTPS id 6E01F3858C53 for ; Wed, 21 Sep 2022 15:57:16 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 6E01F3858C53 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1663775835; bh=yXX4VCEgi7ltxaTNNbTLeFG7uXe+ikwrNUKLDmPKp7w=; h=Subject:From:To:Date:In-Reply-To:References:From; b=gw0qesBqAat0SnrYJOHBaTArNLsQ9SKua/YInhbV5vNjoQRprUSyYNfQjzGvTqDJY i6/xIP+VzrVD0NsN0Vsy23HiBjWmYtAX4EHMyioghwv4mUQ4kVcAEDdSoaKCYusjQ5 j42DGVhVXjPAc3cWrEubrmgaTwlTJ3COsUaE2sCA= Received: from [IPv6:240e:358:11dd:8700:dc73:854d:832e:4] (unknown [IPv6:240e:358:11dd:8700:dc73:854d:832e:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 4916665AA9; Wed, 21 Sep 2022 11:57:12 -0400 (EDT) Message-ID: <97196ab496279cab6af141e7fa9c20a1c174013e.camel@xry111.site> Subject: Re: AW: GCC builds with relative searchpaths instead of absolute From: Xi Ruoyao To: stefan@franke.ms, gcc-help@gcc.gnu.org Date: Wed, 21 Sep 2022 23:57:05 +0800 In-Reply-To: <009101d8cdcf$38ea8e90$aabfabb0$@franke.ms> References: <009101d8cdcf$38ea8e90$aabfabb0$@franke.ms> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_PDS_OTHER_BAD_TLD autolearn=no 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 Wed, 2022-09-21 at 17:31 +0200, stefan@franke.ms wrote: >=20 > Really:=C2=A0 --prefix=3D/usr ??? >=20 > Installing locally built applications with prefix /usr is a really bad > idea as the files installed may easily overwrite files installed by > package managers. See the context from OP: I'm working on a hobby operating system and, as part of making apps for it, I'm trying to port gcc to it. To be clear: I already have my cross compiler, I just want to make gcc run inside the OS. =20 So there should be no package manager for his new OS. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University