Hello,
Can anyone recommend C and C++ compilers that may be used to compile binaries for commercial (non-GNU) distribution? I'm primarily familiar with GCC and G++, but given that these are both GNU products, I'm pretty sure using them to compile commercial software (for which the source is not publicly available) would be prohibited?
Commercial C/C++ Compiler for Linux?
First, it's not only legal, expected, and
encouraged to use GNU compilers for commercial
software, but it is common practice by *many*
software vendors. The software is free, but you
have to pay if you want support (typically to
RedHat).
Second, GNU's not the only game in town. Sun has
made it's suite of SunStudio tools available on
Linux (as well as on Solaris) via the same
model. The software is free to download and use;
you pay Sun if you want support. Start at:
http://developers.sun.com/sunstudio/down...
Finally, if you want more options, check out the
compilers from the "Portland Group" and from
Intel (icc).
Reply:Intel has a well-known C/C++ compiler for Linux.
http://www.intel.com/cd/software/product...
But in reality, you can simply use gcc. As long as you don't link to a GPL library, you should be fine. LGPL libraries are okay, as long as you don't change anything in the libraries.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment