热门标签 | HotTags
当前位置:  开发笔记 > 编程语言 > 正文

现在每个Linux发行版都带有gcc/g++4.*吗?-DoeseveryLinuxdistroshipwithgcc/g++4.*thesedays?

ImconsideringdumpingboostasadependencyatmtheonlythingthatIreallyneedisshared_ptr

I'm considering dumping boost as a dependency... atm the only thing that I really need is shared_ptr<>, and I can get that from std::tr1, available in gcc suite 4.*

我正在考虑将boost作为依赖项转储... atm我唯一真正需要的是shared_ptr <>,我可以从std :: tr1获得它,可以在gcc suite 4中找到。*

5 个解决方案

#1


0  

AFAIK, all of the distros package V 4.+ nowadays.

AFAIK,现在所有的发行包V 4. +。

#2


2  

It's available on Fedora, installable via "yum" if you didn't pick "Development System" as your default install set. "yum search gcc" to get the package to install.

它可以在Fedora上使用,如果您没有选择“开发系统”作为默认安装集,可以通过“yum”安装。 “yum search gcc”获取要安装的软件包。

#3


2  

These days, I believe most Linux distros do not ship with the development system by default. But I'm pretty sure g++ v4 is the 'standard' development C++ compiler if you install the C++ development environment at all. g++ v3 is usually just available as a special install. For openSUSE 11, gcc 4.3 is the current package installed when you pick the Base Development pattern.

目前,我相信大多数Linux发行版默认情况下不附带开发系统。但是我很确定g ++ v4是“标准”开发C ++编译器,如果你安装C ++开发环境的话。 g ++ v3通常只作为特殊安装提供。对于openSUSE 11,gcc 4.3是您选择Base Development模式时安装的当前包。

#4


1  

That depends on what you mean by ship? If you download and burn a CD or DVD, it will almost certainly be available, but not necessarily installed by default. Some distros (e.g. Fedora) allow choices during the install which will install development tools, but a default install generally does not include them. They are easily installed using whatever package management system the distro supports. Ubuntu includes a package called build-essential which installs gcc, g++, make, etc. so apt-get install build-essential is the first step for doing development on Ubuntu.

这取决于你的意思是什么?如果您下载并刻录CD或DVD,它几乎肯定可用,但默认情况下不一定安装。一些发行版(例如Fedora)允许在安装期间选择安装开发工具,但默认安装通常不包括它们。它们可以使用发行版支持的任何包管理系统轻松安装。 Ubuntu包含一个名为build-essential的软件包,它安装了gcc,g ++,make等。所以apt-get install build-essential是在Ubuntu上进行开发的第一步。

#5


0  

No, on my debian systems I have to install it. But any half-decent system admin should be able to figure out how to install it.

不,在我的debian系统上,我必须安装它。但是任何一半体面的系统管理员都应该能够弄清楚如何安装它。

Edit: to be specific it is not always installed by default, but it should be available for most every distro.

编辑:具体来说,它并不总是默认安装,但它应该适用于大多数每个发行版。


推荐阅读
author-avatar
手机用户2602913827
这个家伙很懒,什么也没留下!
PHP1.CN | 中国最专业的PHP中文社区 | DevBox开发工具箱 | json解析格式化 |PHP资讯 | PHP教程 | 数据库技术 | 服务器技术 | 前端开发技术 | PHP框架 | 开发工具 | 在线工具
Copyright © 1998 - 2020 PHP1.CN. All Rights Reserved | 京公网安备 11010802041100号 | 京ICP备19059560号-4 | PHP1.CN 第一PHP社区 版权所有