Freyr has quit [Read error: Connection reset by peer]
Freyr has joined #cubieboard
Mio-chan has joined #cubieboard
lemonade` has quit []
ekym has joined #cubieboard
smccarthy has quit [Quit: Leaving...]
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #cubieboard
Mio-chan has quit [Quit: Leaving]
nils_2 has quit [Ping timeout: 264 seconds]
shath has left #cubieboard [#cubieboard]
mk2soldier has joined #cubieboard
NamanG has joined #cubieboard
rvalles has quit [Read error: Connection reset by peer]
rvalles has joined #cubieboard
kivutar has joined #cubieboard
nils_2 has joined #cubieboard
mk2soldier has quit [Quit: mk2soldier]
mk2soldier has joined #cubieboard
rooted has joined #cubieboard
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #cubieboard
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #cubieboard
initbrain has quit [Ping timeout: 272 seconds]
initbrain has joined #cubieboard
ganbold_ has joined #cubieboard
Sunight has joined #cubieboard
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #cubieboard
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #cubieboard
initbrain has quit [Ping timeout: 255 seconds]
initbrain has joined #cubieboard
deasy has quit [Quit: Nom d'un quark, c'est Edmonton !]
stefanro has quit [Quit: Leaving.]
rz2k has joined #cubieboard
stefanro has joined #cubieboard
rneese has joined #cubieboard
rneese has left #cubieboard [#cubieboard]
kwon has joined #cubieboard
zeRez has joined #cubieboard
zeRez_ has joined #cubieboard
zeRez has quit [Ping timeout: 240 seconds]
kivutar has quit [Quit: Ex-Chat]
mjvortex has joined #cubieboard
RooTer has quit [*.net *.split]
RooTer has joined #cubieboard
premoboss has joined #cubieboard
rooted has quit [Ping timeout: 245 seconds]
TheSeven has joined #cubieboard
<mk2soldier>
Hi guys what options do you use for cross-compiling software for the cubieboard?
ricardocrudo has joined #cubieboard
Mio-chan has joined #cubieboard
<ecelis>
mk2soldier: hi, I see you are still struglin with cross compiling
<ecelis>
usally it only takes make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi-
<ecelis>
to get a cross compiled binary
<ecelis>
but it might need something extra, depending on the software you want to build
<ecelis>
can you be a bit more specific?
* ecelis
too lazy to scrollback romm history
deasy has joined #cubieboard
<mk2soldier>
ecelis: I’m still experimenting with a simple hello world c program, but I’ve problem executing it on the target platform, it says: “no such file or directory”. This is the output of the file command: “ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.16, not stripped” the strange thing is that if I run the ldd command it says: “not a dynamic executable”
<mk2soldier>
maybe there are some gcc flags I must pass to the cross-compiler?
<mk2soldier>
sorry for my bad english
<ecelis>
mk2soldier: you need to write shorter sentences...
<ecelis>
let me see if I get it, you souccesfully cross compile hello world
<mk2soldier>
I’ve also tried the same toolchain in various systems: GNU/Linux OSX Windows
<mk2soldier>
ecelis: oh ok
<ecelis>
then you copy the resulting binary to yout board
<mk2soldier>
exactly
<ecelis>
what command do you use to run your program?
<ecelis>
something like ./hello
<ecelis>
?
<mk2soldier>
in bash shell I type ./a.out (a.out is the name of the program)
<ecelis>
and then you get "file not found"?
<mk2soldier>
“no such file or directory”
<mk2soldier>
Now I’m installing gcc on the cubieboard
<mk2soldier>
The strange thing is that if I use the native gcc (on the cubieboard) the binary works out of the box.
<mk2soldier>
I get “Hello World”
<ecelis>
that is not strange at all
<ecelis>
can you share your helloworld.c code?
<mk2soldier>
Ok
<ecelis>
I'll try to build it with my cross compiler toolchain and then try to run it on my CB2