Eclipse的朱诺 - GCC编译器的pthread [英] Eclipse Juno - GCC compiler pthread

查看:331
本文介绍了Eclipse的朱诺 - GCC编译器的pthread的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

所以,我在我的大学实用会话,而不是目前我一个人能弄清楚如何在Eclipse中添加pthread库。这是我第一次与Eclipse虽然。

So I'm currently in a practical session at my university and not a single person can figure out how to add the pthread library in Eclipse. This is my first time with Eclipse though.

我使用的Fedora,而当我去属性 - > C / C ++建设 - >设置,我得到的是配置和别的一个下拉列表 - 无标签的工具来添加。

I'm using Fedora, and when I go to Properties->C/C++ Build->Settings, all I get is a drop-down list for configurations and nothing else - no tabs for tools to add it.

谁能帮我?谢谢!

推荐答案

请确保您有项目 - >设置 - > C / C ++编译选项中选择了自动生成Makefile文件!否则的Eclipse假设你提供自己的Makefile,并且不显示工具设置选项卡。

Make sure you have in Project -> Settings -> C/C++ Build the option "Generate Makefile automatically" selected! Otherwise Eclipse assumes you are providing your own makefile and doesn't show the "Tool setting" tab.

然后,你需要去项目 - >属性 - > C / C ++编译做的 这个

Then you need to go to Project -> Properties -> C/C++ Build do this.

这篇关于Eclipse的朱诺 - GCC编译器的pthread的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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