[LLVMdev] building Kaleidoscope in xcode

Udi Kalekin udi.kalekin at gmail.com
Mon Nov 22 16:09:45 PST 2010


folks,
i went thru Kaleidoscope (very helpful) building stuff on the command line
(Mac OS X). everything builds and runs -- no real problem. trying to build
the same under xcode was met with somewhat limited success.
i've created a project and added macros and libs per llvm-config. all
compiles with no problem. also, xcode seems to be smart enough to know that
libm was merged into libSystem and is implicitly linked in -- so even tho it
let's you select libm (ala -lm), it doesn't add it to the explicit lib list.
all this is great wonderful, except for a whole bunch of link errors that
clearly indicate math functions not being defined. i must be missing
something -- any help would be greatly appreciated.
thnx,   /udi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20101122/adb5b972/attachment.html>


More information about the llvm-dev mailing list