On WSL systems, if the user uses Windows git with CRLF file checking, the compilation fails from missing symbols as ./runtime.pl script does not properly recognize Windows line endings.
open STDIN, "<$prefix.in" or die "can't open input file $prefix.in";
open BASE, "<runtimebase.in" or die "can't open runtimebase.in";
open STDOUT, ">$prefix.cc" or die "can't open output file $prefix.cc";
On WSL systems, if the user uses Windows git with CRLF file checking, the compilation fails from missing symbols as ./runtime.pl script does not properly recognize Windows line endings.
A relatively easy fix is to add
after the lines
in
runtime.pl
script.