David Orman wrote: > Greetings, > > I'm sure this has been discussed before, but I was unfortunately not > able to dredge up this information. What are the plans with OSOL in > terms of gcc/sun studio? Is the plan to eventually have OSOL built > around gcc, and integrate the additional optimizations sun studio is > capable of into gcc (mainline?) Probably some licensing/intellectual > properties involved here, just curious what the game plan is. > > What prompts this question - I have a heck of a time compiling a lot of > software on OSOL. Not that this is a fault of OSOL (90% of the time it's > braindead autoconf scripts, and things of the like - written for > gnu-specific toolchains - for example the linker.) I'm just curious if > the eventual plan is to switch to the gnu toolchain for the base > distribution, or if there will always be a seperation, with some solaris > development toolchain tools, and some gnu.
I am only speaking for myself. I suggest you email tools-discuss for more informative responses on this topic. There has been talk here and there about switching, but the general consensus seems to be that gcc is an inferior compiler for many reasons: * In many cases, especially SPARC, gcc has inferior performance. * g++ does not have a stable C++ ABI, Sun Studio does * Sun Studio compilers (especially express) are more standards-conformant. * It has been said that some of the alterations Sun would be interested in making the gcc maintainers are not interested in taking. * Sun Studio provides a complete development environment, the gnu toolset does not. gcc can be used to build OpenSolaris, but it is far preferable to use the Sun Studio compilers. > Also, this post piqued my interest: > http://forums.opensolaris.com/thread.jspa?threadID=492&tstart=0 There is already a 64-bit gcc set of libraries: file /usr/sfw/lib/amd64/libgcc_s.so.1 /usr/sfw/lib/amd64/libgcc_s.so.1: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped > One last thing, what's the status of gcc in opensolaris? This is quite > an older version, although I don't necessarily need any of the newer > functionality/fixes, they'd be nice. :) I attempted a build, but it was > (as usual) a lot of fist fighting, and I didn't have to time to deal > with it. The version of gcc Sun distributes is one that is specially maintained by someone for Sun from what I understand. Cheers, -- Shawn Walker _______________________________________________ indiana-discuss mailing list [email protected] http://mail.opensolaris.org/mailman/listinfo/indiana-discuss
