Segmentation fault ?

I am compiling a code which converts a binary log file into ascii format with symbols.When I am compiling it on solaris,it works fine and gives the desired output but when I comiple the same on windows using cygwin compiler.it compiles properly but it gives output as binary file corrupted(probably bad stack).segmentation fault  and gives some junk output.Please help me to resolve the same.
tatikor_143Asked:
Who is Participating?
 
deaditeConnect With a Mentor Commented:
actually, I think I answered my own question.... I think you only have cc available...
0
 
ozoCommented:
Can you show us the code?
0
 
deaditeCommented:
Yes, we will need to see some code...

Also, what compiler... cc or gcc?
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.