简体   繁体   English

添加C ++编译器,在ubuntu中将链接器标志链接到nsight eclipse 6.5

[英]add c++ compiler, linker flags to nsight eclipse 6.5 in ubuntu

I started using nsight eclipse 6.5 with cuda 6.5 under ubuntu 14.04 for gpu development purposes. 我开始在Ubuntu 14.04下使用带有cuda 6.5的nsight eclipse 6.5进行gpu开发。 But now I'm confused with the toolchains. 但是现在我对工具链感到困惑。 How to add g++ support to the project and pass linker flags that are used by certain c++ libraries. 如何为项目添加g ++支持并传递某些c ++库使用的链接器标志。

It seems that the toolchain consists only nvcc (I can't see any g++/gcc there?) How to put them in my project? 似乎该工具链仅包含nvcc(我在那里看不到任何g ++ / gcc?)如何将它们放入我的项目中?

Thanks 谢谢

OK I've solved it. 好,我已经解决了。 I needed to put these flags to the nvcc compiler -> misc settings. 我需要将这些标志放入nvcc编译器-> misc设置。 Then it works. 然后就可以了。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM