Compiling the master on MacOS - update

23 views
Skip to first unread message

gareth...@ntlworld.com

unread,
Nov 1, 2018, 1:47:21 PM11/1/18
to dylan-lang
Hi,

Having sorted my OpenDylan/MacOS issue I thought I'd try my luck with a copy of the master.

With the Xcode 10 command line tools and a git clone of the master I got a shed load of error after a short while. However it did not look like a normal Dylan code error, it had resulted from part of the llvm chain.

Now I've been lurking on the IRC channel and remembered a post about a requirement for clang/llvm v7 - So I downloaded a copy and stuck it away on its own, re-downloaded a clone of the git and did a configure with CC=clang-7. The make seemed to take most of my 2hr lunch but it did finally complete!!!!

So I actually have a query - do I actually need to specify clang-7 for subsequent uses of dylan-compiler?

I understand that I will when the llvm back-end is live but now?

Thanks
Gareth

PS - I do plan some time soon to sit down and learn a bit of Regex to try and sort the minor problem with the Dylan plugin for vs-code :-)

Carl Gay

unread,
Nov 2, 2018, 3:00:29 PM11/2/18
to dylan-lang
Hi Gareth, my understanding is that the standard Xcode clang should work fine, unless you're specifically trying to use the LLVM back-end.  Can you post the errors you got?

gareth...@ntlworld.com

unread,
Nov 3, 2018, 3:03:44 PM11/3/18
to dylan-lang
Hi,

This is the start of it:

clang -arch x86_64 -fexceptions -c -o obj-x86_64-darwin-llvm/x86_64-darwin-runtime.o x86_64-darwin-runtime.bc

Intrinsic has incorrect argument type!

void (i8*, i8*, i64, i1)* @llvm.memcpy.p0i8.p0i8.i64


I have a copy of the full terminal output and any logs from OpenDylan if you think it would be useful.


Thanks

Gareth

Reply all
Reply to author
Forward
0 new messages