Page 1 of 1

Smoking my own.

Posted: Sun Aug 07, 2022 12:43 pm
by richmond62
If I download CODE as a ZIP file from here: https://github.com/livecode/livecode

"9.7.0-dp-1"

is there a way to build this on a Macintosh?

and if so, how?

Re: Smoking my own.

Posted: Mon Aug 08, 2022 8:02 pm
by OpenXTalkPaul
You should be able to if you have the right Xcode app installed, AND the correct older MacOS and iOS SDKs linked in XCode app, AND the library/dependencies where the build scripts expect to find them.
I had started to set up to do just that last November, which did successfully compile some parts (but not The Who shebang), and then I messed up my partition tables while installing Linux.

To build for Apple Silicon you will also need to be running at least Xcode version 12, AND have ARM64 code/binaries for any dependencies. https://developer.apple.com/documentati ... le-silicon

The syntax dictionary, however, can be built with the included builder stack, which mostly looks for .lcdoc markdown files in a 'docs' folder (it also looks for in the IDE or IDE support for the DataGrid docs). I'm thinking the dictionary building bits could maybe be moved to a separate git repo, along with Brian Milby's tool (permission granted) for editing this particular flavor of markdown.

Re: Smoking my own.

Posted: Mon Aug 08, 2022 8:19 pm
by OpenXTalkPaul
richmond62 wrote: Sun Aug 07, 2022 12:43 pm If I download CODE as a ZIP file from here: https://github.com/livecode/livecode

"9.7.0-dp-1"

is there a way to build this on a Macintosh?

and if so, how?
Keep in mind that whatever that "9.7.0-dp-1" is, it looks like that was pushed last on July 26th of last year, so I'd expect any 'stable'/tested code changes from LC were likely included in 9.6.3 (released on July 29th). Although I know of several fix / pull requests from community were not used, but could be.