tivo-build-xcompiler changes ============================ This file lists changes to the script and patches used to build the TiVo Series 1 PowerPC cross-compiler. V1.0 Mike Baker o Original version V1.1 2002/02/19 ppchacker@hotmail.com o http://tivo.samba.org/download/mbm/tivo-build-xcompiler.tgz V1.1 2003/06/20 Todd Miller o Hacked to work on OpenBSD: http://www.courtesan.com/tivo/crossbuild.html V2.0 2005/01/10 Tim o Hacked to work with newer versions of gcc as host compiler (I used 3.3.3) and also for Cygwin V2.1 2005/01/22 Tim o Fix libc/nss/nsswitch.c's nss_lookup_function o Build libc_with_trampoline.so [removed in V2.6] V2.2 2005/01/31 Tim o http://homepage.ntlworld.com/maxwells.daemon/tivo/software.html o Now works on Linux and Cygwin hosts. o Put PPC binaries in bin.tgz (though probably not needed on TiVo). Remove them from /usr/local/tivo/bin and sbin. V2.3 2005/01/31 Tim o Add /usr/local/tivo/include/linux/autoconf.h which is needed by config.h. V2.4 2006/01/23 Tim o Rearrange directories and use better names for environment variables. o Put more hacks into patch file instead of applying them in build script. o Make sure tar'ed files are owned by root so they come out right on TiVo. o Don't delete existing /usr/local/tivo directory tree, just overwrite files. V2.5 2006/01/27 Tim o Put NSS routines in libc, so gcc -static works without NSS shared libraries. [Moved to libfix_tivo_libc.a in V2.6] V2.6 2006/01/30 Tim o New libfix_tivo_libc.a and libfix_tivo_libc_g.a libraries that contain just the modules that are broken in TiVo's default /lib/libc.so (contains a cut-down version of resolv/res_debug). o New gcc -standalone option links against libfix_tivo_libc.a and static libraries, except uses libc.so (uses static libpthread, even though that is available on the TiVo). Executable will work with just TiVo's default libc (-standalone can be made the default by using alternate specs file). o Fix __floatdisf (long long->float conversion) using GCC patch from 17-Apr-1998 22:38 (EGCS 1.1). o Fix strtold and wcstold based on 28-Dec-1998 14:25 glibc patch. These are included in libfix_tivo_libc. o Move static service routine table from nsswitch.c to XXX-lookup.c (included by *-lookup.c). This means only required modules are linked in. o libc.so contains its own trampoline setup so programs linked against TiVo's libc.so work. We use different routine names so new programs keep their own, so can work with TiVo's libc.so. This means we no longer need a separate libc_with_trampoline.so. o Save PowerPC libraries and binaries as tivo-libs.tgz and tivo-libc-progs.tgz in $SOURCE (no longer $INSTALL). o Remove libbfd.a, libiberty.a, and libopcodes.a from /usr/local/tivo/lib. They are not TiVo libraries. o $SOURCE->$ROOT, $BUILD->$SOURCE, $BUILD and $RBUILD specify separate directories for intermediate files (useful when working on toolchain). o More quotes ("") in tivo-build.sh, which *might* allow building in directory with spaces (eg. in Cygwin). o Make HTML documentation in /usr/local/tivo/html.