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

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

问题描述

ideone.com codepad.org Little-Endian architechtures。

Both ideone.com and codepad.org have Little-Endian architechtures.

我想在一些具有 Big-Endian architechture的机器上测试我的代码(例如 - 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?

推荐答案

Googling的big endian在线模拟器让我去了 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.

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

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