I need create application for linux with arm7 procesor and 2.4.21 kernel , i download toolchain from gnuarm.com but all application not work only see segmentation fault

any Ideas are welcome !
Yes i compile with -mcpu=armv7tdmi flag.Hamza wrote:Try to compile with an ARM cpu ?
Code: Select all
export PATH=/mnt/sdb2/arm/codesourcery/arm-2010q1/bin:$PATH
export ARCH=arm
export CROSS_COMPILE=/mnt/sdb2/arm/codesourcery/arm-2010q1/bin/arm-none-eabi-
So I understand better -- You downloaded Windows binaries for codesourcery codebench, and got the "cannot execute binary file" error when you tried to run it in Linux?"For this moment downloaded binaries for windows create application run and..."cannot execute binary file"
Yes i downloaded crosscompiler for windows os but target executable file is for ARM machine .Ahau wrote: So I understand better -- You downloaded Windows binaries for codesourcery codebench, and got the "cannot execute binary file" error when you tried to run it in Linux?
Is not possible, very incompatible files i testing gzip under remote machine and doesn't work.Ahau wrote: Another option might be to install an older version of Slackware that would have a matching version of glibc and gcc.
I do not know if my client on the goAhau wrote: If you like, since I have a working toolchain on my system (granted, it may not be the right toolchain for what you're trying to do), you could bundle your source code, post it online, and I will download it and try to compile it on my system