Hello,
Has anyone managed to compile libmad for armv7. If so, could you kindly reply with an example ./configure that works. I am doing this:
./configure \ --build=i686-apple-darwin10 \ --host=arm-apple-darwin \ --target=arm-apple-darwin \ --enable-static \ --disable-frontend \ --enable-speed \ --enable-fpm=arm
and getting this error in configure:
configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: checking for a BSD-compatible install... /opt/local/bin/ginstall -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking for arm-apple-darwin-strip... no checking for strip... strip checking build system type... i686-apple-darwin10 checking host system type... arm-apple-darwin checking for arm-apple-darwin-gcc... /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin10-gcc-4.2.1 checking for C compiler default output file name... configure: error: C compiler cannot create executables See `config.log' for more details.
and then it fails in make with:
imdct_l_arm.S:207:Unknown pseudo-op: .global imdct_l_arm.S:207:Rest of line ignored. 1st junk character valued 73 (I). imdct_l_arm.S:208:Unknown pseudo-op: .global imdct_l_arm.S:208:Rest of line ignored. 1st junk character valued 95 (_). make[2]: *** [imdct_l_arm.lo] Error 1 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2
Any help would be appreciated. Patrick