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 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.
Who is Participating?
deaditeConnect With a Mentor Commented:
actually, I think I answered my own question.... I think you only have cc available...
Can you show us the code?
Yes, we will need to see some code...

Also, what compiler... cc or gcc?
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.