gcc
linux linker/loader search order
This question is related to the way libraries are looked up during compilation and dynamic linking. Consider this small project:[详细]
2023-04-08 13:50 分类:问答Borland vs. MingW/GCC compilation speeds..
I\'m a long time Borland users ( since Turbo C ) ( until BC5.2 ).开发者_如何学C I\'ve been using MingW/GCC with CodeBlocks for about a year now, mainly[详细]
2023-04-08 12:59 分类:问答Gnu C++ macro __cplusplus standard conform?
The Gnu C++ compiler seems to define __cplusplus to be 1 #include <iostream> int main() { std::cout << __cplusplus << std::endl;[详细]
2023-04-08 11:35 分类:问答Setting up a eclipse project for learning gcc
I cloned git repository for gcc from github.com. Now I want to nav开发者_运维百科igate the code from eclipse. I have indigo eclipse in windows.[详细]
2023-04-08 10:38 分类:问答Pre-processing C code with GCC
I have some C source files that need to be pre-processed so that I can use another application to add Code Coverage instrumentation code in my file.[详细]
2023-04-08 10:38 分类:问答Where is the bug in my polynomial calculation code?
my aim is to compare the two different method to calculate a polynomial.. but if you run it on a mac (my computer is MacBook Air)[详细]
2023-04-08 10:33 分类:问答Getting an optimization report from GCC
I would like to know if there is an option I can use with GCC to get a detailed report on the optimization actually chosen and performed by the compiler. This is possible with the Intel C compiler usi[详细]
2023-04-08 02:38 分类:问答Get function name as symbol (not as string) - C preprocessor
Is there a way in C to ge开发者_如何学JAVAt the function name on which I can use token-pasting (I know __FUNCTION__ and __func__, but they don\'t expand to name at pre-processing,[详细]
2023-04-08 02:34 分类:问答How to get the address value of a function in assembly
In gc开发者_JAVA百科c assembly code listed below, I want to store the address of function foo to var, how do i do it? Thanks.[详细]
2023-04-07 21:10 分类:问答what point do c libraries get linked
Let\'s say I redefine malloc e.g. in a memory debugging program electric fence. electric fence says that one must link the library with the gcc -g -Wall -Wstrict-prototypes -lefence test.c. So my unde[详细]
2023-04-07 18:38 分类:问答