On Windows, perhaps due to competition from GCC, perhaps not, Microsoft offers various Visual Studio Express editions free of charge, and the license allows commercial use, so you can sell programs made with Express editions. You're right in that the compiler IS proprietary, but the question is not of license, but of wallet cost to user - $0.