This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Testing a plugin optimization with 'make check' (slashes in options)
- From: "Steve Ellcey " <sellcey at imgtec dot com>
- To: <gcc at gcc dot gnu dot org>
- Date: Wed, 1 May 2013 13:27:33 -0700
- Subject: Testing a plugin optimization with 'make check' (slashes in options)
I was wondering if someone would tell me how to pass an option that
contains slashes into 'make check'?
For example if I want to test a compiler using a simulator and the -O3
option I can run:
make check RUNTESTFLAGS="--target_board='mips-sim-mti32/-O3'"
I want to run this:
make check RUNTESTFLAGS="--target_board='mips-sim-mti32/-fplugin=/home/sellcey/plugin/dynopt.so'"
But the slashes in the plugin path are messing things up (I tried putting 1, 2,
or 3 backslashes in front of the forward slashes in the path but that did not
help and I tried putting /home/sellcey/plugin/dynopt.so in single quotes, that
did not help either.
Steve Ellcey
sellcey@imgtec.com