29 July 2007

64 Studio 2.0 released

DistroWatch reports that 64 Studio 2.0, aka "Electric", has been released. It's a Debian based 64-bit GNU+Linux.

DistroWatch entry 64 Studio
64Studio.com link
64Studio Press Release

24 July 2007

GCC 4.2.1 released

The GNU project and the GCC developers are pleased to announce the release of GCC 4.2.1

This release is a major release, containing new features (as well as many other improvements) relative to GCC 4.1.x.

GCC 4.2
GCC 4.2 changes

GCC 4.2.1 will be the last release of GCC covered by version 2 of the
GNU General Public License. All future releases will be released
under GPL version 3. See:

http://gplv3.fsf.org

for more information about GPLv3.

13 July 2007

Enabling Solaris 64-bit C++ warnings

To enable Sun Studio to print out full C++ 64-bit porting warnings you need to use +w & -xport64. I found that -xport64 on its own didn't do anything.
+w        Print warnings about additional questionable constructs
-xport64 Enable extra checking for code ported from 32-bit to 64-bit platforms

The warnings are extremely useful in cleaning up C++ code with regards to 64-bit portability.

Another useful option is :
+w2        Emit warnings for code with additional portability problems

See "CC -flags" for full options and usage.