View Single Post
Old 07-25-2006, 10:21 AM   #1
Antartica
Evangelist
Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.Antartica ought to be getting tired of karma fortunes by now.
 
Antartica's Avatar
 
Posts: 423
Karma: 1517132
Join Date: Jun 2006
Location: Madrid, Spain
Device: quaderno, remarkable2, yotaphone2, prs950, iliad, onhandpc, newton
How-to: build a toolchain for the iliad using crosstool

For more information on building a toolchain for the iliad using crosstool, see the wiki page (it's more detailed than this description):
Mobileread Wiki: Notes about building a toolchain for the iliad using crosstool

Original post follows...
Hi all!

I've built a toolchain for the iliad using crosstool (for using it with scratchbox, but it also works without it). Here are the instructions (tested on Debian Sarge):

1. Untar the attached file in the home of your user (it's a tar.gz despite the .zip extension -- the .zip was a workaround to be able to upload the file). It should create a crosstool subdirectory
2. Download crosstool 0.42 (crosstool-0.42.tar.gz) from http://www.kegel.com/crosstool/crosstool-0.42.tar.gz to the crosstool subdirectory and unpack it there. You should have now a lot of files in ~/crosstool/crosstool-0.42/
3. cd ~/crosstool/crosstool-0.42/
4. cp ../demo-iliad.sh .
5. Edit demo-iliad.sh and change RESULT_TOP to suit your tastes
6. Execute the following ". ../prepare.sh" just to be sure there is no LD_LIBRARY_PATH set
7. Start compiling the new toolchain with "./demo-iliad.sh"
8. Wait a lot of time while the toolchain builds
9. That's all, you should have your new toolchain in the specified RESULT_TOP directory.

Notes:

1. The libc is built against linux-2.4.19-rmk7-pxa2, but not linux-2.4.19-rmk7-pxa2-irex as irex hasn't published the patch yet.
2. The libc used is 2.3.3, but the iliad has 2.3.4 with the name renamed to 2.3.3; executables built with this toolchain should work in the iliad, but the executables in the iliad doesn't like the libc of the toolchain (no problem, but you should know it, just if a problem arises...)

Have fun!
Attached Files
File Type: zip crosstool-iliad-files.tar.gz.zip (1.04 MB, 1213 views)

Last edited by Antartica; 09-20-2008 at 09:08 AM.
Antartica is offline   Reply With Quote