in reply to Re: Inline::C better than XS?
in thread Inline::C better than XS?

derby,
foo.c is a program I want to use and call from using Inline. foo.c also uses a library so that foo.c can function. The C code is very long and very complex. I do not want to write it to the bottom of my Inline program.

Why wouldn't the reply that Zaxo sent work?

thx, ginttu

Replies are listed 'Best First'.
Re: Re: Re: Inline::C better than XS?
by jsegal (Friar) on Nov 20, 2002 at 16:47 UTC
    If foo.c contains a "main" function you will likely run into linker problems... You may want to abstract out some of the functionaly of the foo.c into its own library -- this will give you the greatest flexibility.

    --JAS