Modify the line 315 of rom_sbs.pl to access cpp.exe when not building for Unicode.
--- a/kernel/eka/rombuild/rom_sbs.pl Thu Mar 18 15:20:39 2010 +0000
+++ b/kernel/eka/rombuild/rom_sbs.pl Thu Mar 18 15:26:01 2010 +0000
@@ -312,7 +312,7 @@
# Unicode build
$cppcmd = "$Epoc32Path/gcc/bin/cpp $cppflags -D UNICODE $defines rom1.tmp rom2.tmp";
} else {
- $cppcmd = "cpp $cppflags $defines rom1.tmp rom2.tmp";
+ $cppcmd = "$Epoc32Path/gcc/bin/cpp $cppflags $defines rom1.tmp rom2.tmp";
}
print "Executing CPP:\n\t$cppcmd\n" if $debug;
$ret = system($cppcmd);