Re: Host requirements to build the Tools binaries
Mouse <[email protected]> Tue, 13 Aug 2024 18:18:28 -0400 (EDT)
| Newsgroups | gmane.os.netbsd.devel.toolchain |
|---|---|
| Message-ID | <[email protected]> |
> Building with latest Debian "unstable" containers doesn't work for me > right now, as strptime() (used in bin/date/date.c) isn't made visible > [...] This is amusing in an ironic sort of way, because I just no more than a day or two ago tried to cross-build 5.2/sparc using 1.4T/sparc as the host system. It failed when building tools. The first failure was because 5.2's awk depends on isblank(), which is there in 1.4T but has a preprocessor guard that hides it from the 5.2 build. I copied the 5.2 guard to the 1.4T ctype.h and then it fell over trying to include, IIRC, <wctype.h>. I ended up addressing the end desire differently. But it is an example of the kind of issues extreme cases of cross-building can run into. I probably would have had even more trouble trying to cross-build from, say, one of the mtXinu 4.3+NFS VAXen I used to use back in the day. /~\ The ASCII Mouse \ / Ribbon Campaign X Against HTML [email protected] / \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B