anything compiled using the GNU compiler would be also under the GNU (since you would be compiling libraries from this compiler straight into your application/binary and calling function names
There is an explicit exception in the GCC licensing to allow compiled programs incorporating GCC runtime code to be distributed under any license the author wishes. You can read more about this topic at http://www.gnu.org/licenses/gcc-exception-faq.html
The compiled program is in fact a derivative work of the incorporated libraries and it is only this explicit exception which allows for the greater work to be redistributed under another license.