Hello,
I trying to execute some simple C code, compiled by cross compiler gcc3.4.1 attached to Olimex E9301 board, on linux 2.4 pre-loaded in ROM by Olimex and there is problem. System doesn’t recognize binary files as a exetuable file despite executable and readable permission to this file. Meybe someone know why this problem occure ??.
Regards,
Michal Gulbicki
I’m using [arm-linux-gcc-4.1.1 from Cirrus’s [ARM site and I can compile programs just fine. You can’t use the normal GCC suite since it’s set up to work on your PC (most likely x86 architecture). I compile the programs on my Linux box and then transfer them over to my EP9301 board using a USB flash drive.](http://arm.cirrus.com/)](http://arm.cirrus.com/files/tools/arm-linux-gcc-4.1.1-920t.tar.bz2)
Hey,
Yes everything what you set is true . I use cross compiler , exactly arm-linux-gcc-3.4.1. Code was compiled on standard linux on PC exactly Ubuntu. To transfer binary file to arm-board I use wget tool. File permission are correct. I haven’t posibility to checksum on downloaded file, becouse I haven’t cksum tool on my board. but I assume that during transmission file didn’t demaged(this step was repeted few times). I’m aware that cross-compiller create totaly diffrent executable file, I check assembler code created by compiler (-S flag) and I see proper arm linux code. I have no idea what is wrong in this case, maybe some nuance connected to ramdisk and execution binery files from ram disk??
Regards,
Michal Gulbicki