Cross-compiling for armv7
Patrick <[email protected]> Mon, 23 Apr 2012 19:12:07 -0400
| Newsgroups | gmane.comp.audio.mad.devel |
|---|---|
| Message-ID | <[email protected]> |
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=3Di686-apple-darwin10 \ --host=3Darm-apple-darwin \ --target=3Darm-apple-darwin \ --enable-static \ --disable-frontend \ --enable-speed \ --enable-fpm=3Darm and getting this error in configure: configure: WARNING: you should use --build, --host, --target configure: WARNING: invalid host type: =20 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-darwin1= 0-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=