
Dear Steve,
In message 545A7C54.30204@broadcom.com you wrote:
Actually, that would be unfortunate, because I currently have:
- /usr/bin/arm-linux-gnueabi-gcc
/opt/eldk-5.4/armv7a/sysroots/i686-eldk-linux/usr/bin/armv7a-vfp-neon-linux-gnueabi/arm-linux-gnueabi-gcc
- (and others)
installed on my machine....
This is pretty normal.
If $PATH" was to "take care of it", then somehow $PATH would need to be constantly "rearranged" so that the desired compiler is selected correctly.
Yes, this is what is supposed to happen, for a variety of reasons. Often you select not only the compilers, but more o tools from a specific "SDK" that way.
Usually there will be scripts that do all this for you; with ELDK, that would be "eldk-switch".
IMO it would be best to specify the "absolute path to the prefix" completely, and not rely on PATH at all!
No, this is bound to fail.
Best regards,
Wolfgang Denk