[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Cross toolchain status and update



On Fri, Feb 29, 2008 at 06:30:35PM +0100, Hector Oron wrote:
>Hello,
>
>Current status
>--------------------
>
>Emdebian.org should have, at least latest Debian gcc-4.2 and gcc-4.3
>cross toolchains at emdebian.org unstable repositories.[1]
>
>We have amd64 and i386 cross toolchains to be used to cross build for
>"arm armel mips mipsel powerpc sparc s390 m68k hppa alpha ia64"
>
>There is some trouble when building gcc-4.3 for powerpc[2], s390[3]
>and sparc[4], but you can still use gcc-4.2.

Can somebody update http://wiki.debian.org/EmdebianToolchain
"For now main development has been focusing on buildcross and emchain."
and the 'svn co' below to reflect current state of affairs (or provide
info so i can update it accordingly)?
should this just point to the buildd repo?

>amd64<->i386 compilers
>------------------------------------
>
>I believe, i386->amd64 compiler still broken, but amd64->i386
>(gcc-4.2) is built. Anyway, i believe those kind of compilers are
>useless but maybe is somebody out there that uses it and would like to
>fix them. (Tim Bagot has been working on it, see #464365, #466422)
>
>Miscelanea
>----------------
>
>* SH{3,3eb,4,4eb} arches would be a nice thing to have. :-)

Does any SuperH guru know the story behind PR33200 ?
http://gcc.gnu.org/PR33200

>* uClibc capable toolchain would be another good thing to have.[5]

What is the problem there? uClibc as a whole is licensed under LGPL.

>P.S.- If you have trouble installing the toolchain (unstable btm), please visit
>         http://wiki.debian.org/EmdebianToolchain
>
>        If you have any trouble, comment or suggestion, please tell to
>debian-embedded list. :-)

Can somebody please consider applying the attached patchlet?

I didn't have libapt-pkg-dev installed but this wasn't detected properly
(by bailing out). Attached trivial patch fixes this.

TIA and cheers,
Bernhard
Index: host/trunk/empath/trunk/configure.ac
===================================================================
--- host/trunk/empath/trunk/configure.ac	(revision 3252)
+++ host/trunk/empath/trunk/configure.ac	(working copy)
@@ -54,7 +54,9 @@
 dnl *****************
 dnl apt
 dnl *****************
-AC_CHECK_HEADERS(apt-pkg/pkgcache.h )
+AC_LANG_PUSH(C++)
+AC_CHECK_HEADERS([apt-pkg/init.h],[],[AC_MSG_ERROR([apt-pkg/init.h not found, install libapt-pkg-dev])])
+AC_LANG_POP
 
 dnl ******************************
 dnl Defaults for GCC
Index: README
===================================================================
--- README	(revision 3252)
+++ README	(working copy)
@@ -15,7 +15,7 @@
 svn-buildpackage -us -uc -rfakeroot
 
 To build empath:
-cd host/trunk/emdebian-tools/trunk
+cd host/trunk/empath/trunk
 ./autogen.sh
 ./configure --enable-error-on-warning
 make

Reply to: