liuis / leveldb

Automatically exported from code.google.com/p/leveldb
BSD 3-Clause "New" or "Revised" License
0 stars 0 forks source link

iOS build fails with XCode 4 #7

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
"make PLATFORM=IOS" fails with XCode 4 installed:
g++-4.2: error trying to exec '/usr/bin/arm-apple-darwin10-g++-4.2.1': execvp: 
No such file or directory

This patch updates the Makefile to use the compilers provided by the installed 
iOS SDK.

Original issue reported on code.google.com by ashoema...@gmail.com on 6 Jun 2011 at 8:44

Attachments:

GoogleCodeExporter commented 9 years ago
Attaching a more minimal patch.

Original comment by ashoema...@gmail.com on 6 Jun 2011 at 8:47

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by tfar...@chromium.org on 7 Jun 2011 at 3:37

GoogleCodeExporter commented 9 years ago
We tested the current Makefile on machines that have both XCode 3 and 4.  Do 
you _only_ have XCode 4?  That could explain it.

Original comment by dgrogan@chromium.org on 8 Jun 2011 at 10:58

GoogleCodeExporter commented 9 years ago
Yes, I have only XCode 4. The XCode 3 compilers would still be in /usr/bin, so 
that might explain the difference.

Original comment by ashoema...@gmail.com on 8 Jun 2011 at 5:56

GoogleCodeExporter commented 9 years ago
This should now be fixed in r32.

Original comment by ga...@google.com on 22 Jun 2011 at 2:50

GoogleCodeExporter commented 9 years ago
Confirmed, thanks!

Original comment by ashoema...@gmail.com on 22 Jun 2011 at 3:00

GoogleCodeExporter commented 9 years ago
Marking this verified.

Original comment by ga...@google.com on 22 Jun 2011 at 6:23