I am trying to understand what problems you are having, in linux if the binary (executable) is not in the bin/sbin directory then you will need to run as:
./hello_world rather than /hello_world.
I would be wary of file permissions using cygwin under FAT32, you would be much better using ntfs.
I never use the default startup or linker file, copy the defalt ones out of the gcc directory and modify to suit target board.
ld scripts: /arm-elf/lib/ldscripts
Regarding compiling I tend to just use gcc with a seperate compile/link stage, eg.
under Cygwin:
$ file main
main: ELF 32-bit LSB executable, ARM, version 1 (ARM), for GNU/Linux 2.0.0, dynamically linked (uses shared libs), not stripped
and I transferred it to target and it is working!
could you tell me how do you build this file?
probably my linker scripts or parameters wrong...
when I check my executable with file command, it says, it is statically linked....
I have ARM9 based ep9312. i am new to linux. I have windows2000 on my PC. I downloaded metrowerks code warrior studio ISA edition for developemt on ep9312 and i also intstalled it on PC. Now i don't have idea to start work. Can any one tell me how to start work using metrowerks code warrior studio ISA edition. The metrowerks codewarrior ide have the capability to run it on windows and make programms for embedded linux. Can any one tell me how to develope a link between EP9312 and my windows based PC while running metrowerks code warrior on my PC????
CodeSourcery has been selected by ARM, Ltd. to develop improvements to the GNU Toolchain for ARM processors. CodeSourcery's releases of the GNU Toolchain support both ARM and Thumb mode compilation, and support all versions of the ARM Architecture in active use, including Version 6.