Re: config.guess and config.sub don't work properly when specifying CC

2010-01-14 Thread Nicolas Bock
Thanks

On Thu, Jan 14, 2010 at 16:24, Ralf Wildenhues wrote:

> Hello Nicolas,
>
> * Nicolas Bock wrote on Thu, Jan 14, 2010 at 11:42:47PM CET:
> > > * Nicolas Bock wrote on Wed, Jan 13, 2010 at 08:41:35PM CET:
> > > > on Ubuntu 8.04 I find that if I specify CC when I run configure, the
> > > > configure script dies when it runs config.sub. I get this output
> > > >
> > > > $ CC=/usr/local/gcc-4.3.0/bin/gcc ./config.guess
> > > > x86_64-unknown-linux-
> [...]
> > I emailed the script maintainer.
>
> Thanks.
>
> > The current HEAD of his scripts fixes the
> > problem I was having. Is it possible to include the current
> > config.guess and config.sub in the next release of automake?
>
> Yes.  The external scripts are synced before each release.  I'll sync
> them to git when I get back to the next round of Automake work.
>
> Cheers,
> Ralf
>


Re: config.guess and config.sub don't work properly when specifying CC

2010-01-14 Thread Ralf Wildenhues
Hello Nicolas,

* Nicolas Bock wrote on Thu, Jan 14, 2010 at 11:42:47PM CET:
> > * Nicolas Bock wrote on Wed, Jan 13, 2010 at 08:41:35PM CET:
> > > on Ubuntu 8.04 I find that if I specify CC when I run configure, the
> > > configure script dies when it runs config.sub. I get this output
> > >
> > > $ CC=/usr/local/gcc-4.3.0/bin/gcc ./config.guess
> > > x86_64-unknown-linux-
[...]
> I emailed the script maintainer.

Thanks.

> The current HEAD of his scripts fixes the
> problem I was having. Is it possible to include the current
> config.guess and config.sub in the next release of automake?

Yes.  The external scripts are synced before each release.  I'll sync
them to git when I get back to the next round of Automake work.

Cheers,
Ralf




Re: config.guess and config.sub don't work properly when specifying CC

2010-01-14 Thread Nicolas Bock
Hi Ralf,

I emailed the script maintainer. The current HEAD of his scripts fixes the
problem I was having. Is it possible to include the current config.guess and
config.sub in the next release of automake?

nick


On Wed, Jan 13, 2010 at 13:06, Ralf Wildenhues wrote:

> Hello Nicolas,
>
> * Nicolas Bock wrote on Wed, Jan 13, 2010 at 08:41:35PM CET:
> > on Ubuntu 8.04 I find that if I specify CC when I run configure, the
> > configure script dies when it runs config.sub. I get this output
> >
> > $ CC=/usr/local/gcc-4.3.0/bin/gcc ./config.guess
> > x86_64-unknown-linux-
> >
> > but when I run with the system compiler (gcc 4.2.4):
> >
> > $ ./config.guess
> > x86_64-unknown-linux-gnu
> >
> > config.sub does not like "x86_64-unknown-linux-" and dies.
>
> config.{guess,sub} are maintained by the email address listed in the
> comments at the beginning of the scripts.  Please write there, don't
> forget to mention the $timestamp value of the script as well as the
> output of
>  /usr/local/gcc-4.3.0/bin/gcc -v
>
> Thanks,
> Ralf
>


Re: config.guess and config.sub don't work properly when specifying CC

2010-01-13 Thread Nicolas Bock
Thanks, I forwarded my original question.

nick


On Wed, Jan 13, 2010 at 13:06, Ralf Wildenhues wrote:

> Hello Nicolas,
>
> * Nicolas Bock wrote on Wed, Jan 13, 2010 at 08:41:35PM CET:
> > on Ubuntu 8.04 I find that if I specify CC when I run configure, the
> > configure script dies when it runs config.sub. I get this output
> >
> > $ CC=/usr/local/gcc-4.3.0/bin/gcc ./config.guess
> > x86_64-unknown-linux-
> >
> > but when I run with the system compiler (gcc 4.2.4):
> >
> > $ ./config.guess
> > x86_64-unknown-linux-gnu
> >
> > config.sub does not like "x86_64-unknown-linux-" and dies.
>
> config.{guess,sub} are maintained by the email address listed in the
> comments at the beginning of the scripts.  Please write there, don't
> forget to mention the $timestamp value of the script as well as the
> output of
>  /usr/local/gcc-4.3.0/bin/gcc -v
>
> Thanks,
> Ralf
>


Re: config.guess and config.sub don't work properly when specifying CC

2010-01-13 Thread Ralf Wildenhues
Hello Nicolas,

* Nicolas Bock wrote on Wed, Jan 13, 2010 at 08:41:35PM CET:
> on Ubuntu 8.04 I find that if I specify CC when I run configure, the
> configure script dies when it runs config.sub. I get this output
> 
> $ CC=/usr/local/gcc-4.3.0/bin/gcc ./config.guess
> x86_64-unknown-linux-
> 
> but when I run with the system compiler (gcc 4.2.4):
> 
> $ ./config.guess
> x86_64-unknown-linux-gnu
> 
> config.sub does not like "x86_64-unknown-linux-" and dies.

config.{guess,sub} are maintained by the email address listed in the
comments at the beginning of the scripts.  Please write there, don't
forget to mention the $timestamp value of the script as well as the
output of
  /usr/local/gcc-4.3.0/bin/gcc -v

Thanks,
Ralf




config.guess and config.sub don't work properly when specifying CC

2010-01-13 Thread Nicolas Bock
Hello list,

on Ubuntu 8.04 I find that if I specify CC when I run configure, the
configure script dies when it runs config.sub. I get this output

$ CC=/usr/local/gcc-4.3.0/bin/gcc ./config.guess
x86_64-unknown-linux-

but when I run with the system compiler (gcc 4.2.4):

$ ./config.guess
x86_64-unknown-linux-gnu

config.sub does not like "x86_64-unknown-linux-" and dies.

I don't find this behavior on a gentoo installation or Ubuntu 9.10. The dist
tar file is the same. Since the config.guess scripts I am using on the
ubuntu and the gentoo systems are the same, I guess the problem lies outside
config.guess. I have tried to understand what config.guess does, but haven't
gotten very far, so I can't tell what's going on.

nick