<div style="font-family: Helvetica; font-size: 13px;">Yup, it switched back to Clang:<div><br></div><div><div>[ 0%] Building C object libarchive/CMakeFiles/archive.dir/archive_acl.c.o</div><div>cd /Users/ale/Desktop/projects/nifty/KiwiWebinar/Build/CMakeExternals/Build/libarchive-ios-simulator/libarchive && /usr/bin/cc -DHAVE_CONFIG_H -Darchive_EXPORTS -fvisibility=hidden -fvisibility-inlines-hidden -mios-simulator-version-min=5.0 -fvisibility=hidden -fvisibility-inlines-hidden -mios-simulator-version-min=5.0 -g -arch i386 -isysroot /Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk -fPIC -I/Users/ale/Desktop/projects/nifty/KiwiWebinar/Build/CMakeExternals/Source/libarchive/libarchive -I/Users/ale/Desktop/projects/nifty/KiwiWebinar/Build/CMakeExternals/Build/libarchive-ios-simulator -I/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator7.1.sdk/usr/include/libxml2 -o CMakeFiles/archive.dir/archive_acl.c.o -c /Users/ale/Desktop/projects/nifty/KiwiWebinar/Build/CMakeExternals/Source/libarchive/libarchive/archive_acl.c</div><div>/usr/local/Cellar/cmake/2.8.12.2/bin/cmake -E cmake_progress_report /Users/ale/Desktop/projects/nifty/KiwiWebinar/Build/CMakeExternals/Build/libarchive-ios-simulator/CMakeFiles 1</div></div></div>
<div><div><br></div>-- <br>Alessandro Dal Grande<div><br></div></div>
<p style="color: #A0A0A8;">On Thursday, 22 May 2014 at 14:58, Alessandro Dal Grande wrote:</p>
<blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
<span><div><div>
<div style="font-family: Helvetica; font-size: 13px;">Sure I will try it now.<br></div>
<div><div><br></div>-- <br>Alessandro Dal Grande<div><br></div></div>
<p style="color: #A0A0A8;">On Thursday, 22 May 2014 at 14:56, Casey Goodlett wrote:</p><blockquote type="cite"><div>
<span><div><div><div dir="ltr"><div>That should not be a problem.<br><br></div>If you dont mind testing removing the find_program for the compilers in the simulator toolchain, it would help me to confirm that I understand the situation.<br>
<br>Thanks<br></div><div><br><br><div>On Thu, May 22, 2014 at 5:44 PM, Alessandro Dal Grande <span dir="ltr"><<a href="mailto:adgror@gmail.com" target="_blank">adgror@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div>
<div style="font-family:Helvetica;font-size:13px">I think I can live without the simulator build, as I cannot test on it anyway, based on my app requirements ;)<div><br></div><div>Another strange thing that happens is I get warnings like this one:<div>
<br></div><div>/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/libtool: for architecture: armv7 file: ./CMakeExternals/Install/vtk-ios-device/lib/libvtklibxml2-6.0.a(debugXML.c.o) has no symbols</div>
<div><br></div><div>Is it fine, am I missing something?</div></div></div><span><font color="#888888">
<div><div><br></div>-- <br>Alessandro Dal Grande<div><br></div></div></font></span><div><div>
<p style="color:#a0a0a8">On Thursday, 22 May 2014 at 14:30, Casey Goodlett wrote:</p><blockquote type="cite"><div>
<span><div><div><div dir="ltr"><div>You can use the same compiler for both simulator and device builds with the arch, sysroot, and ios-version-min flags set from the toolchain file. In other words the compiler is the same for both builds but the build options are different.<br>
</div><div><br></div><div>The key flags are<br></div><div>-arch<br></div><div>-isysroot<br></div><div>-mios-simulator-version-min=5.0 <br>
or<div>-mios-iphoneos-version-min=5.0 <br><br><br></div><div>Note the version min is key for the simulator build otherwise you may link against host (OS X) libraries.<br><br></div></div><div><br><div>
On Thu, May 22, 2014 at 5:24 PM, Alessandro Dal Grande <span dir="ltr"><<a href="mailto:adgror@gmail.com" target="_blank">adgror@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div>
<div style="font-family:Helvetica;font-size:13px">Yeah, I get the same:<div><br></div><div><div><div>$ c++ -v</div><div>Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)</div></div><div>
Target: x86_64-apple-darwin13.1.0</div><div>Thread model: posix</div></div><div><br></div><div>This seems to be the compiler used for armv7/armv7s architectures though, so it should be working if I run the builds on my iDevice?</div>
<div><br></div><div>Thanks</div></div><span><font color="#888888">
<div><div><br></div>-- <br>Alessandro Dal Grande<div><br></div></div></font></span><div><div>
<p style="color:rgb(160,160,168)">On Thursday, 22 May 2014 at 14:21, Casey Goodlett wrote:</p><blockquote type="cite"><div>
<span><div><div><div dir="ltr"><div><br><div>On Thu, May 22, 2014 at 5:17 PM, Alessandro Dal Grande <span dir="ltr"><<a href="mailto:adgror@gmail.com" target="_blank">adgror@gmail.com</a>></span> wrote:<br><blockquote type="cite"><div><div>Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/usr/include/c++/4.2.1</div>
</div></blockquote></div><br>I believe that --with-gxx-include-dir line means you get libstdc++<br></div><div><br></div><div>Compare with <br>$ c++ -v<br>Apple LLVM version 5.1 (clang-503.0.40) (based on LLVM 3.4svn)<br>
Target: x86_64-apple-darwin13.2.0<br>Thread model: posix
<br clear="all"><br>-- <br><div dir="ltr">Casey B. Goodlett, Ph.D.<br>Technical Leader<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br><a href="tel:%28919%29%20969-6990%20x310" value="+19199696990" target="_blank">(919) 969-6990 x310</a></div>
</div></div>
</div></div></span>
</div></blockquote><div>
<br>
</div>
</div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Casey B. Goodlett, Ph.D.<br>Technical Leader<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
<a href="tel:%28919%29%20969-6990%20x310" value="+19199696990" target="_blank">(919) 969-6990 x310</a></div>
</div></div>
</div></div></span>
</div></blockquote><div>
<br>
</div>
</div></div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr">Casey B. Goodlett, Ph.D.<br>Technical Leader<br>Kitware, Inc. - North Carolina Office<br><a href="http://www.kitware.com" target="_blank">http://www.kitware.com</a><br>
(919) 969-6990 x310</div>
</div>
</div></div></span>
</div></blockquote><div>
<br>
</div>
</div></div></span>
</blockquote>
<div>
<br>
</div>