2

What's the difference between them?

I took this example from CodeSourcery toolchain but I've met similar structure in other toolchains.

Both of them appear to have the same size. On my Linux host the files have different i-nodes, so those are two different files.

Is it just for naming convenience?

I've come across at least one difference although I'm not sure if it is a real difference and not a bug. If I run

<installation path>/bin/arm-none-eabi-gcc -v -xc -

in order to see the default include paths I get some. But if I do the same with

<installation path>/arm-none-eabi/bin/gcc -v -xc -

then the list of paths is empty.

Does anyone know the truth about it?

1 Answer 1

2

In <installation>/bin you have the official executables which should be used, whereas in <installation>/<target>/bin you have executables for internal use only - you should not invoke them, and they should not be in your PATH.

As a reference, there is actually a README.txt in that folder telling you what they are for and why you should not use them or have them in your PATH.

Sign up to request clarification or add additional context in comments.

1 Comment

Indeed there is README.txt there repeating what you've said. Thanks very much.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.