View Single Post
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