From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 119861 invoked by alias); 10 Feb 2020 19:54:52 -0000 Mailing-List: contact newlib-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: newlib-owner@sourceware.org Received: (qmail 119853 invoked by uid 89); 10 Feb 2020 19:54:51 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-10.8 required=5.0 tests=AWL,BAYES_40,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=H*i:sk:CAF9ehC, Sherrill, sherrill, U*joel X-HELO: elaine.keithp.com Received: from home.keithp.com (HELO elaine.keithp.com) (63.227.221.253) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Feb 2020 19:54:50 +0000 Received: from localhost (localhost [127.0.0.1]) by elaine.keithp.com (Postfix) with ESMTP id 6DC883F2AC77; Mon, 10 Feb 2020 11:54:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1581364488; bh=+9Rjd4/6I9nVE4EjmZQn8w+9lKGu07/PvVoVU9+WZsM=; h=From:To:Subject:In-Reply-To:References:Date:From; b=paSmY88IAK+iX0evMpCeOdlh9eJyzB6BIJe2PhTo42PWcr+8mMJtS6CbcxOMopTrC pQNa/fSlWz6GCWxU5sucQpYjWdF20Sx0Nw+4tnImdS16K4Guj7JoOdKe8D4zU32ANg GjJsiycpelewa76u8CGm4Ozld+nlJiAhzYFZrhpSRSySSDJkHAkE9XBlRgfpwjis0k 8yf3EzO75E6n19+lGCcH/FF3VeBLqJb8nugkfGSyNRPYki2HRyAK+gGp6I7+W7A3z+ cBi1KYxPDtNSHBfu8EZPw8L9Qz7C46pqAsAxRPJVNVf7tKQfsqK2YI2IGLoqta8RDJ L6jrwKh0y4wGg== Received: from elaine.keithp.com ([127.0.0.1]) by localhost (elaine.keithp.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WYVqRKTmr6ZR; Mon, 10 Feb 2020 11:54:47 -0800 (PST) Received: from keithp.com (koto.keithp.com [10.0.0.2]) by elaine.keithp.com (Postfix) with ESMTPSA id 3D71F3F23D1F; Mon, 10 Feb 2020 11:54:47 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=keithp.com; s=mail; t=1581364487; bh=+9Rjd4/6I9nVE4EjmZQn8w+9lKGu07/PvVoVU9+WZsM=; h=From:To:Subject:In-Reply-To:References:Date:From; b=DepKytI6DXoTupd4CcK55w8jZBSH5hgALGHcW4HZTydqObjSxe7pBtUbtjdAAYMzN ErQfX8hVSscee+WSVRdWXqGSIeU5BsXM7XEH5EuWEZmhK+sd/48BIWoB95MS7GlG87 uvukreWPFl0nhlptUrnkgbH0x++/ll1foAUmNqpEncymvPryn3ptWA3cnUoTHsAqyY YhSrM+LZ6Xqx1cUhWN/R7J8ZG69os66tWqtjEkeSPIoaZji3hgrQF2Bdn4cpcc40+e 3cNVFUfVB1AgAz0XTp9iBj0yerCZ0n9Sf8EfF8Xv03Fss38ulvmSs74YU3VkjeV3OZ ltwdENFFisWWQ== Received: by keithp.com (Postfix, from userid 1000) id 2117C158216D; Mon, 10 Feb 2020 11:54:47 -0800 (PST) From: "Keith Packard" To: joel@rtems.org, Newlib , Chris Johns Subject: Re: Symlinks in Newlib break mingw host builds In-Reply-To: References: Date: Mon, 10 Feb 2020 19:54:00 -0000 Message-ID: <87wo8uw73t.fsf@keithp.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-IsSubscribed: yes X-SW-Source: 2020/txt/msg00078.txt --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Content-length: 513 Joel Sherrill writes: > My current best idea is to replace all the symlinks in those libm > directories with a short file that includes the file instead of > symlinking to it. I like this plan. I've used a similar technique when building the malloc functions in my newlib fork, picolibc, which uses meson instead of autotools. Instead of custom build rules for each object, I create short source files that have the necessary definitions and then include the shared source file. --=20 -keith --=-=-= Content-Type: application/pgp-signature; name="signature.asc" Content-length: 832 -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEw4O3eCVWE9/bQJ2R2yIaaQAAABEFAl5BtQYACgkQ2yIaaQAA ABHGMRAAl/9xCiwkOLurp0FKj3kijRyQlLGKVSkNI8+1uJQ7956uCX1cZWEedxa6 gKC4EieWjhnJdxTxUCG3HNl7Wuo196IVnBUa/9UEXfq6n/42Tyi6PvmvUnZ+nN7X iHksS8jX2PRwQOA9EPhenAAD+nvxsRWm0WgJTdiZhJDculoztp6r7RPni+WTaweG H2hvlo6Lxg4BVhY/nhOZi9L+cDHL6m97wTazIzM6gp0enEbghdWl+yDQi1t04X/x g6pe8ZJhLf0sHQnsh31+pJ7N75OpIrGt9C85o3P2PO8xeWj97rqQhDNNZMxhFddn qzEgc33tgPQBRd22VSggyO2JvisvQ6dgqTelitgjMc6V0eViiHRDV0XccAbcrfK+ Cpsvrel73QC2liDpBuM9GoCqqA7QAiYfx44Z7yhdAXeTfLLvUGPBDzGEV+mOY1Fy J2Eo5HVcgFAAFmKxoGConcuE3NiUWNb0mqJKesi9G60iDr/U6hZnuVLu9AOLC2Yv vfKSx+bDIIPQ++KCHaMW9ZyRbk3oB+bRdfSxcMPIqF1PiFNpW4nTgUBjwZyEJTCM 7UocszqzdJZFMs/9Yo1tuEEQH6vkfjS/rBZwV/aKKljxIGvm2wCQv8Xb41c75J7T loPJFIa07SbNpDQ3ApCDgvujqdqRKOcIcrgfaUyq8OH1tvJYA+g= =ZEUC -----END PGP SIGNATURE----- --=-=-=--