On 11/1/10 8:10 PM, Sisyphus wrote:

----- Original Message ----- From: "Robert H"

I have been playing around with TCC (http://bellard.org/tcc/) and was
wondering how you set the C compiler you want Inline to use.

In your scripts you could specify:

use Inline C => Config =>
CC => 'tcc';

And that should make the build process use the tcc compiler.
However, there may well be some additional flags you need to specify
when using tcc, or perhaps even some flags removed .... I don't know.
See the section "C Configuration Options" in 'perldoc Inline::C' for a
listing of the configuration options you can specify.

If you want to make tcc the *default* compiler for Inline::C, I would
think you would need to build Inline::C using that compiler.


Not the default...just wasn't sure how to specify it. Thanks very much.

Bob

Reply via email to