Re: ./configure in debian/rules

2006-03-10 Thread Henrique de Moraes Holschuh
On Thu, 09 Mar 2006, Peter Kourzanov wrote: > For most of the packages, what is so different in cross-compilation in > comparison to native? On my limited cross-compiling knowledge (and nearly zero experience), you have three classes of packages: 1. Those that just compile, link and ship -- thes

Re: ./configure in debian/rules

2006-03-09 Thread Hendrik Sattler
Am Donnerstag, 9. März 2006 23:32 schrieb Steve Langasek: > Um, the native target for Debian systems is i486-linux-gnu, not > i686-linux-gnu -- the symlink i486-linux-gnu-gcc-4.0 *does* exist. If > you're using anything other than i486-linux-gnu as your host string for a > Debian package, then asi

Re: ./configure in debian/rules

2006-03-09 Thread Steve Langasek
On Thu, Mar 09, 2006 at 07:14:58PM +0100, Hendrik Sattler wrote: > Am Donnerstag, 9. März 2006 03:12 schrieb Russ Allbery: > > Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: > > > I'm one of the people who actually helped design the GNU Makefile and > > > configure standards, and --host does not "

Re: ./configure in debian/rules

2006-03-09 Thread Hendrik Sattler
Am Donnerstag, 9. März 2006 22:26 schrieb Peter Kourzanov: > ship with symbolic links, e.g. > > >gcc -> gcc-4.0 -> i686-linux-gcc-4.0 > >   > > Which it already does:-) The other direction but your are right :) I looked for i686-linux-gcc when in fact it is i486-linux-gcc. HS -- Mein GPG-Key is

Re: ./configure in debian/rules

2006-03-09 Thread Peter Kourzanov
Henrique de Moraes Holschuh wrote: On Thu, 09 Mar 2006, Hendrik Sattler wrote: `--host=HOST-TYPE' the type of system on which the package will run. By default it is the same as the build machine. Specifying it enables the cross-compilation mode. That's insane. However, i

Re: ./configure in debian/rules

2006-03-09 Thread Russ Allbery
Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: > Russ Allbery <[EMAIL PROTECTED]> writes: >> That's the old way. Autoconf changed this in the current releases. >> Now, specifying --host signals that you're cross-compiling, whether it >> disagrees or not. >> Yes, this was not a backward compatib

Re: ./configure in debian/rules

2006-03-09 Thread Peter Kourzanov
Hendrik Sattler wrote: Am Donnerstag, 9. März 2006 03:12 schrieb Russ Allbery: Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: I'm one of the people who actually helped design the GNU Makefile and configure standards, and --host does not "signal that you're cross-compiling." What sign

Re: ./configure in debian/rules

2006-03-09 Thread Thomas Bushnell BSG
Russ Allbery <[EMAIL PROTECTED]> writes: > Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: > >> I'm one of the people who actually helped design the GNU Makefile and >> configure standards, and --host does not "signal that you're >> cross-compiling." What signals that you are cross-compiling is a

Re: ./configure in debian/rules

2006-03-09 Thread Peter Kourzanov
Russ Allbery wrote: Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: I'm one of the people who actually helped design the GNU Makefile and configure standards, and --host does not "signal that you're cross-compiling." What signals that you are cross-compiling is a disagreement between --hos

Re: ./configure in debian/rules

2006-03-09 Thread Hendrik Sattler
Am Donnerstag, 9. März 2006 20:17 schrieb Henrique de Moraes Holschuh: > Or do you want to do this to avoid an ifeq..endif block in debian/rules > files that are currently required to detect if --host should be issued to > configure ? Personally just because I don't like the currently different na

Re: ./configure in debian/rules

2006-03-09 Thread Henrique de Moraes Holschuh
On Thu, 09 Mar 2006, Hendrik Sattler wrote: > > `--host=HOST-TYPE' > > the type of system on which the package will run. By default it > > is the same as the build machine. Specifying it enables the > > cross-compilation mode. > > That's insane. However, it doen't say anything abo

Re: ./configure in debian/rules

2006-03-09 Thread Hendrik Sattler
Am Donnerstag, 9. März 2006 03:12 schrieb Russ Allbery: > Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: > > I'm one of the people who actually helped design the GNU Makefile and > > configure standards, and --host does not "signal that you're > > cross-compiling." What signals that you are cross

Re: ./configure in debian/rules

2006-03-08 Thread Russ Allbery
Miles Bader <[EMAIL PROTECTED]> writes: > Russ Allbery <[EMAIL PROTECTED]> writes: >> `--host=HOST-TYPE' >> the type of system on which the package will run. By default it >> is the same as the build machine. Specifying it enables the >> cross-compilation mode. >> There's a long

Re: ./configure in debian/rules

2006-03-08 Thread Miles Bader
Russ Allbery <[EMAIL PROTECTED]> writes: > `--host=HOST-TYPE' > the type of system on which the package will run. By default it > is the same as the build machine. Specifying it enables the > cross-compilation mode. > > There's a long archived discussion on the Autoconf mailing lis

Re: ./configure in debian/rules

2006-03-08 Thread Russ Allbery
Thomas Bushnell BSG <[EMAIL PROTECTED]> writes: > I'm one of the people who actually helped design the GNU Makefile and > configure standards, and --host does not "signal that you're > cross-compiling." What signals that you are cross-compiling is a > disagreement between --host and --build. Tha

Re: ./configure in debian/rules

2006-03-08 Thread Thomas Bushnell BSG
Steve Langasek <[EMAIL PROTECTED]> writes: > On Wed, Mar 08, 2006 at 11:15:46PM +0100, Pjotr Kourzanov wrote: >> Steve Langasek wrote: >> >Well, you shouldn't pass --host *except* when cross-compiling; the >> >autotools-dev package shows how to do this. But at least --build is always >> >a sane t

Re: ./configure in debian/rules

2006-03-08 Thread Steve Langasek
On Wed, Mar 08, 2006 at 11:15:46PM +0100, Pjotr Kourzanov wrote: > Steve Langasek wrote: > >Well, you shouldn't pass --host *except* when cross-compiling; the > >autotools-dev package shows how to do this. But at least --build is always > >a sane thing to specify, and usually saves you from upstre

Re: ./configure in debian/rules

2006-03-08 Thread Pjotr Kourzanov
Steve Langasek wrote: On Tue, Mar 07, 2006 at 09:17:19AM +0100, Tollef Fog Heen wrote: Pjotr Kourzanov wrote: Yes, but the point was that mainteners get a warning from the regular build system that their package is not cross-compile friendly. That needs to hook into dpkg-buildpack

Re: ./configure in debian/rules

2006-03-07 Thread Steve Langasek
On Tue, Mar 07, 2006 at 09:17:19AM +0100, Tollef Fog Heen wrote: > Pjotr Kourzanov wrote: > >Yes, but the point was that mainteners get a warning from the > >regular build system that their package is not cross-compile friendly. > >That needs to hook into dpkg-buildpackage then, I'm afraid... > P

Re: ./configure in debian/rules

2006-03-07 Thread Tollef Fog Heen
Pjotr Kourzanov wrote: Yes, but the point was that mainteners get a warning from the regular build system that their package is not cross-compile friendly. That needs to hook into dpkg-buildpackage then, I'm afraid... Please don't do this. Some packages choose to not be cross-compilation fri

Re: ./configure in debian/rules

2006-03-03 Thread Russ Allbery
Pjotr Kourzanov <[EMAIL PROTECTED]> writes: > Russ Allbery wrote: >> Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: >>> Please just add the recommended --host and --build makefile snippet >>> and feed that to configure in *all* packages. It is better in the >>> long run, and for many pac

Re: ./configure in debian/rules

2006-03-03 Thread Bill Allombert
On Fri, Mar 03, 2006 at 02:39:05PM +0100, Pjotr Kourzanov wrote: > Yes, but the point was that mainteners get a warning from the > regular build system that their package is not cross-compile friendly. > That needs to hook into dpkg-buildpackage then, I'm afraid... Why not add a lintian check inst

Re: ./configure in debian/rules

2006-03-03 Thread Pjotr Kourzanov
Henrique de Moraes Holschuh wrote: On Fri, 03 Mar 2006, Pjotr Kourzanov wrote: I suppose the patches to debian/rules would be welcome on this list, no? I have no idea. Anyway, if you want to make sure I read something you post in d-devel, please CC me. ok And what about add

Re: ./configure in debian/rules

2006-03-03 Thread Henrique de Moraes Holschuh
On Fri, 03 Mar 2006, Pjotr Kourzanov wrote: > I suppose the patches to debian/rules would be welcome on this list, > no? I have no idea. Anyway, if you want to make sure I read something you post in d-devel, please CC me. > And what about adding some magic to dpkg-buildpackage.orig to > monitor

Re: ./configure in debian/rules

2006-03-03 Thread Pjotr Kourzanov
Russ Allbery wrote: Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: Please just add the recommended --host and --build makefile snippet and feed that to configure in *all* packages. It is better in the long run, and for many packages that is enough to have it cross-compile correct

Re: ./configure in debian/rules

2006-03-01 Thread Frank Küster
Henrique de Moraes Holschuh <[EMAIL PROTECTED]> wrote: > On Fri, 24 Feb 2006, Frank Küster wrote: >> Per Olofsson <[EMAIL PROTECTED]> wrote: >> > Frank Küster: >> >> Were can I read up on how and why I should do this? >> > >> > /usr/share/doc/autotools-dev/README.Debian.gz >> >> Thanks - but I th

