Closed GoogleCodeExporter closed 9 years ago
Sounds like you need this patch:
https://github.com/dizzyd/leveldb/commit/04a80d05e5aadacabab6c5f9699e639d3b05d8b
f
Original comment by paul.jos...@gmail.com
on 21 Jun 2011 at 4:10
XCode 3.1.4 (10.5-compatible) defaults to GCC 4.0.1, however it includes GCC
4.2 and LLVM/GCC 4.2. A possible solution is to compile with llvm-g++ on OS X.
Can someone affected by this on 10.5 check if the attached patch resolves the
issue?
Original comment by ashoema...@gmail.com
on 7 Jul 2011 at 10:00
Attachments:
On OSX 10.5.8, my Xcode version is 3.1.1. So, "llvm-g++" command isn't
available.
However, I can confirm that under OSX 10.6.8, the "cc.patch" works and let me
compile level-db with "llvm-g++".
Hope this help guys.
Original comment by voidptr...@gmail.com
on 7 Jul 2011 at 11:26
This patch looks for llvm-g++ in the system path, and in an XCode-specific
directory. Can you try it on 10.5?
Original comment by ashoema...@gmail.com
on 7 Jul 2011 at 6:58
Attachments:
Good news. I confirm that with the "cc-detect.patch", everything compile just
fine under OSX 10.5.8.
The patch was able to detect "llvm-g++" under
"/Developer/usr/llvm-gcc-4.2/bin/llvm-g++4.2".
Thanks guys and keep up the good work.
Original comment by voidptr...@gmail.com
on 7 Jul 2011 at 7:43
There have been a bunch of build improvements. Please reopen if the problem
still exists.
Original comment by san...@google.com
on 30 May 2012 at 5:19
Original issue reported on code.google.com by
voidptr...@gmail.com
on 21 Jun 2011 at 2:34