PATH in Dan Kegel's script crosstool.sh
Michael LeBlanc
leblanc@skycomputers.com
Wed Sep 24 18:11:00 GMT 2003
In Dan's crosstool.sh there is
69 # make sure the build product's binaries are in the search path
70 PATH="${PREFIX}/bin:${PATH}"
71 export PATH
When I run it, PREFIX becomes, for example, the following:
/somewhere/result/powerpc-mike-linux-gnualtivec/gcc-3.3-glibc-2.3.2
In bin/ under there, I find powerpc-mike-linux-gnualtivec-gcc and all
the other executables with names powerpc-mike-linux-gnualtivec-*.
Are they used by those names in the scripts and Makefiles?
Shouldn't line 70 read like this?
PATH="${PREFIX}/${TARGET}/bin:${PATH}"
Now "gcc" will resolve to the build's gcc.
Mike
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list