Re: Symlinks in Newlib break mingw host builds

"Keith Packard" <[email protected]>
Newsgroups gmane.comp.lib.newlib
Message-ID <[email protected]>
Joel Sherrill <[email protected]> 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.

-- 
-keith
signature.asc (application/pgp-signature, 832 B)
-----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-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.