"Kort, Eric" wrote:
> IMPORTANT CAVEAT: Inline configures itself, based on Config.pm, to use the
> compiler that compiled perl. In the case of the Active State build, this is
> cl.exe (the visual c compiler? is that right?). If you have another
> compiler, such as gcc, you will need to build perl from source using that
> compiler, or find someone who has a perl binary built with that compiler (I
> have one built with gcc). Alternatively, you could attempt to reconfigure
> Config.pm, XSUB.h, etc. to be gcc compatible, but I have yet to get this to
> work.
Inline does get its defaults from Config.pm but you can now override
many of them using options like the following:
MAKE
CC
LD
CCFLAGS
LDDLFLAGS
When you (or anyone else) get gcc to work with ActivePerl for MSWin32, I
will be glad to add special support into Inline::C.
Cheers, Brian
--
perl -le 'use Inline C=>q{SV*JAxH(char*x){return newSVpvf
("Just Another %s Hacker",x);}};print JAxH+Perl'