From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-oi1-x22c.google.com (mail-oi1-x22c.google.com [IPv6:2607:f8b0:4864:20::22c]) by sourceware.org (Postfix) with ESMTPS id DF1123858D1E for ; Wed, 21 Dec 2022 11:19:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org DF1123858D1E Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=kernelgen.org Authentication-Results: sourceware.org; spf=none smtp.mailfrom=kernelgen.org Received: by mail-oi1-x22c.google.com with SMTP id k189so13028897oif.7 for ; Wed, 21 Dec 2022 03:19:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernelgen-org.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pT77NipWUX69iUAxr6bbPmHHZNhwpOe96Nd6pu2TXzk=; b=IJox1dGoMw9tvyglCysWxjMvPU9T/c2bPigIHgo4HRCnYDwjACmFxaBMHI8KCVo1vD xab144Eh9qtGlY+ZkBxZuMJlzJqV4EolFi7zu/Y9Mto4n78eKqxqlT1X7/u/mB2c0mwr uvLvp8BcOz3ChHn5bYUB4XxfZitIUBf8N6HLWgMo7O0QUKsC//3Kv0ceikt5W69p/xAi 36lLuUqos5Zt6uxE2QpfgJdSNCbLIp1ZkTM90s5ekJ+Pax2UTKSfCh83NQbNaD/PLxXA rg1S/13NnrwI/9SApqh6C5JBLdR1dyyokD2HnZTvfmouZib4fypmSjdWSHr5hoVwNmli oZPw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=pT77NipWUX69iUAxr6bbPmHHZNhwpOe96Nd6pu2TXzk=; b=sFfZel4hZFHe6TGyCqfsHIBXly59dzAHwer/4jaI8X7Ftg06uDPAvAB7aCauEIJf1+ V0o/vvjFRO7qrSwbKzOoZhsDjqiLS0YKK6Er+J9wyar6Hc6GQWcCbMrfP7p4r/5NuFC1 oxjIp9DtgamMlXYp88kEKz/+OYE3WOnCaGZ0aQT/3Qbpo1+cmjPIoGAE2ww3kzB0Nizb epjohIaiagg2Zp6xzhs+xDui5/Kvgp2G1pAv5j9rHtrqOSsQZ59NdEf84x+v5m2d5hcr 0gsrHrDbndxSOKsio10BekKIEsbGkuaaq4WDjRcIKXVCLOryEn+slbU6yXiIUhy4NeeP UZ9A== X-Gm-Message-State: ANoB5pk7mqYLPfl7naaeGfpHVWUz+uDhx+Astp16Gotp8OenS7zjWCxq +vEMhqcq9K7kiWl+Sw642O/Zxq4/qOJNOiDZK2wj7YN7XeKlYY2V X-Google-Smtp-Source: AA0mqf4ntefmGf2S9tM82qTfrScqeZ5KdjmVSfMvdsPL42gx0pH4nXlwMQvbweHm3YyiM9sC8iXuKC0wQD77+Lf0vpw= X-Received: by 2002:aca:281a:0:b0:35e:9eb7:6a94 with SMTP id 26-20020aca281a000000b0035e9eb76a94mr970069oix.298.1671621551032; Wed, 21 Dec 2022 03:19:11 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Dmitry Mikushin Date: Wed, 21 Dec 2022 12:18:59 +0100 Message-ID: Subject: Re: a question from novice To: Alexei Sholomitskiy Cc: binutils@sourceware.org Content-Type: multipart/alternative; boundary="000000000000bfabaf05f054b8c0" X-Spam-Status: No, score=-1.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,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: --000000000000bfabaf05f054b8c0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable There are multiple reasons for this. Binutils, GDB and GCC are technically separate projects, although they are often supported by the same developers, who need to keep them in sync, in order to support many specific features. Secondly, for these projects there is no strict requirement of an "embodying" operating system. Particularly for Linux Mint or any complex distro it might be indeed an option to deduplicate common dependencies, because their locations are well-known. But these components are meant to have wider use within less integrated environments, such as embedded systems, cross-compilers, tools within an "alien" operating system e.g. MinGW. That's why they are called toolchains, because you could build them almost in the middle of nowhere, and they will work! =D1=81=D1=80, 21 =D0=B4=D0=B5=D0=BA. 2022 =D0=B3. =D0=B2 11:48, Alexei Shol= omitskiy via Binutils < binutils@sourceware.org>: > Hello! > > I am a novice in Linux, so I'd like to understand, how it works > > and I started compile projects, follow by linuxfromscratch recommendations > > But I do it not in clear system, - on my Linux Mint > > //--------------------------------------------------------------- > > to build binutils - is very simple ! (according to > www.linuxfromscratch.org) > > but there were so many errors and warnings ... > > I don't understand, what is a reason I cannot build this project - > according different sites, it is easy! > > > so I decided to compile binutils step-by-step - and not statically, but > make shared libraries > > I have wrote a bash script about 150 lines (initially it was up to 600!) > to automatically download, extract, and *prepare for compiling* binutils > tar.gz archive. > > > For next step I am to build gdb server and gcc compiler > > and now I see directories libiberty, gold, libdecimal with the same > names I saw in bunutils > > > Could you explain me, these projects have the same components? > > why not to build binutils components as shared libraries and install > them to /lib directory to use in future? > --000000000000bfabaf05f054b8c0--