Page 1 of 1

gyp debugging help?

Posted: Fri Nov 13, 2020 3:41 am
by mwieder
I'm trying to fiddle with some gyp options (finding that prebuilts are way out of date got me started on this) and since I'm a newbie dealing with gyp structures, I could use some help debugging.

In particular, I'm getting 'gyp: Undefined variable _platform_include_dirs in thirdparty/libffi/libffi.gyp', and while I see the section that defines this for various combinations of host/target OS and ARCH variables, I'm not sure where my problem is. This running locally on a linux host armv7l cpu.

Is there some way to display the current values? I get that 'undefined variable' means that I've fallen through the cracks of the available options, and I could insert a new JSON identifier if I knew what was wrong, but I don't know how to get that information.

Re: gyp debugging help?

Posted: Sun Nov 22, 2020 6:58 pm
by richmond62
Erm?

https://gyp.gsrc.io/

I may be a bit goofy (OK, OK, I am goofy), BUT what do gyp structures have to do with LiveCode?

Re: gyp debugging help?

Posted: Mon Nov 23, 2020 12:36 am
by bwmilby
It is part of the build system to actually compile the project (LC engine).