I'm trying to build libVLC for ARM on my MAC OS X computer.
I first go to the extras/contrib folder and type: ./bootstrap arm-eabi unix
I suppose that line means that I want to build for ARM building on UNIX(my MAC OS X). Is this correct?
Later I type: make
This gives me some errors.
Code: Select all
make
make -C src
( cd gettext && CC="arm-eabi-gcc" CXX="arm-eabi-g++" LD="arm-eabi-ld" RANLIB="arm-eabi-ranlib" AR="arm-eabi-ar" STRIP="arm-eabi-strip" ./configure --target=arm-eabi --host=arm-eabi --build=i686-apple-darwin10 --program-prefix="" --prefix=/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi --disable-java --disable-native-java --without-emacs)
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-eabi-strip... arm-eabi-strip
checking for a thread-safe mkdir -p... build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking build system type... i686-apple-darwin10
checking host system type... arm-unknown-eabi
configure: creating ./config.status
config.status: creating Makefile
config.status: creating gnulib-local/Makefile
=== configuring in gettext-runtime (/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/src/gettext/gettext-runtime)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi' '--target=arm-eabi' '--host=arm-eabi' '--build=i686-apple-darwin10' '--program-prefix=' '--disable-java' '--disable-native-java' '--without-emacs' 'build_alias=i686-apple-darwin10' 'host_alias=arm-eabi' 'target_alias=arm-eabi' 'CC=arm-eabi-gcc' 'CFLAGS=-I/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/include -DNDEBUG -isystem /Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/include' 'LDFLAGS=-L/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/lib ' 'CPPFLAGS=-I/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/include -DNDEBUG -isystem /Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/include' 'CXX=arm-eabi-g++' 'CXXFLAGS=-I/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/include -DNDEBUG -isystem /Users/bcalpe/programming/vlc-1.1.11/extras/contrib/hosts/arm-eabi/include' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-eabi-strip... arm-eabi-strip
checking for a thread-safe mkdir -p... ../build-aux/install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking for arm-eabi-gcc... arm-eabi-gcc
checking whether the C compiler works... no
configure: error: in `/Users/bcalpe/programming/vlc-1.1.11/extras/contrib/src/gettext/gettext-runtime':
configure: error: C compiler cannot create executables
See `config.log' for more details.
configure: error: ./configure failed for gettext-runtime
make[1]: *** [.intl] Error 77
make: *** [using-src] Error 2
What am I doing wrong?
Thanks