Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > More E-Book Readers > iRex > iRex Developer's Corner

Notices

Reply
 
Thread Tools Search this Thread
Old 12-01-2006, 10:55 AM   #1
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
How can I use iRex's cross-compiler toolchain?

I have some problems to get started to compile & link terminal applications for iLiad?

my status quo is:
[1] iRex's cross-compiler toolchain downloaded & extracted
[2] iRex's setup_build_env.sh run, which sets 2 export variables [path of OE SDK]
What to do now?

With
Code:
gcc -o binaryname file1.c file2.c
I can compile & link a binary for PC.
How can I say gcc to compile & link it for "arm-linux"?

Next step [for greater projects] would be to learn how to use configure & make correctly.
Something like this?
Code:
./configure --host=arm-linux --prefix=/usr/local/arm/oe/arm-linux

Last edited by yokos; 12-01-2006 at 11:00 AM.
yokos is offline   Reply With Quote
Old 12-02-2006, 06:41 PM   #2
design256
Connoisseur
design256 doesn't litterdesign256 doesn't litter
 
Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
Quote:
Originally Posted by yokos
I have some problems to get started to compile & link terminal applications for iLiad?

my status quo is:
[1] iRex's cross-compiler toolchain downloaded & extracted
[2] iRex's setup_build_env.sh run, which sets 2 export variables [path of OE SDK]
What to do now?

With
Code:
gcc -o binaryname file1.c file2.c
I can compile & link a binary for PC.
How can I say gcc to compile & link it for "arm-linux"?
Code:
arm-linux-gcc -o binaryname file1.c file2.c
Quote:
Next step [for greater projects] would be to learn how to use configure & make correctly.
Something like this?
Code:
./configure --host=arm-linux --prefix=/usr/local/arm/oe/arm-linux
Yes, this is 100% correct.
design256 is offline   Reply With Quote
Advert
Old 12-04-2006, 08:47 AM   #3
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
design256, thanks. I will try this.
Uhhh, I found config.log in your gnu chess port.
yokos is offline   Reply With Quote
Old 12-06-2006, 10:10 AM   #4
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
Well, I'm one step further now, but not much.
Code:
linux:/home/gepard/Desktop/C Project # arm-linux-gcc -o area area.c circle.c
bash: arm-linux-gcc: command not found
ergo: something is still missing.

Code:
linux:/home/gepard/Desktop/gnuchess-5.07 # ./configure --host=arm-linux --prefix=/usr/local/arm/oe/arm-linux
bash: ./configure: Keine Berechtigung
yes, last line is in German, it means "no authorization" or so. Here is a problem again. I set all rights [rwx] for user & group of the relevant directories.
yokos is offline   Reply With Quote
Old 12-06-2006, 10:53 AM   #5
jęd
Evangelist
jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.jęd has a complete set of Star Wars action figures.
 
Posts: 458
Karma: 293
Join Date: May 2006
Quote:
Originally Posted by yokos
yes, last line is in German, it means "no authorization" or so. Here is a problem again. I set all rights [rwx] for user & group of the relevant directories.
Can you run scripts on that partition...?
jęd is offline   Reply With Quote
Advert
Old 12-06-2006, 10:56 AM   #6
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
Yep, I can. Can I see the variables wich where set with export?
[Edit:] my answer
Code:
export |grep arm

Last edited by yokos; 12-11-2006 at 06:57 AM.
yokos is offline   Reply With Quote
Old 12-11-2006, 07:01 AM   #7
yokos
Pac-Man caught my iLiad.
yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.yokos can teach chickens to fly.
 
yokos's Avatar
 
Posts: 807
Karma: 3595
Join Date: Apr 2006
Location: Germany; next to Baltic Sea
Device: Boox Max Lumi, iRex iLiad (RIP)
Uhhh, I compiled & linked my first c & c++ binary for iLiad.
Attached Files
File Type: zip c.zip (9.7 KB, 483 views)
yokos is offline   Reply With Quote
Old 12-11-2006, 07:54 AM   #8
CommanderROR
eink fanatic
CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.CommanderROR is fluent in JavaScript as well as Klingon.
 
CommanderROR's Avatar
 
Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
Go Go Go Yokos!
CommanderROR is offline   Reply With Quote
Old 12-11-2006, 06:53 PM   #9
scotty1024
Banned
scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.scotty1024 is no ebook tyro.
 
Posts: 1,300
Karma: 1479
Join Date: Jul 2006
Location: Peoples Republic of Washington
Device: Reader / iPhone / Librie / Kindle
For those of you that have Windows and want to get in on the action...

You can download a free copy of VMWare's Player, which can run Linux "next to" your Windows: http://www.vmware.com/download/player/

You can then download a pre-built Linux to plug into it: http://www.vmware.com/vmtn/appliances/directory/cat/45

iRex uses Ubuntu but anything Debian is pretty compatible (I use Debian's Sarge myself.)

There are even several Linux distros installed in German.
scotty1024 is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Compiler Notes On James Branch Cabell Greg Anos Reading Recommendations 0 01-20-2010 11:18 AM
Toolchain Problems benjaminvm Sony Reader Dev Corner 3 12-02-2008 10:03 PM
iLiad Irex's Java solution Adam B. iRex Developer's Corner 5 07-10-2008 10:00 AM
iRex's Iliad Companion Software Adam B. iRex 1 01-15-2007 11:19 AM
iLiad iLiad cross-compiler toolchain available from iRex Matthijs iRex Developer's Corner 16 10-29-2006 02:25 PM


All times are GMT -4. The time now is 01:15 PM.


MobileRead.com is a privately owned, operated and funded community.