But everytime I launch my-binary.exe I see _Inline. This is not what I would like to see, because I cannon assume that gcc will be available on client PCs.

I don't understand the logic flow there.
_Inline is just the directory that contains the compiled C code. If it is present, then it won't matter whether the client PC has gcc or not - because all of the required compilation has already been done.
The client machine will, however, need Inline::C installed (or you'll need to package Inline::C with the app).

The only thing that can bring you undone (AFAICT) is that, if you used gcc-4.x.x to compile the Inline::C code in your app, then it will have a runtime dependency on either libgcc_s_dw2-1.dll (mingw.org vendor) or libgcc_s_sjlj-1.dll (mingw-w64 vendor).
If the client machine doesn't have a gcc-4 compiler from the same vendor as you (or their gcc-4 compiler is not in their path) then that dll will not be found.
So you probably need to ship that dll with your app - in the _Inline/lib/auto/<whatever_it's called>/ directory.
You'll find that dll in your compiler's bin directory.

But if you used gcc-3.x.x then there are no such dll issues.

Cheers,
Rob

In reply to Re: Inline::C and Dist::Zilla by syphilis
in thread Inline::C and Dist::Zilla by basiliscos

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, details, 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, summary, 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.