This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to pass a pathlist in RUNTESTFLAGS?



On 9 Jul 2010, at 17:28, Manuel López-Ibáñez wrote:


On 9 July 2010 16:55, Doug Semler <dougsemler@gmail.com> wrote:
On Fri, Jul 9, 2010 at 9:12 AM, IainS <developer@sandoe-acoustics.co.uk > wrote:
Hi,

I want to do this:

RUNTESTFLAGS="--target_board=unix/-foo/-bar/--sysroot=/path/to/ somewhere "

I've tried escaping the path with \ ' inverting the " and ' .. all to no
avail ..


what gets passed is -foo -bar --sysroot= -mpath -mto -msomewhere ..

google hasn't helped..

anyone know what incantation I've missed?
cheers,
Iain


IIRC i needed something like (can't remember offhand if this is exactly it, but it's something like this...)

RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
--target_board=unix/-foo/-bar"


Please, once you find out, add this info to http://gcc.gnu.org/wiki/Testing_GCC

I really must sign up ... ;-)


FWIW:

RUNTESTFLAGS="CFLAGS_FOR_TARGET=--sysroot=/path/to/somewhere
--target_board=unix/-foo/-bar"

does work but maybe:

RUNTESTFLAGS="CFLAGS_FOR_TARGET='$CFLAGS_FOR_TARGET --sysroot=/path/ to/somewhere' --target_board=unix/-foo/-bar"

is safer? -- CFLAGS_FOR_TARGET could already be set, I guess.

both work in the context I needed.

thanks,
Iain



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]