[Qt-interest] C Code with QMake
Oliver.Knoll at comit.ch
Oliver.Knoll at comit.ch
Mon Aug 9 09:35:13 CEST 2010
Jeffery MacEachern wrote on Sunday, August 08, 2010 3:39 AM:
> ...
> Is it simply relying on the .c extension to determine that it should
> use gcc for compiling the source, then?
I believe "gcc" is just a "front-end" to both the actual C and C++ compiler which decides upon the file extension what the language is supposed to be:
http://www.delorie.com/djgpp/v2faq/faq8_5.html
http://labor-liber.org/en/gnu-linux/development/extensions
It then decides which actual compiler (C vs C++) to invoke AFAICR. Not sure whether qmake itself also takes the extension into account as to call either gcc or g++.
Cheers, Oliver
--
Oliver Knoll
Dipl. Informatik-Ing. ETH
COMIT AG - ++41 79 520 95 22
More information about the Qt-interest-old
mailing list