Ok, I think I'm making some progress here. Still a few hangups:
I verified installation of the compilers (my name was slightly different in that it had the word "gnu" in it:
Code:
% which arm-linux-gnu-ar arm-linux-gnu-ranlib arm-linux-gnu-gcc
/usr/bin/arm-linux-gnu-ar
/usr/bin/arm-linux-gnu-ranlib
/usr/bin/arm-linux-gnu-gcc
So I run the following command:
Code:
% CC=arm-linux-gnu-gcc AR=arm-linux-gnu-ar RANLIB=arm-linux-ranlib ./configure --target=arm-linux
And get the following output:
Code:
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... arm-unknown-linux-gnu
checking target system type... (cached) arm-unknown-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking for gcc... arm-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... configure: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
zsh: exit 1 CC=arm-linux-gnu-gcc AR=arm-linux-gnu-ar RANLIB=arm-linux-ranlib ./configure
Is this because the resulting executable can't be run on my machine since it's built for the arm?
Shane
Bookmarks