This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

armlink stuck in armcc

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?

Parents
  • Stefano

    I have a scatter file which instructs armlink (also 5.05u1) to pre-process it with armcc

    For example like this:

    #! armcc -E

    #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.

Reply
  • Stefano

    I have a scatter file which instructs armlink (also 5.05u1) to pre-process it with armcc

    For example like this:

    #! armcc -E

    #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.

Children