I am doing some numerical optimization on a scientific application. One thing I noticed is that GCC will optimize the call pow(a,2) by compiling it into a*a, but the call pow(a,6) is not optimized and
Wh开发者_如何学编程ile compiling a C program, gcc links the standard C library by default. Is it possible to link only the selected functions, say printf instead of the complete C standard library, in
The problem is this: I wrote a simple program that uses FFMPEG. compile as follows: gcc -lavcodec -lavformat -lavutil -c test.c
I am trying to extract开发者_高级运维 the Control Flow Graph from the assembly code that gcc produces. I have manage to dump the CFG of several IRs (rtl phases) into .vcg files using the arguments -fd
can anyoone help me. this is the code for make file i\'m just trying to save different objective files at different directories is that possible?
Is there any c compiler on windows able to use 128 bit integers natively? On example, you can use gcc on linu开发者_Python百科x, with __uint128_t... any other chance on windows?
For some reason I can\'t make valgrind work with my Cocoa apllication on OS X 10.6, compiled with Apple GCC 4.2.1... After googling this error I found out that valgrind doesn\'t work with 64-bit execu
could anyone tell me how to use the mutex in the posix threads. we are decalaring a mutex as pthread_mutex_t mutex1 = PTHREAD_MUTEX_INITIALIZER..
I\'m implementing a开发者_开发百科 performance analysis tool. One thing that I\'m doing is to estimate the cost of a function call. In order to do that, I need to know if a given function is virtual i
I am curious about the liberties that a compiler has when optimizing. Let\'s limit this question to GCC and C/C++ (any version, any flavour of standard):