Hello Elie,

Ok, I tried to build on OS X with the LLVM/Clang revisions from above and
the Calypso/LDC code from my github fork, but it is a no go.

Calypso compiles pretty easily, but there are issues with "vector" not being found, so then I install libc++ so that clang easily picks up the correct
include directories.

Then "unistd.h" isn't found...ok it turns out XCode Command Line Tools needs to be installed to get some gcc specific files, but the internal Calypso
call to clang needs to be modified.

Change Calypso to call 'xcrun --show-sdk-path`, because this seems to work from the command line. Needs to be run from a shell...ugh. Etc, etc.

Run into problems with libc++ and libstdc++ colliding. Remove libc++. Ugh.

I finally just compile things by hand and get through to Calypso running and producing a bunch of object files, but then gcc won't link in some allocator code from stdc++?? Sheesh, not sure what is going on...I have
tried several different ways to fix this, to no avail.

Anyways, I am tired so I will just have to mess with this some more tomorrow or the next day. Hopefully I can figure out what is going on as it seems
close to working.

There might be real issues with someone having libc++ and libstdc++
alongside XCode tools like I had.


Thanks,
Kelly

P.S. I try out Calypso from your github repo most days and the
vector/bitset/showcase examples weren't working with todays code --> "Do not call _d_invariant on C++ class objects". Just to make sure you
are aware of it.

Reply via email to