tech-toolchain archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Host requirements to build the Tools binaries



> 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		mouse%rodents-montreal.org@localhost
/ \ Email!	     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B


Home | Main Index | Thread Index | Old Index