Am 04.06.2014 00:17, schrieb "João M. S. Silva":
> Hello Robert,
> 
>>> My purpose with the previous compilation was to add Linaro's gcc to Debian.
>>
>> Humm, Debian's gcc already contains the linaro patchset:
>>
>> http://anonscm.debian.org/viewvc/gcccvs/branches/sid/gcc-4.7/debian/patches/gcc-linaro.diff?revision=7193&view=markup
>>
> 
> OK, but probably not the official image:
> https://www.olimex.com/wiki/A20-OLinuXino-MICRO#Linux, since it seems to use 
> gcc
> 4.6.
> 
> You mean in the near future, Debian images will already come with Linaro's
> optimizations? That's good.

No.  The gcc-4.[6789] source packages in Debian are built from the FSF branches,
however they include the Linaro branches in a form of a diff.  See
debian/rules.defs inside the Debian packaging and change it to build using the
Linaro branch.

>>> If interesting, I can replicate the bits/predefs.h issue and further debug
>>> it.
>>
>> Did you tell configure to use: /usr/include/$(dpkg-architecture
>> -qDEB_HOST_MULTIARCH)/ ?

that should be the default, starting with gcc-4.7. You can force it configuring
with --enable-multiarch.

  Matthias


_______________________________________________
linaro-toolchain mailing list
linaro-toolchain@lists.linaro.org
http://lists.linaro.org/mailman/listinfo/linaro-toolchain

Reply via email to