# Fix library paths
cd src
mv Makefile Makefile.orig
sed -e"s:/usr/lib/crt1.o:/opt/Embedix/tools/arm-linux/lib/crt1.o:" \
-e"s:/usr/lib/crti.o:/opt/Embedix/tools/arm-linux/lib/crti.o:" \
-e"s:/usr/lib/crtn.o:/opt/Embedix/tools/arm-linux/lib/crtn.o:" \
< Makefile.orig > Makefile
very handy, and a higher level of portability, rather than what i was trying to... (just copy the files there...)
just watch out you dont do a make clean or distclean after editing like i did a few times...