Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Сhange compiler(Need use nvc compiler)
Сhange compiler [message #1844937] Thu, 30 September 2021 03:33 Go to next message
Eclipse UserFriend
Hello.
I want to use nvc and nvc++ compilers in eclipse. This compliers are included in Nvidia HPC SDK (PGI tools before). So, how can i change default compiler gcc to nvc and nvc++. I dont need nvcc (CUDA compiler) because its not working with openacc. I need only nvc and nvc++. My OS : centos8
Re: Сhange compiler [message #1844949 is a reply to message #1844937] Thu, 30 September 2021 09:24 Go to previous message
Eclipse UserFriend
If you are using your own makefile (or another build system), you can use whatever you want.
You probably wil have to tell the Indexer what your built-in include paths and macros are.

If you want Eclipse to generate a makefile, then you need an Eclipse toolchain
for your compiler to be able to set the options in the recipes. If the tools have the
same options as GCC then you can pretend they are GCC and just modify the
names of the tools called. Otherwise, there might be a third-party add-on
available outside of Eclipse -- most likely from Nvidia.

Alternately, you could create a toolchain yourself but doing so, while not particularly
difficult, is not trivial. You would have to get the source for one already in Eclipse then
modify it.


Previous Topic:Removing items from right-click context menu
Next Topic:Mozilla rr debugger
Goto Forum:
  


Current Time: Wed Jul 23 13:38:57 EDT 2025

Powered by FUDForum. Page generated in 0.04404 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top