On 30/01/2014 10:52 am, Joel Sherrill wrote:
On 1/29/2014 5:48 PM, Chris Johns wrote:
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 :).
You will be lucky to get a PR out of me. I feel swamped.
Huh like those "Swamp People" ?
This was asked for recently. I think sb-check is internally involved
each build which means the path is checked each time.
That's great. "." in a directory is bad
I meant to say it will be checked when added.
and I didn't realize that :: in a PATH would do that.
I did not as well. I will add a check for an empty path as well.
Chris
_______________________________________________
rtems-devel mailing list
rtems-devel@rtems.org
http://www.rtems.org/mailman/listinfo/rtems-devel