Hi friends,
I download both of mad-0.14.2b and madplay-0.15.0b, and I try to build a ARM based player, but I met problem to change gcc to arm-linux-gcc with ./configure command. I work on a ReHat 9.0 PC as host, and use arm cross compiler 2.95.3 toolchain. I try " CC=arm-linux-gcc ./configure" and "env CC=armlinux-gcc", it did not work. Please give me some tips how to build it, I very appreciate for your help. Thanks.
Keji Zhang kzhang@neomagic.com
On Dec 10, 2003, at 9:27 AM, Kzhang wrote:
I download both of mad-0.14.2b and madplay-0.15.0b, and I try to build a ARM based player, but I met problem to change gcc to arm-linux-gcc with ./configure command. I work on a ReHat 9.0 PC as host, and use arm cross compiler 2.95.3 toolchain. I try " CC=arm-linux-gcc ./configure" and "env CC=armlinux-gcc", it did not work. Please give me some tips how to build it, I very appreciate for your help.
Generally cross-compiling goes something like this:
./configure --host=arm-linux CC=arm-linux-gcc
Depending on your cross-compiler configuration you may also need to give values for RANLIB and LD; I haven't cross-compiled recently enough to remember if any of them are actually necessary.
Hope this helps.