C ++ tr1 on GCC 3.4.4 (for Nokia N810 tablet)

What is needed to get C ++ tr1 participants (especially shared_ptr, but we want the function and bind and ALL the rest) to work with GCC 3.4.4 (for the Nokia N810 tablet).

Has anyone done this? Trying this?

It may not be for us to upgrade to GCC 4.x for cross-compiling for this device (but if you did, we would really like to know).

There can be many approaches, and I would like to avoid the dead ends that others have hit.

We are trying to avoid the increase, as it can be quite interdependent (you enter one forcing header and you get another 20), and maintaining the size of the code is important for us.

Thank!

+2
c ++ gcc tr1
25 Sep '08 at 4:13
source share
3 answers

For shared_ptr from boost, at least the number of dependencies is pretty small. You can use bcp to extract subsets from boost, so you do not need to fully customize the compilation of your application.

+3
Sep 25 '08 at 6:10
source share

Can you use Boost ( Smart Pointers , Bind , Function ) directly? From GCC changelogs, the actual material std::tr1 is only available from 4.0 and up .: - (

I know that there are differences between Boost and std::tr1 , but hopefully they can be satisfactorily satisfied. Let me know how this works for you. :-)

+2
Sep 25 '08 at 4:19
source share

In another topic, I am installing the g++-3.4 package on my Ubuntu laptop now, and I'm going to see if I can compile libstdc++ from the Subversion trunk on it. If so, I will let you know! (If not, I will also let you know .: -P)

0
Sep 25 '08 at 4:30
source share



All Articles