GCC 3.4.4上的C ++ tr1(用于诺基亚N810平板电脑) [英] C++ tr1 on GCC 3.4.4 (for the Nokia N810 tablet computer)

查看:147
本文介绍了GCC 3.4.4上的C ++ tr1(用于诺基亚N810平板电脑)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

获取C ++ tr1 成员(特别是shared_ptr,但我们希望函数和绑定以及所有其他成员)使用 GCC 3.4.4 (对于诺基亚 N810 平板电脑)。

有没有人这样做?试图这样?



对于我们来说,升级到GCC 4.x以交叉编译这个设备是可行的(但是如果您已经完成了那我们很想知道)。



可能有很多方法,我想避免其他人遇到的死角。

我们因为它可以非常相互依赖(你引入一个boost头文件,并且最后还有20个头文件),并且保持代码大小对于我们来说非常重要。



谢谢!

解决方案

对于来自boost的shared_ptr,至少,依赖关系的数量非常少。您可以使用 bcp 将提升的子集提取为所以你不需要整个提升来编译你的应用程序。


What does it take to get C++ tr1 members (shared_ptr especially, but we'd like function and bind and ALL the others) working with GCC 3.4.4 (for the Nokia N810 tablet computer).

Has anyone done this? Attempted this?

It may not be feasible for us to upgrade to GCC 4.x to cross-compile for this device (but if you've done that, we'd love to know).

There may be many approaches, and I'd like to avoid dead ends others have hit.

We're trying to avoid bringing in boost, since it can be pretty interdependent (you bring in one boost header and you end up with 20 more), and keeping code size down is important to us.

Thank you!

解决方案

For shared_ptr from boost, at least, the number of dependencies is pretty small. You can use bcp to extract subsets from boost as well, so you don't need the whole of boost to compile your application.

这篇关于GCC 3.4.4上的C ++ tr1(用于诺基亚N810平板电脑)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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