Individual file settings

New to XMOS and XCore? Get started here.
BillyBag2
Junior Member
Posts: 7
Joined: Thu Mar 15, 2018 11:42 am

Individual file settings

Postby BillyBag2 » Wed Mar 21, 2018 10:11 am

How do I set individual file setting? I can change settings in the makefile command line. But I want to debug some files but leave others optimised. How can I set different options for different files?
robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Postby robertxmos » Thu Mar 22, 2018 10:41 am

Hi BillyBag

Would the following do what you want?
XCC_FLAGS_filename
Overides the flags passed to xcc for the filename specified. This option overides the flags for all build configurations.
see https://www.xmos.com/support/tools/othe ... nent=14789 for more options.

robert
BillyBag2
Junior Member
Posts: 7
Joined: Thu Mar 15, 2018 11:42 am

Postby BillyBag2 » Thu Mar 22, 2018 4:37 pm

Thanks, this worked great. Added by hand to makefile but then it appears in the wizard after that. Also set VERBOSE to 1 to see the command line being used.
robertxmos
XCore Addict
Posts: 169
Joined: Fri Oct 23, 2015 10:23 am

Postby robertxmos » Thu Mar 22, 2018 4:59 pm

FYI
The 'VERBOSE' allow you to see what the make systems is doing - can be a bit noisy.
The alternative is to add '-v' or '--verbose' to your XC_flags - this list all the compilation steps (that you could do manually!)

Who is online

Users browsing this forum: No registered users and 0 guests