Re: ./configure in debian/rules

2006-02-26 Thread Henrique de Moraes Holschuh
On Sun, 26 Feb 2006, Osamu Aoki wrote: > Also, as a part of recent maintenance update, the current "Debian New > Maintainers' Guide" has following pointer at the start of "Chapter 3 - > Modifying the source": > > Please make sure to read /usr/share/doc/autotools-dev/README.Debian.gz > before pro

Re: ./configure in debian/rules

2006-02-25 Thread Osamu Aoki
On Fri, Feb 24, 2006 at 04:30:14PM -0300, Henrique de Moraes Holschuh wrote: > On Fri, 24 Feb 2006, Frank Küster wrote: > > Per Olofsson <[EMAIL PROTECTED]> wrote: > > > Frank Küster: > > >> Were can I read up on how and why I should do this? > > > > > > /usr/share/doc/autotools-dev/README.Debian.g

Re: ./configure in debian/rules

2006-02-24 Thread Russ Allbery
Henrique de Moraes Holschuh <[EMAIL PROTECTED]> writes: > Please just add the recommended --host and --build makefile snippet and > feed that to configure in *all* packages. It is better in the long run, > and for many packages that is enough to have it cross-compile correctly. Okay, will do. T

Re: ./configure in debian/rules

2006-02-24 Thread Henrique de Moraes Holschuh
On Fri, 24 Feb 2006, Henrique de Moraes Holschuh wrote: > If config.sub is not needed, I am almost sure that --host is not needed. Nor > is --build, or --target. They are not supposed to be able to work without > config.sub to canonize them. Very well, I have verified this now to be _wrong_. Au

Re: ./configure in debian/rules

2006-02-24 Thread Henrique de Moraes Holschuh
On Fri, 24 Feb 2006, Russ Allbery wrote: > Frank Küster <[EMAIL PROTECTED]> writes: > > Pjotr Kourzanov <[EMAIL PROTECTED]> wrote: > >>In a number of packages (e.g., busybox, dash and many more) the > >> debian/rules Makefile calls ./configure without --host argument. This > >> makes the life q

Re: ./configure in debian/rules

2006-02-24 Thread Russ Allbery
Frank Küster <[EMAIL PROTECTED]> writes: > Pjotr Kourzanov <[EMAIL PROTECTED]> wrote: >>In a number of packages (e.g., busybox, dash and many more) the >> debian/rules Makefile calls ./configure without --host argument. This >> makes the life quite difficult for cross-compilation - for every >

Re: ./configure in debian/rules

2006-02-24 Thread Henrique de Moraes Holschuh
On Fri, 24 Feb 2006, Frank Küster wrote: > Per Olofsson <[EMAIL PROTECTED]> wrote: > > Frank Küster: > >> Were can I read up on how and why I should do this? > > > > /usr/share/doc/autotools-dev/README.Debian.gz > > Thanks - but I think this should be documented at a more visible place. > If it's

Re: ./configure in debian/rules

2006-02-24 Thread Frank Küster
Per Olofsson <[EMAIL PROTECTED]> wrote: > Frank Küster: >> Were can I read up on how and why I should do this? > > /usr/share/doc/autotools-dev/README.Debian.gz Thanks - but I think this should be documented at a more visible place. If it's not the policy, developer's reference. Regards, Frank -

Re: ./configure in debian/rules

2006-02-24 Thread Aaron M. Ucko
Frank Küster <[EMAIL PROTECTED]> writes: > Were can I read up on how and why I should do this? AFAIR, the policy /usr/share/doc/autotools-dev/README.Debian.gz has advice on how to run configure scripts sanely. -- Aaron M. Ucko, KB1CJC (amu at alum.mit.edu, ucko at debian.org) Finger [EMAIL PRO

Re: ./configure in debian/rules

2006-02-24 Thread Per Olofsson
Frank Küster: > Were can I read up on how and why I should do this? /usr/share/doc/autotools-dev/README.Debian.gz -- Pelle -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Re: ./configure in debian/rules

2006-02-24 Thread Frank Küster
Pjotr Kourzanov <[EMAIL PROTECTED]> wrote: > Dear developers, > >In a number of packages (e.g., busybox, dash and many more) the > debian/rules Makefile calls ./configure without --host argument. This > makes the life quite difficult for cross-compilation - for every > such package I need to a

./configure in debian/rules

2006-02-24 Thread Pjotr Kourzanov
Dear developers, In a number of packages (e.g., busybox, dash and many more) the debian/rules Makefile calls ./configure without --host argument. This makes the life quite difficult for cross-compilation - for every such package I need to add --host=$(DEB_HOST_GNU_TYPE) to every configure inv