On 30/01/2014 9:55 am, Joel Sherrill wrote:
On 01/28/2014 10:04 PM, Alan Cudmore wrote:
I was just able to build the sparc-rtems4.11 toolchain on Centos 6.5 ,
64 bit
This was on a fresh Centos 6.x VM with all updates, no previous RTEMS
tools installed.
OK. I have solved it but it was a weird one. My PATH accidentally
had :: in it and that let "." (the current directory) be in my PATH.
GCC creates a shell script called "as" which invokes the cross
assembler. It meant to get the native as but got the script for
the cross.

Having . in a PATH is bad and apparently :: gives you the same
effect in at least bash.

Should I file a PR to request that sb-check or the source builder
check this condition?


Yes or a patch :).

This was asked for recently. I think sb-check is internally involved each build which means the path is checked each time.

Chris
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel

Reply via email to