i've checked in the Apache Standard C++ Library v4.2.1 in dude, with all the 
configure + build juju, but i have *not* enabled this new version in its *.pspc 
file, yet.

Things to know about configuring/installing this new version (if anyone is 
brave 
enough to try):

1. The configure.sh script for 4.2.1 will ***REMOVE*** the existing stdcxx 
4.1.3 
header files and directories, before proceeding with the configuration.

2. The header files installation location for stdcxx 4.2.1 is now 
${prefix}/include/stdcxx/ansi/ and ${prefix}/include/stdcxx . This way, when we 
upgrade to a newer version (in the future) we won't have to remove the old 
header files, we'll just do "mv stdcxx stdcxx-4.2.1".

3. Because of the header file location change, we are going to have to change 
flags.inc and flags64.inc, to say:

%define _INCLUDES_COMMON -I%{_foss_include}/stdcxx/ansi \
-I%{_foss_include}/stdcxx -I%{_foss_include}

before everything else.

4. You no longer have to do the magic juju with figuring out the installation 
location of Sun Studio 12 for the Standard C Library forwarding header files 
(<cstdio>, <cstdlib>, etc). For 4.2.1, these files are being patched and 
created 
correctly at patch time.

5. Test results for stdcxx 4.2.1 are available online:

http://s247136804.onlinehome.us/stdcxx/4.2.1/

--Stefan

-- 
Stefan Teleman
Sun Microsystems, Inc.
Stefan.Teleman at Sun.COM


Reply via email to