[archlinux] Port to the ARM.

hiciu kwarzecha7 at gmail.com
Thu Mar 12 18:00:58 CET 2009


> Sorry, I didn't have enough time to browse detail of ur web pages.
> But i noticed that it uses buildroot, right?
>
> Cause I'm currently use buildroot to other platform, and OE seems rather
> difficult for me. And it takes so much time, I'm still
> compiling....... :(

It uses Scratchbox, something that makes crosscompiling easier. This
is not OE-based.
But it takes much time anyway.

> checking for C compiler default output file name... configure: error: C
> compiler cannot create executables
> See `config.log' for more details.
> Messages from sb2:
> 2009-03-11 21:11:58.473 (ERROR) sh[8934]        Unidentified executable
> detected
> (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
> 2009-03-11 21:11:58.484 (ERROR) sh[8938]        Unidentified executable
> detected
> (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
> 2009-03-11 21:11:58.491 (ERROR) sh[8942]        Unidentified executable
> detected
> (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
> 2009-03-11 21:11:58.541 (ERROR) sh[8953]        Unidentified executable
> detected
> (/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc)
>
>
> sb2-init completed successfully, have fun!
>
>
> Maybe I'm just weird, but that doesn't look very successful to me. :P

Well, this shouldn't be like that. Your logs are in
~/.scratchbox2/libtool_build/config.log.. For me there is no lines
with 'Unidentified executable detected', it's may be because of
toolchain. Can you run it? Try this:

cat <<EOF > test.c
int main(){
}
EOF
/usr/gcc-armv4t-unknown-linux-gnueabi/bin/armv4t-unknown-linux-gnueabi-gcc
test.c -o test
file test
sb2 gcc test.c -o test
file test
sb2 test

It should show something like this (2 lines):
test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.14, not stripped
test: ELF 32-bit LSB executable, ARM, version 1 (SYSV), dynamically
linked (uses shared libs), for GNU/Linux 2.6.14, not stripped

It shows any errors?

-- 
hiciu




More information about the community mailing list