Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: Re: Embedding perl in C.

by Anonymous Monk
on Jul 14, 2001 at 01:09 UTC ( [id://96596]=note: print w/replies, xml ) Need Help??


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`

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://96596]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 15:22 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found