Symlinks in Newlib break mingw host builds
Keith Packard
keithp@keithp.com
Mon Feb 10 19:54:00 GMT 2020
Joel Sherrill <joel@rtems.org> 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20200210/d24e93b1/attachment.sig>
More information about the Newlib
mailing list