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