Hi
i'm trying to add to libavcodec this vpx library.
I have tried using the standard configure way :
./configure --target=armv7-linux-gcc --prefix=/mnt/utmp/codeblocks/usr
but it didn't find the compiler saying:
Unable to invoke compiler: arm-none-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
so after some trial and error i created a script with :
export CC='/mnt/utmp/codeblocks/usr/bin/gcc'
export LD='/mnt/utmp/codeblocks/usr/bin/ld'
export AS='/mnt/utmp/codeblocks/usr/bin/as'
export AR='/mnt/utmp/codeblocks/usr/bin/ar'
export LDFLAGS='-L/mnt/utmp/codeblocks/usr/lib'
./configure --target=armv7-linux-gcc --prefix=/mnt/utmp/codeblocks/usr
and with this the configure goes ok and write out the makefile.
But when i do 'make' it stops (after a while...) at linking fase saying undefined reference to many things.
i'm trying to add to libavcodec this vpx library.
I have tried using the standard configure way :
./configure --target=armv7-linux-gcc --prefix=/mnt/utmp/codeblocks/usr
but it didn't find the compiler saying:
Unable to invoke compiler: arm-none-linux-gnueabi-gcc -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64
so after some trial and error i created a script with :
export CC='/mnt/utmp/codeblocks/usr/bin/gcc'
export LD='/mnt/utmp/codeblocks/usr/bin/ld'
export AS='/mnt/utmp/codeblocks/usr/bin/as'
export AR='/mnt/utmp/codeblocks/usr/bin/ar'
export LDFLAGS='-L/mnt/utmp/codeblocks/usr/lib'
./configure --target=armv7-linux-gcc --prefix=/mnt/utmp/codeblocks/usr
and with this the configure goes ok and write out the makefile.
But when i do 'make' it stops (after a while...) at linking fase saying undefined reference to many things.