ウェブgcc -c t.c -wrapper gdb,--args This invokes all subprograms of gcc under gdb --args, thus the invocation of cc1 is gdb --args cc1 .... -ffile-prefix-map= old = new When compiling files residing in directory old , record any references to them in the result of the compilation as if the files resided in directory new instead.