"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tools/templates/moar/rakudo-m-build.c.in" between
rakudo-2020.08.2.tar.gz and rakudo-2020.09.tar.gz

About: Rakudo is a compiler for the Perl 6 programming language.

rakudo-m-build.c.in  (rakudo-2020.08.2):rakudo-m-build.c.in  (rakudo-2020.09)
skipping to change at line 38 skipping to change at line 38
exec_argv[4] = "--libpath=@c_escape(@nfp(@nqp_lib_dir@)@)@"; exec_argv[4] = "--libpath=@c_escape(@nfp(@nqp_lib_dir@)@)@";
exec_argv[5] = "@c_escape(@nfp(@base_dir@/@mbc@)@)@"; exec_argv[5] = "@c_escape(@nfp(@base_dir@/@mbc@)@)@";
// Copy passed args. // Copy passed args.
for (c = 0; c < argc - 1; c++) { for (c = 0; c < argc - 1; c++) {
exec_argv[1 + moar_argc + c] = argv[c + 1]; exec_argv[1 + moar_argc + c] = argv[c + 1];
} }
exec_argv[exec_argc - 1] = NULL; exec_argv[exec_argc - 1] = NULL;
setenv("NQP_HOME", "@c_escape(@nfp(@nqp_home@)@)@", 1);
// Hack: Explicitly set a dummy RAKUDO_HOME, so the autogenerated // Hack: Explicitly set a dummy RAKUDO_HOME, so the autogenerated
// CompUnitRepo folder structure does not end up in the build directories // CompUnitRepo folder structure does not end up in the build directories
// parent folder. // parent folder.
setenv("RAKUDO_HOME", "@c_escape(@nfp(@base_dir@/gen/build_rakudo_home)@)@", 1); setenv("RAKUDO_HOME", "@c_escape(@nfp(@base_dir@/gen/build_rakudo_home)@)@", 1);
execve(moar, exec_argv, environ); execve(moar, exec_argv, environ);
// execv doesn't return on successful exec. // execv doesn't return on successful exec.
fprintf(stderr, "ERROR: Failed to execute moar. Error code: %i\n", errno); fprintf(stderr, "ERROR: Failed to execute moar. Error code: %i\n", errno);
return EXIT_FAILURE; return EXIT_FAILURE;
 End of changes. 1 change blocks. 
0 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)