I\'m updating some old code that has several POD structs that were getting zero\'d out by memset (don\'t blame me...I didn\'t write this part). Part of the update changed some of them to classes that
What effect these tw开发者_开发百科o instructions cause in the assembly code generated by gcc for x86 machines:
I have a problem. I wrote example code and I want to build it without the error: main.cpp(.text+0x5): undefined reference to `test()\'
I\'d be curious to understand if there\'s any substantial difference in specifying libraries (both shared and static) to gcc/g++ in the two following ways (CC can be g++ or gcc)
Is there a reference to the source file in the binary? I tried running strings on the binar开发者_开发百科y and couldn\'t find any reference to the source file listed...objdump uses the DWARF debuggin
$ gcc -S buffer-overflow.c && cat buffer-overflow.s _foo: pushl%ebp;2 movl%esp, %ebp;3 subl$16, %esp;4
#include <stdlib.h> static inline uint xchg(volatile unsigned int *addr, unsigned int newval) { uint result;
Recently I tried compiling program something like this with GCC: int f(int i){ if(i<0){ return 0;} return f(i-1);
I\'m having a problem with the MinGW implementation of GCJ. I read that you have to install libiconv before you can use it. However, the documentation wasn\'t very specific, and it did not say where t
I\'m working on a cross-platform app for Windows and Mac OS X, and I have a problem with two standard C library functions: