bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Host settings for GNU in configure*?


From: Svante Signell
Subject: Re: Host settings for GNU in configure*?
Date: Thu, 25 Aug 2011 15:54:32 +0200

On Thu, 2011-08-25 at 15:07 +0200, Samuel Thibault wrote:
> Svante Signell, le Thu 25 Aug 2011 14:50:33 +0200, a écrit :
> > On Thu, 2011-08-25 at 11:01 +0200, Samuel Thibault wrote:
> > > Svante Signell, le Thu 25 Aug 2011 10:58:43 +0200, a écrit :
> > > > On Thu, 2011-08-25 at 10:48 +0200, Samuel Thibault wrote:
> > > > > Svante Signell, le Thu 25 Aug 2011 10:20:44 +0200, a écrit :
> > > > 
> > > > > > 1) Where to find the specification resulting in i486-pc-gnu?
> > > > > 
> > > > > I don't understand the question. Why would you want that ?
> > > > 
> > > > Some packages are configured with i486-pc-gnu,
> > > 
> > > For instance?
> > 
> > See Guillems reply.
> > I see other examples too where i486-gnu is not forwarded by
> > debian/rules: mathgl, nbd. They use dh_auto_configure and in config.log
> > --build=i486-gnu is already set as an option to configure. I have not
> > yet found out where it is set, though. 
> 
> grep -- --build /usr/bin/dh_*
> 
> has at least
> 
> /usr/bin/dh_make:                      'CROSS= --build $(DEB_BUILD_GNU_TYPE) 
> --host $(DEB_HOST_GNU_TYPE)'."\n".

Isn't this only for cross compilation?

I don't have dh-make installed:
/usr/bin/dh_builddeb: doit("dpkg-deb", @{$dh{U_PARAMS}}, "--build",
$tmp, $dh{DESTDIR}.$filename);

> but what is your actual problem with it?

Am I not clear enough? As I said before, some packages use
$host=i486-pc-gnu others $host=i686-unknown-gnu0.3.
And when porting packages it is of large interest to know the variants,
so a common pattern can be used for all cases!

> > > > > > A common denominator of $host is
> > > > > > 
> > > > > > c) *-gnu*

I will use this construct from now on. 

> > 
> > CPU_TYPE-MANUFACTURER-KERNEL-OPERATING_SYSTEM e.g. i686-unknown-hurd-gnu
> > 
> > would. Or should the kernel be gnumach?
> 
> I don't know the historical details, but the way I understand it is that
> GNU is GNU, and GNU/Linux came afterwards and used linux-gnu. Simply use
> linux* or gnu* and it'll work. The only unfortunate thing is *-gnu*.

Why not propose to introduce the quadruple then!
Adding gnumach or hurd or?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]