This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
MULTILIB_OPTIONS and DRIVER_SELF_SPEC
- From: "Paulo J. Matos" <paulo at matos-sorge dot com>
- To: gcc at gcc dot gnu dot org
- Date: Fri, 11 May 2012 14:16:57 +0100
- Subject: MULTILIB_OPTIONS and DRIVER_SELF_SPEC
Hi,
MULTILIB_OPTIONS containing options defined in DRIVER_SELF_SPEC seemed
to be fine in GCC46 but fail in GCC47.
For example, I have:
xap.h:
#define DRIVER_SELF_SPECS \
"%{help:-v} %<help", \
"%{mno-args-span-regs-and-mem:-mno-split-args}
%<mno-args-span-regs-and-mem", \
"%{mno-inline-block-copy-mode:-mno-block-copy}
%<mno-inline-block-copy-mode", \
"%{mpu:-mno-block-copy -mfunction-ptr-pi} %<mpu"
t-xap:
MULTILIB_OPTIONS= msmall-mode/mpu
However, while building GCC I get that xgcc cannot understand -mpu:
Running configure in multilib subdir mpu
pwd:
/home/pm18/p4ws/pm18_binutils/bc/main/result/linux/intermediate/FirmwareGcc47Package/xap-local-xap
mkdir mpu
configure: creating cache ./config.cache
checking build system type... i686-pc-linux-gnu
checking host system type... xap-local-xap
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
xgcc: error: unrecognized command line option '-mpu'
What happened in GCC47 for this to occur?
Cheers,
--
PMatos