Re: glibc-2.3.2-decc-compaq.patch

Marc Giger <[email protected]>
Newsgroups gmane.linux.gentoo.alpha
Message-ID <[email protected]>
On Fri, 6 Feb 2004 19:40:51 -0500
Aron Griffis <[email protected]> wrote:

> Marc Giger wrote:	[Fri Feb 06 2004, 02:14:11PM EST]
> > Yeah, it looks like:-) but I was wrong... I removed this check and
> > ran into troubles. The Macro __GLIBC_HAVE_LONG_LONG must not be
> > defined with ccc. So this check is totally ok! It has nothing to do
> > with"long long". Sorry... I was searching for the reason why I
> > couldn't compile python with ccc.
> > After some time I found it! The attached patch solves the problem.
> > Now I'm running python 2.3 compiled with ccc:-)
> 
> Oh good!
> 
> > > > printf '%s %s %s\n' \
> > > >                 "-L${gcc_libs_path}" \
> > > >                 " -SysIncDir
> > > > /usr/lib/compaq/ccc-${ccc_release}/alpha-linux/include" \       
> > > >    
> > > >    
> > > > " -SysIncDir /usr/include/linux" \                >
> > > > usr/lib/compaq/ccc-${ccc_release}/alpha-linux/bin/comp.config
> > > 
> > > So do you know how this should be changed exactly?
> > 
> > Hehe, no! 
> > This seems not to be the right place neither. I think this is
> > useless anyway. The right place to fix it is in
> > "create-comp-config.sh". I tried to change it but it seems that a
> > shell-script and regex guru is needed;-) The same should be changed
> > by cxx (preventing).
> > 
> > With these two fixes, I'm able to compile a lot more packages with
> > the compaq compiler.
> 
> I'll take a look at create-comp-config.sh

It seems there has nothing changed. ccc-6.5.9.001-r1.ebuild gives me the
same result. Do I something wrong?

To illustrate the resulting comp.config should look as follows:

-SD/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include -SD/usr/include
-SD/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include  | -SysIncDir
/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/include -SysIncDir
/usr/include  -SysIncDir
/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/include 
-L/usr/lib/compaq/ccc-6.5.9.001-6/alpha-linux/lib  
-L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2
-L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../../../alpha-unkn
own-linux-gnu/lib
-L/usr/lib/gcc-lib/alpha-unknown-linux-gnu/3.3.2/../../..

The paths must be in the following order (for -SD and -SysIncDir):

1. ccc paths
2. /usr/include
3. gcc paths

> 
> > Oh, while we are at it. What do you think if we move the libots libs
> > to/lib instead of /usr/lib ?
> 
> Sounds good to me.  Done.  Try out 2.2.7-r1.  If it works for you then
> I'll mark it stable.

This one is fine now. Thank you!

greets

Marc

--
[email protected] mailing list
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.