bliako has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monkees!
I need to compile perl from source with custom compiler living in /usr/local/gcc82 (with subdirs bin, include, lib etc.). The reason is that I am embedding CUDA code (which is C) via Inline::C which needs this specific compiler. And XS code must be compiled with same compiler as its perl. (Indeed I get segmentation fault when doing otherwise). So I need perl compiled with this specific compiler and I am doing this on Linux.
I prefer to let perlbrew do the compilation and installation. Is there a simple way to do it? Alternatively, I need to do it manually.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Compile perl with custom compiler path, perlbrew solution preferred
by Fletch (Bishop) on Jun 13, 2024 at 20:12 UTC | |
by bliako (Abbot) on Jun 13, 2024 at 21:47 UTC | |
|
Re: Compile perl with custom compiler path, perlbrew solution preferred
by cavac (Prior) on Jun 18, 2024 at 13:38 UTC | |
by bliako (Abbot) on Jun 20, 2024 at 18:38 UTC |