We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Hi
I want to use armcc to pre-process my scatter file:
#! armcc -E
...
but armlink gets stuck.
If I kill armcc.exe armlink returns an error that armcc terminated (because of killing).
Any idea?
Stefano
I have a scatter file which instructs armlink (also 5.05u1) to pre-process it with armcc
For example like this:
#define TEST 1
#if TEST == 1
#error Works
#endif
If I try this, armcc does not stop (as it is waiting for more input) and therefore armlink hangs.
Using instead:
#! arm-none-eabi-gcc -E -P -x c
works fine.
Hi,
Unfortunately, due to a defect that affects ARM Compiler 5.05, 5.05 update 1, and 5.05 update 2, you will need to temporarily separate the scatter-file preprocessing from the link step as a workaround:
We expect this issue will be fixed in the next ARM Compiler 5 release. Sorry for the inconvenience this issue is causing to you.
Best Regards,
Ok, thanks for the info.
Cheers,
42Bastian