in reply to Re: Embedding perl in C
in thread Embedding perl in C

Thanks,

I got all the include files. Still when I tried to compile, I got an error
Error D:\TC\INCLUDE\LOCALE.H 22: Error directive: ERROR: Only Win32 t +arget supported!
I am working on windows 2000 system. How do I resolve this error?

Replies are listed 'Best First'.
Re^3: Embedding perl in C
by ambrus (Abbot) on Aug 23, 2004 at 11:42 UTC

    This is only a guess but you should probably get a newer or different c compiler. Did you compile perl with that compiler? You'd better use the same compiler (or a very similar one) and the same c library (but that comes with borland C) to compile perl and to compile this program, or you'll have compatibility problems.

      Borland's free compiler is rather good. It's the same one that ships with their Builder product. It probably doesn't have the power of gcc + gdb, but on for native win32 compilers, especially that are free, I would say its rather good.

        The OP has mentioned Turbo C 2.01 which is a rather old version.