segmentation fault in arm edb9315a for helloworld.c application
i had added a hello world program object file in /tmp directory and cross compiled successfully but after porting completed a segmentation fault appeared while running that application!!!!!!!!!!!
am using arm9 edb9315 cirrus logic board.... give Ur ideas to run the application successfully.. this is my sample program #include<stdio.h> void main() { printf("hello world\n"); } pls give the solution to run this program from the board................ |
try removing void then run the program...why r u running in /tmp ????
|
thank u rahulkya..
but i created new ramdisk with my application using build.sh script from cirruslogic 2.0.2(build version)..it was successfully ported.. |
Quote:
I was not able to find the build.sh script for your cirrus logic board. thanks *EDIT* I just solved the problem. Really simple and stupid. I used FileZilla to transfer the files and for som reason it transfers in ascii mode by default. |
All times are GMT -5. The time now is 06:54 AM. |