Re: reverse_cross is supported in gcc-4.2
The problem is in debian/rules2 patch,
ifndef DEB_CROSS
+ifndef REVERSE_CROSS
breaks DEB_CROSS logic. It looks like if DEB_CROSS is set (with
REVERSE_CROSS line) never gets into build cross compiler.
--- gcc-4.2.old/debian/rules2 2007-06-29 12:34:25.000000000 +0100
+++ gcc-4.2.cross/debian/rules2 2007-06-29 16:03:57.000000000 +0100
@@ -535,7 +535,9 @@
$(build_stamp): $(configure_stamp) $(build_locale_stamp)
dh_testdir
rm -f bootstrap-protocol
+# DEB_CROSS is never set if REVERSE_CROSS is set and vice-versa.
ifndef DEB_CROSS
+ifndef REVERSE_CROSS
ifeq ($(with_java),yes)
ifeq ($(with_native_ecj),yes)
: # prepare the standalone ecj jar
@@ -608,6 +610,7 @@
) 2>&1 | tee bootstrap-protocol
s=`cat status`; rm -f status; test $$s -eq 0
endif
+endif
-chmod 755 $(srcdir)/contrib/warn_summary
if [ -x $(srcdir)/contrib/warn_summary ]; then \
rm -f bootstrap-summary; \
2007/7/9, Hector Oron <hector.oron@gmail.com>:
> Is this a toolchain build or a reverse cross build?
> (Are you using buildcross, emchain or emdebuild?)
It fails when DEB_CROSS=yes.
If you use REVERSE_CROSS=yes it looks compiling fine.
I have catch that bug looking to buildcross logs and testing it manually.
--
Héctor Orón
--
Héctor Orón
Reply to: