Hi,
I would like to compile certain OpenIFS directories with some more debug flags, rather than applying this to all of OpenIFS.
The reason is that when I use these debug flags on all of OpenIFS I get some errors in parts of OpeniFS that I'm not concerned with.
I've tried using the FCM configuration:
build.prop{fc.flags}[cosp2] = -O0 -g -fp-model precise -ftz -debug all -ftrapuv -check bounds -check all -traceback -warn interfaces
for the directory "cosp2".
While the above line in my oifs-config file compiles, it is completely ignored. Is there a way to compile some directories with different flags than others?
Best,
/M
2 Comments
Glenn Carver
Hi Marston,
I think the cause is:
should be:
The oifs.cfg file creates an 'instance' of the 'build' class with this line near the top of the oifs.cfg file:
so all 'build' properties need to be called 'oifs'. This was done to give more flexibility in the future.
You could also do this:
This means the properties apply to all instances of the build class. In your case, the syntax is correct but they only apply to the default 'build' which OpenIFS doesn't use, that's why it has no effect.
Best regards,
Glenn
Marston Ward
Hi Glenn,
Thanks. I missed that. Now I got it to work.