>I wonder why it generated X86 binaries when I specified the target as
>'arm-linux':
>
>"./configure --target=arm-linux
>--prefix=/usr/local/arm/glibc/arm-linux-glibc -enable-add-ons"

Hi Jason,

You need to tell it which compiler to use as well.  Otherwise it defaults to 
`gcc' which is of course the native compiler.

Also, `--target' is meaningless for glibc because it's not a compiler tool.  
Configure was probably ignoring that option and again defaulting to a native 
build.

Try something like this, assuming `arm-linux-gcc' is in your PATH:

$ CC=arm-linux-gcc ./configure arm-linux --enable-add-ons --prefix=whatever

p.


unsubscribe: body of `unsubscribe linux-arm' to [EMAIL PROTECTED]

Reply via email to