in reply to Re: Embedding perl in C.
in thread Embedding perl in C.

Hi I am Sumit . Trying to use the same concept .I was trying to compile this example on Sun-solaris . Could you please tell what will be the gcc option . thanks Sumit

Replies are listed 'Best First'.
Re: Re: Re: Embedding perl in C.
by perlmonkey (Hermit) on Jul 30, 2001 at 22:41 UTC
    The options should be the same that your perl binary was complied with. Those options should be saved in the Config module.

    Read the perlembed manpage.

    You can use ExtUtils::Embed module to get at these options easier. This is in the above manpage:
    cc -o interp interp.c `perl -MExtUtils::Embed -e ccopts -e ldopts`