MobileRead Forums

MobileRead Forums (https://www.mobileread.com/forums/index.php)
-   iRex Developer's Corner (https://www.mobileread.com/forums/forumdisplay.php?f=106)
-   -   iLiad i dont understand (https://www.mobileread.com/forums/showthread.php?t=9979)

kip2847 03-07-2007 04:58 PM

i dont understand
 
Am looking to develop apps. for the iliad .. i want to use the official toolchain that irex has. when i download the tool chain it is a zip older with other folders. My question is .. what do i do with that ?

My info :
OS - Fedora 6 core ( any other recommendation is great)
programming exp. some c++ (going bak to the books)
iliad firmware 2.9

any suggestional readings on kernal development?

thanx

Antartica 03-08-2007 04:24 AM

Quote:

Originally Posted by kip2847
Am looking to develop apps. for the iliad .. i want to use the official toolchain that irex has. when i download the tool chain it is a zip older with other folders. My question is .. what do i do with that ?

I don't have experience with the official toolchain, but if it's like other that I've used, you will have to:

1. Uncompress to the root of your filesystem (check if the directories make sense; there are some toolchains that are supposed to be uncompressed into /usr or in /opt).

2. Include/source a script prior to cross-compiling programs, so it sets the right environment variables so that it uses your cross-compiler (the one in the toolchain) correctly

3. Call the configure scripts of the programs you want to port with the appropiate parameters so that you cross-build. If you are doing programs from scratch, you have to do a Makefile with the proper "CC=name-of-the-crosscompiler", etc

Anyway, Matthijs said in another post that they were using Ubuntu, so it you find some library version mismatch, the easiest way would be installing a Ubuntu distribution...

If you want more specific help, for (1) post here the complete pathnames of some of the files in the toolchain archive, for (2), search for a file named "gcc-*" in the toolchain archive and with that I can say you the proper environment variables, and for (3), if you want an example makefile, with the information from (1) and (2) I can post one here ;-).


All times are GMT -4. The time now is 04:38 PM.

Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.