[LCP]Parallel programming

Greg Black gjb at gbch.net
Fri Jul 5 11:38:06 UTC 2002


"Mohamed Raouf" wrote:

| I wrote a C code that controls a stepper motor connected to the parallel
| port ,First I made it under windows and it worked so fine
| but when I tried to convert it under linux, it was compiled but when I
| tried to run it , I had te following message " segmentation fault (core
| dumped)"

So run it under gdb and see where the problem occurs.  Then step
through the code leading up to the crash and see what you've
done wrong.  Then fix it.




More information about the linuxCprogramming mailing list