如何在具有大端架构的机器上测试您的代码? [英] How to test your code on a machine with big-endian architecture?

查看:24
本文介绍了如何在具有大端架构的机器上测试您的代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

ideone.comcodepad.orgLittle-Endian 架构.

我想在具有 Big-Endian 架构的机器上测试我的代码(例如 - Solaris - 我没有).有没有你知道的简单方法?

I want to test my code on some machine with Big-Endian architechture (for example - Solaris - which I don't have). Is there some easy way that you know about?

推荐答案

谷歌搜索big endian online emulator"引导我到 PearPC.我假设如果您有耐心,您可以安装 Mandrake Linux,获取 gcc,然后参加派对.

Googling "big endian online emulator" lead me to PearPC. I assume that if you have the patience you can install Mandrake Linux, get gcc, and go party.

这篇关于如何在具有大端架构的机器上测试您的代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