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 -- these
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-compiling
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 about the
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
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 --host
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
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 signals
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 compatible change.
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,
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 ist auf
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 signal that
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 aside
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
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 upstreams
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 thing to
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.
That's the
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 list about
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 archived
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
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...
Please
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
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 the
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
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
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 packages that is
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 think this should be
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 proceeding.
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.gz
Thanks -
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
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 add
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]
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
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
--
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 not the
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
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 quite difficult
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_.
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.
This
38 matches
Mail list logo