Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:
I am using Inline::C but I want to make perl aware of multiple source files.
use Inline C => "./Model.h"; # Ensure recompile if changed use Inline C => "./Model.c"; # Pure C; no perlguts use Inline C; # All glue code here, if possible
However, the above doesn't link. I get undefined symbol: evaluateRaw
What are the best practices for multiple source files with Inline::C? Perhaps bind is the best way to go?
I want broad compatibility with different Perl installs.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Inline::C with multiple sources
by perlfan (Parson) on May 22, 2020 at 04:00 UTC | |
by Anonymous Monk on May 22, 2020 at 09:31 UTC | |
by hippo (Archbishop) on May 22, 2020 at 09:40 UTC | |
|
Re: Inline::C with multiple sources
by Anonymous Monk on May 22, 2020 at 03:30 UTC |