0
votes

I need to compile a C++ code that uses std=gnu++0x option to the g++ compiler in the Makefile.am , As this option is compatible only with gcc 4.3 and above, the build crashes on my machine where i have gcc 4.2.

What are my alternatives ? I tried removing that option from the Makefile.am but that reports some other error. Do i need to install gcc 4.3 or above? How can I do it in ubuntu hardy through apt-get ?

Thanks.

1

1 Answers

1
votes

If possible, upgrade your Ubuntu. A new LTS (10.04) is just about ready for release.

I you are really desperate, try this ppa (not for the faint of heart).