[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [LCP]Parallel programming



"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.