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

Re: cross compile patch - superseed non responsible toolchain-source



On Sun, Feb 23, 2003 at 12:05:32PM +0100, Matthias Klose wrote:
> > it changes the following:
> > - debian/control.m4:
> 
> some chunks did not cleanly apply. attched is a control file for
> m68k. Please could you check it and send me diffs how it should look
> like.

attached. one problem with that: does the compiler needs cpp?

> >   - cross packages don't have a version
> 
> hmm, they do have a version ...

as i read the old rules, the cross packages don't include a version
within the package name, gcc-m68k not gcc-m68k-3.2

> >   - enable c++ cross package
> 
> why are so many packages really needed? Isn't one cross compiler
> package sufficient?

i think the same problem then the native compiler

> > - debian/rules.d/binary-*-cross.mk:
> >   - add copies of the native rules
> > - debian/rules.defs:
> >   - rework the arch resolution code
> >   - define DEB_TARGET_* along with DEB_HOST_*
> >   - enable common packages for cross compilation
> >   - explicite disable libffi from cross compilation
> > - debian/rules*:
> >   - use DEB_CROSS for cross compile determination
> > - debian/rules2:
> >   - change configure options
> >   - fix package names
> >   - import right make files
> 
> debian/rules2:
> @@ -324,7 +328,7 @@
>                 &
>  endif
>  
> -ifeq ($(DEB_HOST_GNU_SYSTEM),linux)
> +ifeq ($(DEB_TARGET_GNU_SYSTEM),linux)
>         -echo "Running testsuite ..."; \
>           if [ -e /proc/meminfo ]; then \
>             m=`awk '/^((Mem|Swap)Free|Cached)/{m+=$$2}END{print int(m*.9)}' \
> 
> This should remain HOST, not TARGET, some other occurences as well.

when should the testsuite run?

bastian

-- 
Captain's Log, star date 21:34.5...
--- out.orig	2003-02-23 12:27:43.000000000 +0100
+++ out	2003-02-23 12:29:14.000000000 +0100
@@ -18,11 +18,11 @@
  that GCC uses to overcome shortcomings of particular machines, or
  special needs for some languages.
 
-Package: gcc-m68k-3.2
+Package: gcc-m68k
 Architecture: any
 Section: devel
 Priority: optional
-Depends: ${shlibs:Depends}, binutils-m68k (>= 2.13.90.0.10)
+Depends: gcc-3.2-base, libgcc1-m68k (>= 1:3.2.3-0pre1.cross.1), ${shlibs:Depends}, cpp-3.2 (>= 1:3.2.3-0pre1.cross.1), cpp-3.2 (<< 1:3.2.4), ${shlibs:Depends}, binutils-m68k (>= 2.13.90.0.10)
 Suggests: task-c-devel
 Provides: c-compiler-m68k
 Recommends: m68k-libc
@@ -30,7 +30,7 @@
 Description: The GNU C compiler
  This is the GNU C compiler, a fairly portable optimizing compiler for C.
 
-Package: g++-m68k-3.2
+Package: g++-m68k
 Architecture: any
 Section: devel
 Priority: optional

Attachment: pgptCHcHjiq5j.pgp
Description: PGP signature


Reply to: