compiling lua
Hoenir
mrmocool at gmx.de
Mon Sep 15 15:48:25 PDT 2008
Jarrett Billingsley schrieb:
> On Mon, Sep 15, 2008 at 1:03 PM, Hoenir <mrmocool at gmx.de> wrote:
>> is anybody able to compile lua 5.1.4 with dmc? I want to include it
>> statically in a D program.
>>
>
> What's the issue you're having? I think I compiled 5.1.3 with DMC and
> didn't need any modifications. It's written strictly in ANSI C for a
> reason ;)
Well, at least there's a #define controlling that ANSI thing.
I had to add a cast in liolib.c to make it compile without errors.
But the dmd linker complains about undefined symbols __pclose and __popen
More information about the Digitalmars-d-learn
mailing list