Compiler



D

DevynCJohnson

Guest
gcc (GNU C Compiler or GNU Compiler Collection) is the best C compiler for Linux.
 
R

ryanvade

Guest
GNU C compiler is the best for Linux. But if you feel the need for something different, the Intel C compiler is free for Linux users. You just have to setup an account, download, and install it.
 
K

KenJackson

Guest
GCC is the de facto standard compiler for Linux and for much of the world of free software. And the fact that it can be compiled on essentially all practical platforms and as a cross compiler, makes it even more valuable and desirable. It's the compiler I always use when I have a choice.

Intel's icc has beaten gcc in independent benchmark results, at least in some tests.

Clang seems to be an up and coming phenomenon.

pcc has roots dating way back to the early days of C and is still available, if you're nostalgic.
 
H

hdg89

Guest
hi
i need some help.
I am using following command for compilation
gcc helo.c -o helo -lopencl -I$M2S_ROOT/runtime/include -L/usr/local/lib/ -static

but getting errors:
helo.c:(.text+0x3e6): undefined reference to `clReleaseCommandQueue'
helo.c:(.text+0x3f2): undefined reference to `clReleaseContext'
collect2: ld returned 1 exit status
 
R

ryanvade

Guest
hi
i need some help.
I am using following command for compilation
gcc helo.c -o helo -lopencl -I$M2S_ROOT/runtime/include -L/usr/local/lib/ -static

but getting errors:
helo.c:(.text+0x3e6): undefined reference to `clReleaseCommandQueue'
helo.c:(.text+0x3f2): undefined reference to `clReleaseContext'
collect2: ld returned 1 exit status
No hijacking threads. Please start your own thread.
Basic forum courtesy: Rules to follow for all forum users
# 2
 


Members online


Top