1

Segmentation fault in other systems C program

view story
linux-howto

http://www.unix.com – Hello everybody, I've been working on a program on my Linux box, after finished the code, i compile it with gcc -Wall option, so i can see what's wrong or unused. The Walll output shows nothing, so there are no loose ends on the program. I run the program on my system, and it works PERFECTLY. My problem is when i copy the source code of the program and compile it on other operating systems (Also Linux, but live versions). It compiles without any warnings from -Wall, but when i run the program, i get segmentation fault. Since most live versions doesn't have gdb, i figured out which functions (HowTos)