Raphael Hertzog wrote:
On Sun, 09 Dec 2007, Neil Williams wrote:
Emdebian cannot build, patch or test every permutation of toolchain that
people need so this isn't about us patching locally, it is about
lowering the barrier to cross building on Debian by not forcing every
user to patch
On Sun, 09 Dec 2007, Neil Williams wrote:
I'm ok with a
supplementary specific check for building of a cross-compiler, but not
with a generic check like testing the ARCH environment variable.
OK, I have a solution for that - replace $ARCH with $GCC_TARGET.
I've tested with this change
Raphael Hertzog wrote:
On Sun, 09 Dec 2007, Neil Williams wrote:
I'm ok with a
supplementary specific check for building of a cross-compiler, but not
with a generic check like testing the ARCH environment variable.
OK, I have a solution for that - replace $ARCH with $GCC_TARGET.
I've tested
Raphael Hertzog wrote:
On Wed, 05 Dec 2007, Neil Williams wrote:
My first patch did exactly that - and failed on building a cross
compiler. gcc needs dpkg-shlibdeps to take notice of $ARCH in the
preparation of libgcc1-$arch-cross and other libraries used in the
complete toolchain. It needs
On Wed, 05 Dec 2007, Neil Williams wrote:
Raphael Hertzog wrote:
On Tue, 04 Dec 2007, Neil Williams wrote:
On Wed, 5 Dec 2007 00:01:22 +0100
Raphael Hertzog [EMAIL PROTECTED] wrote:
On Tue, 04 Dec 2007, Neil Williams wrote:
+my @shlibdeps=();
+# ARCH for some awkward builds
+my
On Tue, 04 Dec 2007, Neil Williams wrote:
On Wed, 5 Dec 2007 00:01:22 +0100
Raphael Hertzog [EMAIL PROTECTED] wrote:
On Tue, 04 Dec 2007, Neil Williams wrote:
+my @shlibdeps=();
+# ARCH for some awkward builds
+my $crossprefix = Dpkg::Arch::debarch_to_gnutriplet($ENV{ARCH}) if
Hector and I have tested this patch with normal builds, cross builds
and cross compiler builds.
It does apply against dpkg 1.14.12 (albeit with offsets), it was
developed against 1.14.11.
--
Neil Williams
=
http://www.data-freedom.org/
http://www.nosoftwarepatents.com/
On Tue, Dec 04, 2007 at 10:27:35AM +, Neil Williams wrote:
use constant DEFAULT_LIBRARY_PATH =
qw(/lib /usr/lib /lib32 /usr/lib32 /lib64 /usr/lib64
/emul/ia32-linux/lib /emul/ia32-linux/usr/lib);
[...]
+if ($crossprefix)
+{
+@shlibdeps = ( ${crossprefix}/lib,
Frank Lichtenheld wrote:
On Tue, Dec 04, 2007 at 10:27:35AM +, Neil Williams wrote:
use constant DEFAULT_LIBRARY_PATH =
qw(/lib /usr/lib /lib32 /usr/lib32 /lib64 /usr/lib64
/emul/ia32-linux/lib /emul/ia32-linux/usr/lib);
[...]
+if ($crossprefix)
+{
+@shlibdeps = (
On Tue, 04 Dec 2007, Neil Williams wrote:
+my @shlibdeps=();
+# ARCH for some awkward builds
+my $crossprefix = Dpkg::Arch::debarch_to_gnutriplet($ENV{ARCH}) if
($ENV{ARCH});
What's the role of $ARCH ? And why shall we consider that we're
crossbuilding only because this variable is set ?
On Wed, 5 Dec 2007 00:01:22 +0100
Raphael Hertzog [EMAIL PROTECTED] wrote:
On Tue, 04 Dec 2007, Neil Williams wrote:
+my @shlibdeps=();
+# ARCH for some awkward builds
+my $crossprefix = Dpkg::Arch::debarch_to_gnutriplet($ENV{ARCH}) if
($ENV{ARCH});
What's the role of $ARCH ? And why
11 matches
Mail list logo