incubator-stdcxx-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lance Diduck" <lancedid...@nyc.rr.com>
Subject RE: 15d and 11s builds on Sun and Ibm, some errors others not
Date Tue, 13 Sep 2005 00:31:24 GMT
<<Given that they are up to 5.7 with 5.8 coming out I
wouldn't waste time on something so old.>>
Believe it or not 5.2  is the default where I work. I'll put Studio 8 in the
path and give it a shot. But believe it or not I got type traits ported to
CC5.2. Wasn't fun though.


<<It's CONFIG, in all caps. But with no CONFIG defined it should read
gcc.config by default, so this shouldn't be a problem.>>
Even with the default there was a problem. It was gnu I checked that.I'll
try it again in the morning.


-----Original Message-----
From: Martin Sebor [mailto:sebor@roguewave.com] 
Sent: Monday, September 12, 2005 7:32 PM
To: stdcxx-dev@incubator.apache.org
Subject: Re: 15d and 11s builds on Sun and Ibm, some errors others not

LANCE DIDUCK, BLOOMBERG/ 731 LEXIN wrote:
> 
> On 11s and 15d build for cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
(CC-5.2) 
> gets a number of warning plus errors like 

The library was never ported to 5.2. The compiler was just too flakey
(we tried but gave up after about 2 months of struggling with various
bizarre bugs). Given that they are up to 5.7 with 5.8 coming out I
wouldn't waste time on something so old.

[...]
> 
> On ibm, using CONFIG=gcc.config (or default) get error  
> ibm2:/home/ldiduck/couttest/stdcxx-2005-07-19 $ gmake 
> BUILDDIR=/home/ldiduck/couttest/stdcxx-2005-07-19/ibmgcc15d BUILDTYPE=15d 
> config=gcc.config

It's CONFIG, in all caps. But with no CONFIG defined it should read
gcc.config by default, so this shouldn't be a problem.

> etc/config/:1: *** missing separator.  Stop.

Not sure what this means (etc/config/:1:? Are you using GNU make?)
It works fine for me:

$ which gcc
/package/1/compilers/gcc/gcc-3.2.1_powerpc-ibm-aix5.1.0.0/bin/gcc
stdlib$ nice gmake BUILDDIR=/build/sebor/gcc-3.2.1-11s
creating BUILDDIR=/build/sebor/gcc-3.2.1-11s
generating /build/sebor/gcc-3.2.1-11s/makefile.in...
gmake[1]: Entering directory `/build/sebor/gcc-3.2.1-11s'
gmake[2]: Entering directory `/build/sebor/gcc-3.2.1-11s/include'
gmake config
gmake[3]: Entering directory `/build/sebor/gcc-3.2.1-11s/include'
...
configuring for gcc-3.2.1 on AIX-5.2

checking if compiler is sane                       ok
checking if linker is sane                         ok
checking if run environment is sane                ok
checking system architecture                       ILP32 big endian
...

> 
> ibm vacpp 6 builds clean, and so does Sun gcc 3.3.2 CC for 11s and 15d
builds
> Also, how do I change the compiler i.e. we have Studio 8 compilers, they
just 
> arent the default Tried export CC but that didn't work

It will pick up whatever CC comes first in your PATH. I.e., simply
make sure the version of the compiler you want to use is first. If
you have SunPro 5.8 in, say, /opt/SUNWspro/C++5.8/bin, set PATH to

   $ PATH=/opt/SUNWspro/C++5.8/bin:$PATH
   $ export PATH

Martin



Mime
View raw message