1

I am trying to generate one resource file using windres tool of mingw32 utils in Linux using the below command:

i586-mingw32msvc-windres my.rc -O coff my.res

But, it is generating a file with name my.res^M. I verified this with ls -l command. Please explain why ^M is added in the file name.

tuomastik
  • 4,559
  • 5
  • 36
  • 48
Ayush Gupta
  • 77
  • 10

1 Answers1

0

the problem was file conversion. I need to convert my .sh file in unix format if downloaded or retrieved from windows platform.

dos2unix .sh file helps

Ayush Gupta
  • 77
  • 10