in reply to Re^2: Updating broken and possibly incomplete SWIG Perl module building tutorial on SWIG web site
in thread Updating broken and possibly incomplete SWIG Perl module building tutorial on SWIG web site
Backticks won't work on Windows, but then, I don't know whether SWIG will work on (non-Cygwin) Windows at all either.
And not all the world uses gcc.
Personally, I would go the route of least resistance and change the SWIG "build" process to produce a Makefile through ExtUtils::MakeMaker (see WriteMakefile() in ExtUtils::MakeMaker - this is a tried and true mechanism that will know about the appropriate C compiler to use with This Perl and will also know about the options needed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Updating broken and possibly incomplete SWIG Perl module building tutorial on SWIG web site
by hermida (Scribe) on Mar 26, 2011 at 17:04 UTC | |
|
Re^4: Updating broken and possibly incomplete SWIG Perl module building tutorial on SWIG web site
by hermida (Scribe) on Mar 26, 2011 at 17:19 UTC | |
by Corion (Patriarch) on Mar 26, 2011 at 17:41 UTC |