SWAT Blog

Posts Tagged ‘64 bit’

Install MySQL gem on 64 bit Snow Leopard

Wednesday, March 3rd, 2010

Install 64 bit MySQL then run following commands in terminal:

export ARCHFLAGS="-arch i386 -arch x86_64"</pre>
gem install --no-rdoc --no-ri mysql -- --with-mysql-dir=/usr/local --with-mysql-config=/usr/local/mysql/bin/mysql_config

CREDIT:http://weblog.rubyonrails.org/2009/8/30/upgrading-to-snow-leopard

Snow Leopard – Eclipse CDT – Launch Failed. Binary Not Found

Thursday, November 5th, 2009

Go to project Properties, C/C++ Build, Settings then click on Miscellaneous under Mac OS X C++ Linker and put “-arch i386″ in the Linker Flag Box and then Miscellaneous under gcc c++ compiler and put the same: “-arch i386″ in the Other Flags box.

I can now Compile and run my programs in Eclipse again :).

  • © 2004-2015 Special Work & Technology Limited