¡@

Home 

c++ Programming Glossary: a.c

Get the compiler options from a compiled executable?

http://stackoverflow.com/questions/12112338/get-the-compiler-options-from-a-compiled-executable

section with that information. gcc O2 frecord gcc switches a.c readelf p .GCC.command.line a.out String dump of section '.GCC.command.line'.. a.out String dump of section '.GCC.command.line' 0 a.c 4 mtune generic 13 march x86 64 21 O2 25 frecord gcc switches..

May compiler optimizations be inhibited by multi-threading?

http://stackoverflow.com/questions/16807766/may-compiler-optimizations-be-inhibited-by-multi-threading

expand 98 param ggc min heapsize 128106 options passed v a.c D_FORTIFY_SOURCE 2 mtune generic march i486 fstack protector.. param ggc min heapsize 128106 options passed v D_REENTRANT a.c D_FORTIFY_SOURCE 2 mtune generic march i486 fopenmp fstack protector..

Inclusion of unused symbols in object files by compiler in C vs C++

http://stackoverflow.com/questions/1987413/inclusion-of-unused-symbols-in-object-files-by-compiler-in-c-vs-c

between definition and tentative definition. cat a.c int x 0 cat b.c #include stdio.h int x 0 int main void printf.. main void printf d n x return 0 gcc ansi pedantic W Wall c a.c gcc ansi pedantic W Wall c b.c gcc o def a.o b.o b.o .bss 0x0.. here collect2 ld returned 1 exit status Now let's change a.c cat a.c int x Note missing 0 so tentative definition Now compile..