Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

comment on

( #3333=superdoc: print w/replies, xml ) Need Help??
2. I don't understand what it means, because I use cl compiler. cc -o perl-interp perl-interp.c `perl -MExtUtils::Embed -e ccopts -e ldopts`

The command-line arguments (as you call them ) are actually backticks and expand out into the needed includes and libs needed by your Perl version. On linux/unix style systems, it is done all the time, look at gtk's pkg-config system.

Anyways, on my system, the bacticks expand out to

-Wl,-E -L/usr/local/lib /usr/lib/perl5/5.8.8/i686-linux-thread-multi/ +auto/DynaLoader/DynaLoader.a -L/usr/lib/perl5/5.8.8/i686-linux-thread +-multi/CORE -lperl -lnsl -lgdbm -ldb -ldl -lm -lcrypt -lutil -lpthrea +d -lc -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -fno-strict-aliasing - +pipe -Wdeclaration-after-statement -I/usr/local/include -D_LARGEFILE_ +SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib/perl5/5.8.8/i686-linux-thre +ad-multi/CORE
As you can see, using the backticks, is far easier than manually trying to find all those system-specific file locations.

And sorry, I don't use windows, so I'm as lost as you as far as win32 goes.


I'm not really a human, but I play one on earth. Cogito ergo sum a bum

In reply to Re^3: perl_free problem by zentara
in thread perl_free problem by iladyko_vision

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.
  • Log In?
    Username:
    Password:

    What's my password?
    Create A New User
    Chatterbox?
    and the web crawler heard nothing...

    How do I use this? | Other CB clients
    Other Users?
    Others drinking their drinks and smoking their pipes about the Monastery: (5)
    As of 2021-03-08 20:02 GMT
    Sections?
    Information?
    Find Nodes?
    Leftovers?
      Voting Booth?
      My favorite kind of desktop background is:











      Results (127 votes). Check out past polls.

      Notices?