Windriver and Montavista
I have a montavista linux, where in i am compiling a c program
and compiled with gcc,
printf("I am here");
this program works fine in montavista,
but the same when i try to run on WINDRIVER AND CENTOS LINUX it gives segmentation fault
why is this simple program is not executing on other version of linux...
Thanks in advance,
Maybe because it misses libraries on centos and windriver?
Did you build a static binary or a dynamically linked one?
Also, the cpu architecture may be different.
Yeah, sounds like you need a cross compiling sandbox set up to do development for your target platforms.