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?
Hi,
I tried to run the following command with ARM Compiler 5.05u1:
armcc -E scatter.scat
Where scatter.scat is a scatter file in an example project but I don't see armcc calling armlink.
Can you expand a bit on what are you trying to do or what command line you are using ? What version of ARM Compiler are you using for your project ?
Best Regards,
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.
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.
Ok, thanks for the info.
Cheers,
42Bastian