Milan Jurik wrote:
> Hi,
> 
>>> Based on this link (sorry folks outside the SWAN):
>>>
>>> http://ostest.central.sun.com/wiki/index.php/Package_Delivery_Project#3._Develop_Software
>>>
>>> It seems that the use of GCC is allowed. If this is not the case, then 
>>> perhaps we need to update the above.
>> gcc is c compiler, g++ is C++ compiler.
>>
> 
> To be exact, GCC is the GNU Compiler Collection (which includes C
> compiler (aka gcc), C++ Compiler, Objective-C compiler, Fortran
> compiler, Ada compiler, Java compiler and few relevant libraries).
> 
> So, not all components of GCC are allowed, but gcc is allowed (not
> preferred, it's suboptimal). g++ isn't allowed, because of evolving mess
> (and leading to library mess).

>From the ARC/general Solaris perspective, g++ is even allowed, but
only for things that don't expose C++ API/ABIs to other software - i.e.
you can use g++ to build your application and any libraries private
to it that nothing else uses, or for a shared library that uses C++
internally, but only offers extern "C" functions for callers to call
it with, but you can't use it for a shared library with public C++
interfaces, or for applications with public loadable module interfaces
that use C++ ABIs to which others would be writing modules.

SFW may have stricter rules, I don't know about that.

-- 
        -Alan Coopersmith-           alan.coopersmith at sun.com
         Sun Microsystems, Inc. - X Window System Engineering


Reply via email to