Hi,
I'm trying to follow https://wiki.linaro.org/WorkingGroups/ToolChain/Using/GCCNative but it looks like it is outdated? Can someone confirm?
E.g.:
configure: WARNING: unrecognized options: --disable-bootstrap, --with-mode, --with-arch, --with-tune, --with-fpu, --with-float
On 28 May 2014 21:52, "João M. S. Silva" joao.m.santos.silva@gmail.com wrote:
Hi,
I'm trying to follow https://wiki.linaro.org/WorkingGroups/ToolChain/Using/GCCNative but it looks like it is outdated? Can someone confirm?
After a quick glance, it looks valid.
E.g.:
configure: WARNING: unrecognized options: --disable-bootstrap, --with-mode, --with-arch, --with-tune, --with-fpu, --with-float
All these options are certainly valid GCC configure options. Which configure are you calling?
Hi Cristophe,
configure: WARNING: unrecognized options: --disable-bootstrap, --with-mode, --with-arch, --with-tune, --with-fpu, --with-float
All these options are certainly valid GCC configure options. Which configure are you calling?
You're right, I was calling configure from inside gcc's directory, I didn't know there was a configure at the top-level (I was also using a build directory under the top-level, since I interpreted that the source directory was gcc's).
However, I had a compilation error down the road, something related to bits/predefs.h. Installed some libc6 dev as seen in a forum but it didn't solve it.
I have now abandoned this compilation since I switched to using a LIME board and followed the instructions in http://eewiki.net/display/linuxonarm/A10-OLinuXino-LIME. This already provides Linaro.
My purpose with the previous compilation was to add Linaro's gcc to Debian.
If interesting, I can replicate the bits/predefs.h issue and further debug it.
Best regards, João M. S. Silva
On Tue, Jun 3, 2014 at 2:24 PM, "João M. S. Silva" joao.m.santos.silva@gmail.com wrote:
Hi Cristophe,
configure: WARNING: unrecognized options: --disable-bootstrap, --with-mode, --with-arch, --with-tune, --with-fpu, --with-float
All these options are certainly valid GCC configure options. Which configure are you calling?
You're right, I was calling configure from inside gcc's directory, I didn't know there was a configure at the top-level (I was also using a build directory under the top-level, since I interpreted that the source directory was gcc's).
However, I had a compilation error down the road, something related to bits/predefs.h. Installed some libc6 dev as seen in a forum but it didn't solve it.
I have now abandoned this compilation since I switched to using a LIME board and followed the instructions in http://eewiki.net/display/linuxonarm/A10-OLinuXino-LIME. This already provides Linaro.
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/...
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)/ ?
Regards,
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/...
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.
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)/ ?
I don't think so, since I followed: https://wiki.linaro.org/WorkingGroups/ToolChain/Using/GCCNative and there seems to be no switch for that purpose.
But that should somehow solve it, since from what I ascertained, it had to do exactly with choosing the wrong include file for the architecture.
Best regards, João M. S. Silva
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/...
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@lists.linaro.org