I guess the missing files are built in C::B's executable dir.
Referring to the gcc manual they will be stored in the current directory.
If you have no project C::B uses the directory it is started from, if you use the shortcut-icon the working-directory defaults to the executables directory.