Can I copy a cross compiler tool chain between systems (I did before)?
I tested fairly extensively with Ubuntu 10.04 Beta 2 Server in a VM, and was able to simply copy (read tar x
) a cross compiled tool chain from an Ubuntu 8.10 VM. I created the tar myself, whi开发者_如何转开发ch is essentially a lot of stuff in \usr\local
.
Now that I've got a bare metal installation of Ubuntu 10.04 proper, the copy isn't working. In particularly, I'm getting the error:
$ arm-linux-gcc
-bash: /usr/local/bin/arm-linux-gcc: No such file or directory
I've got the systems side by side in SSH windows ... any suggestions?
Did you happen to switch to a 64 bit edition of Ubuntu 10.04?
If your VM was 32-bit and your real installation is 64-bit, you may still be able to get it to work by doing:
apt-get install linux32 ia32*
精彩评论