![]() |
#1 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 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. |
![]() |
![]() |
![]() |
#2 | ||
Connoisseur
![]() ![]() Posts: 78
Karma: 103
Join Date: Aug 2006
Location: Ipswich, UK
Device: Irex Iliad
|
Quote:
Code:
arm-linux-gcc -o binaryname file1.c file2.c Quote:
|
||
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. ![]() |
![]() |
![]() |
![]() |
#4 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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 ![]() Code:
linux:/home/gepard/Desktop/gnuchess-5.07 # ./configure --host=arm-linux --prefix=/usr/local/arm/oe/arm-linux bash: ./configure: Keine Berechtigung ![]() |
![]() |
![]() |
![]() |
#5 | |
Evangelist
![]() ![]() ![]() Posts: 458
Karma: 293
Join Date: May 2006
|
Quote:
|
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
#7 |
Pac-Man caught my iLiad.
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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.
![]() |
![]() |
![]() |
![]() |
#8 |
eink fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 2,022
Karma: 4924
Join Date: Mar 2006
Location: Germany
Device: STAReBOOK, iRex Iliad, Sony 505, Kindle 2
|
Go Go Go Yokos!
|
![]() |
![]() |
![]() |
#9 |
Banned
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() 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. |
![]() |
![]() |
![]() |
|
![]() |
||||
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 |