maybethistime has quit [Quit: Leaving.]
RA3OR has quit [Ping timeout: 244 seconds]
popolon has quit [Quit: Quitte]
mk2soldier has quit [Quit: mk2soldier]
mhoney has quit [Quit: ZNC - http://znc.in]
mhoney has joined #cubieboard
lemonade` has joined #cubieboard
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
<mk2soldier> I’ve uploaded it here: http://pastebin.com/1x2BSJW9
<mk2soldier> ecelis: Thank you for your time and patience..
<ecelis> ok, give me some time to build and test
<mk2soldier> This is the output of ldd of the native binary: http://pastebin.com/jgQawk9a
<mk2soldier> Ok
<mk2soldier> I’m simply using this command to create the binary: arm-none-linux-gnueabi-gcc hello-world.c
smccarthy has joined #cubieboard
<ecelis> mk2soldier: this is what I did
<mk2soldier> And it worked?
<ecelis> export PATH=/opt/Linaro/gcc-linaro-arm-linux-gnueabihf-4.7-2013.04-20130415_linux/bin:$PATH
<ecelis> arm-linux-gnueabihf-gcc hello.c
<ecelis> then I copied the resulting binary and ./a.out
<ecelis> and it worked
<mk2soldier> Oh
<ecelis> note which version of compiler I am using, also I have fedora 19 running on the CB2
<ecelis> mmm I don't think the tool chain is bad for you
<ecelis> I also have a CodeSourcery toolchain
<ecelis> I can try with that
<mk2soldier> Oh, ok thank you very much!
<ecelis> yes, it worked also
<ecelis> export PATH=/opt/CodeSourcery/arm-2012.03/bin:$PATH
<ecelis> that is the code sourcery tool cahin I'm using
<ecelis> I can send you the resulting binaries so you can try on your CB2
<mk2soldier> That would be great!
<mk2soldier> Do you need a mail address?
<ecelis> no, I'll upload them to a server and I 'll give you a link
<ecelis> wait
<mk2soldier> Ok
<ecelis> and hello-cs
<mk2soldier> Downloaded, thank you!
<mk2soldier> Ha! hello-cs doesn’t works but hello-linaro it does
<mk2soldier> “-bash: ./hello-cs: No such file or directory”
<mk2soldier> “cubie@cubieboard:~$ ./hello-linaro
<mk2soldier> Hello World”
<mk2soldier> Uhm, I have the feeling that I’m missing something..
<mk2soldier> If it could help I’m running cubian-r5 with Linux 3.4.79
<mk2soldier> Maybe it is libraries fault?
anunnaki1 has joined #cubieboard
anunnaki1 has quit [Client Quit]
premoboss has quit [Quit: Sto andando via]
madmaxx has joined #cubieboard
zeRez_ has quit []
mk2soldier has quit [Quit: mk2soldier]
rz2k has quit []
NamanG has quit [Quit: Connection closed for inactivity]
rz2k has joined #cubieboard
mk2soldier has joined #cubieboard
<mk2soldier> ecelis: Hi!
mk2soldier has quit [Quit: mk2soldier]
madmaxx has quit [Ping timeout: 260 seconds]
madmaxx 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
Midnightmyth has joined #cubieboard
Sunight_ has joined #cubieboard
Sunight has quit [Ping timeout: 250 seconds]
tomcheng76 has quit [Read error: Connection reset by peer]
tomcheng76 has joined #cubieboard
FR^2 has joined #cubieboard
popolon has joined #cubieboard
popolon has joined #cubieboard
rneese has joined #cubieboard
rneese has left #cubieboard [#cubieboard]
Sunight_ has quit [Ping timeout: 245 seconds]
Faisal has joined #cubieboard
Faisal has quit [Ping timeout: 244 seconds]
Midnightmyth has quit [Ping timeout: 255 seconds]
RA3OR has joined #cubieboard
rooted has joined #cubieboard
rooted has quit [Ping timeout: 246 seconds]
madmaxx has quit [Ping timeout: 272 seconds]
madmaxx has joined #cubieboard
madmaxx has quit [Changing host]
madmaxx has joined #cubieboard
ricardocrudo has quit [Remote host closed the connection]
popolon has quit [Ping timeout: 240 seconds]
popolon has joined #cubieboard
FR^2 has quit [Quit: Leaving]
mk2soldier has joined #cubieboard
Meduza has quit [Quit: No Ping reply in 180 seconds.]
Meduza has joined #cubieboard
rvalles has quit [Ping timeout: 255 seconds]
rz2k has quit [Read error: Connection reset by peer]
rvalles has joined #cubieboard
mk2soldier has quit [Quit: mk2soldier]