On 5/28/07, Charles Plessy <charles-debian-nospam@plessy.org> wrote:
Le Mon, May 28, 2007 at 07:52:42PM -0400, Albert Cahalan a écrit : > > 1. you actually ARE cross compiling > 2. you didn't tell the package that (via make arguments, etc.) Hi, does it mean that there is something broken in the concept of a Debian port? When I install a "Debian Etch for powerpc" on my iMac G5, when I want to backport a package from Sid by doing "apt-get source --build", if I understand correctly, I am unintentionally cross-compiling ?
If you intend to run on that system, then I don't think you are cross-compiling. Running a 32-bit userspace on a 64-bit kernel is however gross, foul, bad, nasty, and wrong. This isn't Windows; we have source code and we can recompile things to be fully native. Running a hybrid system is just asking for breakage. There are two obvious fixes, all 32-bit and all 64-bit.
If apt-get is called with the linux32 tool, does it suppress cross-compiling ?
No. You still don't have a fully 32-bit system. You need an emulator for that.