Syntactic Confectionery Delight | |
PerlMonks |
Re^4: Inline::CUDA : looking for feedbackby bliako (Monsignor) |
on Jul 30, 2021 at 06:02 UTC ( [id://11135513]=note: print w/replies, xml ) | Need Help?? |
kcott, the immediate cause is that C/C++ compilers are not detected. And possibly errors because of more quoting problems. it's obvious that I need to handle quoting commands and parameters properly. I will follow anonmonk's suggestion if your \Q \E proves not robust enough. System C and C++ compiler must be detected properly. For locally-built perl.exe finding the default C-compiler is as easy as $Config{cc} but for C++ is not. For downloaded perl.exe, I have no idea where $Config{cc} will point to! I will also make a basic/preliminary test to check quotes and to check compilers. Secondly, I have no idea how to affect Makefile.PL vars in windows (for specifying CC,CXX,LD), in the same way I do it in bash:
A workaround is, after perl Makefile.PL, to try to modify config/Inline-CUDA.conf If all else fails I will have to resort to prompting the user during installation. Any opinions on that style? Thanks for your time spent and valuable feedback. I am not in a hurry, please work on it in your own pace. bw, bliako
In Section
Cool Uses for Perl
|
|