<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>on Lion 10.7.4</div><div><div><br></div><div>first I install gcc-4.7 with brew then</div><div><br></div><div><div>  % curl <a href="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_6.tgz">http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_6.tgz</a> > gambc-v4_6_6.tgz</div><div>  % tar zxf gambc-v4_6_6.tgz</div><div>  % cd gambc-v4_6_6</div><div>  % CC=g++-4.7 ./configure ---enable-single-host </div><div>  % make -j 3</div><div>  % make install</div><div><br></div></div><div>;; --------------</div><div>  on SL 10.6.8/ Xcode 4.0.2</div><div><div>  % curl <a href="http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_6.tgz">http://www.iro.umontreal.ca/~gambit/download/gambit/v4.6/source/gambc-v4_6_6.tgz</a> > gambc-v4_6_6.tgz</div><div>  % tar zxf gambc-v4_6_6.tgz</div><div>  % cd gambc-v4_6_6</div><div><div>  # I have changed the build-gambit-IOS shell-script, replace gcc with g++.  to get a libgambc.a which can be linked with C++ project</div><div>  # notice : if using g++ , GambitREPL.xcodeproj can not build correctly. but libgambic.a is ok.</div><div>  % cd contrib/GambitREPL</div><div>  % make ios   ### this will recompile the Gambit runtime for the iPhone (real device and simulator)</div><div><br></div><div>You'll find the libgambc.a  in  GambitREPL/gambit-iOS/current/lib.</div><div><br></div><div>Here is my libgambic.a  (compiled with g++)and gambit.h.  <a href="http://goo.gl/HfxLT">http://goo.gl/HfxLT</a></div><div><br></div><div><br></div></div></div></div><div><div>On Jun 8, 2012, at 12:00 AM, Kirill Zorin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Would you mind posting a link to your ARM libgambc.a file (and gambit.h)? Installing the gcc 4.7 toolchain on the Mac, especially as a cross-compiler, is a major pain, and I have a feeling other people will find this useful.</div><div><br></div><div>For whatever reason, not a single build I've got so far using build-gambit-iOS has been correct. Are there any extra special settings that need to be given to Xcode to make it cooperate with gambit?</div><div><br></div><div>Thanks.</div><br><div><div>On 2012-06-06, at 9:08 PM, Shihpin Tseng wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div><br></div>We using 4.6.6, for now everything is perfect.<div><br><div>Here is what we do.</div><div><br><div>1.  compile GambitREPL of  gambit 4.6.6 with Xcode 4.0.2 on Snow Leopard. </div><div>2.  compile and install gambit 4.6.6 with gcc-4.7 on working computer, Lion 10.7.4</div><div>2.  copy libgambc.a from SL system to our project.</div><div>3.  build project with latest Xcode (4.3.2)<br><div><br></div><div><br><div><div>On Jun 7, 2012, at 8:48 AM, mikel evins wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On Jun 6, 2012, at 7:41 PM, Kirill Zorin wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div>Is there any particular reason for using 4.6.1 (versus some other minor revision)? Was 4.6.1 found to be the latest iOS-stable version (by git-bisect or similar)?</div></span><br class="Apple-interchange-newline"></blockquote></div><br><div>The reason is very simple: we had 4.6.1 archived and we already knew that it worked.</div><div><br></div><div>We had been using 4.6.1 for several months. We delayed upgrading to newer releases of Gambit simply to avoid destabilizing our toolchain. With the release of 4.6.6 I decided it was time to attempt the upgrade. We don't want to fall too far behind the current release.</div><div><br></div><div>However, we encountered a problem similar to the one you did, and so we chose to roll back to the toolchain we had previously been using, since we knew that it worked.</div><div><br></div><div>It still works. We'll try an upgrade again in the near future, and if we fail again, we'll roll back again.</div><div><br></div><div><br></div></div>_______________________________________________<br>Gambit-list mailing list<br><a href="mailto:Gambit-list@iro.umontreal.ca">Gambit-list@iro.umontreal.ca</a><br><a href="https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list">https://webmail.iro.umontreal.ca/mailman/listinfo/gambit-list</a><br></blockquote></div><br></div></div></div></div></div></blockquote></div><br></div></blockquote></div><br></body></html>