jonwilson030981
06-24-2004, 04:16 PM
I have a Thompson Scenium (UK Tivo sw 2.5.5), and have been trying to compile some utils for the tivo, including tar and ls. However, when running they display "Illegal Instruction" instead of working properly, although odly the --help params work?!?. I used the cross compiler from tivoutils...
usr.local.powerpc-tivo.tar.bz2 with --host=x86_64 and --build=ppc for the ./configures, but the created binaries don't seem to work. I did check during the make and they do seem to be building using the gcc which shipped with the cross compiler. (They fail as expected on the host system).
For tar I used...
./configure --host=powerpc --build=x86_64 CC=/usr/local/tivo/bin/gcc CFLAGS="-msoft-float -mstrict-align"
make
Then copied the binary from tar-1.14/src/tar to the tivo to run.
(The TIVO-FAQ said tivo didn't have an FPU and that DWORDs had to be DWORD aligned)
Many Thanks in advance for any help you can give.
If you need more info then please let me know.
Jon Wilson
P.S I am building on Fedora Core 2 x86_64 on an AMD64, and I did remember to FTP them in binary mode (in the end!!!).
usr.local.powerpc-tivo.tar.bz2 with --host=x86_64 and --build=ppc for the ./configures, but the created binaries don't seem to work. I did check during the make and they do seem to be building using the gcc which shipped with the cross compiler. (They fail as expected on the host system).
For tar I used...
./configure --host=powerpc --build=x86_64 CC=/usr/local/tivo/bin/gcc CFLAGS="-msoft-float -mstrict-align"
make
Then copied the binary from tar-1.14/src/tar to the tivo to run.
(The TIVO-FAQ said tivo didn't have an FPU and that DWORDs had to be DWORD aligned)
Many Thanks in advance for any help you can give.
If you need more info then please let me know.
Jon Wilson
P.S I am building on Fedora Core 2 x86_64 on an AMD64, and I did remember to FTP them in binary mode (in the end!!!).