Any routine way to switch from x86_64 to i386?

Xim chenguokai17 at mails.ucas.ac.cn
Sat Apr 11 12:09:49 UTC 2020



> 在 2020年4月11日,下午8:02,Ryan Schmidt <ryandesign at macports.org> 写道:
> 
> On Apr 11, 2020, at 06:45, Xim wrote:
> 
>> I am doing some port test on a Snow Leopard system. At first and by default, I installed some dependencies with x86_64 arch. I realized the problem, changed the build arch option in macports.conf. But the port system seems a little unstable at dealing with this kind of issue. New dependencies come out again and again during the installing process.  I am currently trying uninstalling and reinstall all (i386) ports. I wonder if there is a routine way of dealing with an arch switch?
> 
> If you change build_arch in macports.conf you should probably uninstall and reinstall all ports that are not identified by "port -v installed" as noarch. 
> 
> A possible alternative is to install ports with the +universal variant. Then you'll get both x86_64 and i386 at the same time. You can use the "arch" program if you need to try running the 32-bit part of a universal binary on a 64-bit computer.


Thanks for your reply! The reinstall solution works for me. In addition, for others’ information, some cleaning may need to be done for previously installed ports.

Regards,
Xim
chenguokai17 at mails.ucas.ac.cn




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-dev/attachments/20200411/0437aae8/attachment.html>


More information about the macports-dev mailing list