This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
DRIVER_SELF_SPECS and multilib
- From: gnubie gnubie <gcc dot gnubie at gmail dot com>
- To: gcc at gcc dot gnu dot org
- Date: Thu, 29 Nov 2012 10:50:10 +0000
- Subject: DRIVER_SELF_SPECS and multilib
Hi,
I notice that if you add a DRIVER_SELF_SPEC option and then add that
option as a MULTILIB_OPTION, it doesn't build certain libraries for
that multilib variant.
for example, if you add:
"%{mtestoption:-mcpu=cortex-a5 %<mtestoption}"
(and then define mtestoption in the opt file)
then add mtestoption as a multilib variant, it builds some of the
libraries for that variant but not others. notable missing libraries
being:
libstdc++, libssp and libsupc++.
most of the others are there. If you just add cortex-a5 as the
variant then it works fine.
Is this by design?
Thanks,
Carlos