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

Bug#358773: gcc does not deduce softfloat and vfp (ARM) options



Package: gcc-4.0
Version: 4.0.3-1
Severity: minor
Tags: patch

--- gcc-4.0-4.0.3/debian/rules2	2006-03-20 20:07:22.000000000 +0100
+++ gcc-4.0-4.0.3-1/debian/rules2	2006-03-23 22:55:10.000000000 +0100
@@ -233,6 +233,14 @@
   endif
 endif
 
+ifneq (,$(findstring softfloat,$(DEB_TARGET_GNU_CPU)))
+  CONFARGS += --with-float=soft
+endif
+
+ifneq (,$(findstring arm-vfp,$(DEB_TARGET_GNU_CPU)))
+  CONFARGS += --with-fpu=vfp
+endif
+
 ifeq ($(PKGSOURCE),gcc-snapshot)
   ifeq ($(findstring --disable-werror, $(CONFARGS)),)
     CONFARGS += --disable-werror

-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.13-rc3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages gcc-4.0 depends on:
ii  binutils          2.16.1cvs20060117-1.my The GNU assembler, linker and bina
ii  cpp-4.0           4.0.3-1                The GNU C preprocessor
ii  gcc-4.0-base      4.0.3-1                The GNU Compiler Collection (base 
ii  libc6             2.3.6-3                GNU C Library: Shared libraries an
ii  libgcc1           1:4.0.3-1              GCC support library

Versions of packages gcc-4.0 recommends:
ii  libc6-dev                     2.3.6-3    GNU C Library: Development Librari
ii  libmudflap0-dev               4.0.3-1    GCC mudflap support libraries (dev

-- no debconf information




Reply to: