Nobody tried similar config?

2011/1/18 Jan Pohanka <[email protected]>:
> Hello,
> I'd like to youse libav libraries in my project with arm9 processor
> (namely arm926ej-s). Important thing is, that there will be NO
> OPERATING SYSTEM.
> Unfortunately I can't find out the correct configure parameters. Now
> I'm using the following settings
>
> ../trunk/configure \
>  --enable-memalign-hack \
>  --disable-shared \
>  --enable-static \
>  --disable-ffmpeg \
>  --disable-ffplay --disable-ffprobe --disable-ffserver \
>  --disable-avfilter --disable-avdevice --disable-network \
>  --disable-pthreads --disable-mpegaudio-hp --disable-swscale-alpha \
>  --disable-fft --disable-golomb --disable-huffman --disable-lpc \
>  --disable-mdct --disable-rdft --disable-vaapi --disable-vdpau 
> --disable-dxva2 \
>  --disable-asm \
>  --disable-everything \
>  --enable-encoder=h263 \
>  --enable-muxer=h263 \
>  --enable-muxer=tgp \
>  --enable-cross-compile --target-os=none --cpu=arm926ej-s \
>  --enable-armv5te \
>  --cross-prefix=arm-elf- \
>  --arch=armv5te \
>  --extra-cflags=" -mthumb-interwork -mlittle-endian -mfpu=vfp
> -mfloat-abi=soft" \
>  --enable-version3 \
>  --disable-debug \
>  --prefix=$BDIR/ff
>
> These cause the error during compiler check
> arm-elf-gcc is unable to create an executable file.
> C compiler test failed.
>
> I hacked the configure script a bit so now I'm able to configure and
> make the project, but I thing it's not a correct way to do that. Also
> I'm not sure with correct parameters for armv5te optimizations.
>
> Could please someone help me with correct settings of configure script
> in the case of none operating system?
>
> The next issue is that with described settings the compiled library is
> still very large (almost 2MB after stripping). Where should I start to
> reduce the size? I'd like to get below 1MB, in best case bellow 700kB.
> The only thing I really need is the h263 encoder.
>
> with best regards
> Jan
>
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to