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