[FFmpeg-devel] Windows CE status

Diego Biurrun diego
Mon Jul 27 16:12:00 CEST 2009


On Mon, Jul 27, 2009 at 05:06:39PM +0300, ?smail D?nmez wrote:
> Hi,
> 
> On Mon, Jul 27, 2009 at 5:06 PM, ?smail D?nmez<ismail at namtrac.org> wrote:
> > On Mon, Jul 27, 2009 at 4:51 PM, Diego Biurrun<diego at biurrun.de> wrote:
> >> On Mon, Jul 27, 2009 at 04:49:52PM +0300, ?smail D?nmez wrote:
> >>>
> >>> On Mon, Jul 27, 2009 at 4:41 PM, Diego Biurrun<diego at biurrun.de> wrote:
> >>> [...]
> >>> > How about disabling it first, thus fixing compilation, and then finding
> >>> > a way to enable it?
> >>>
> >>> Sounds like a plan to me.
> >>
> >> We're anxiously waiting for your patch :)
> >
> > Attached. Notice that ARM is hardcoded for LIBTARGET since I didn't
> > see any CE/i386 device in the wild yet.
> 
> Right on that.... Really attached now.
> 
> --- configure	(revision 19515)
> +++ configure	(working copy)
> @@ -1830,6 +1830,26 @@
> +    mingw32ce)
> +        target_os=mingw32ce
> +        LIBTARGET=arm
> +        shlibdir_default="$bindir_default"
> +        disable ffserver network
> +        SLIBPREF=""
> +        SLIBSUF=".dll"
> +        SLIBNAME_WITH_VERSION='$(SLIBPREF)$(FULLNAME)-$(LIBVERSION)$(SLIBSUF)'
> +        SLIBNAME_WITH_MAJOR='$(SLIBPREF)$(FULLNAME)-$(LIBMAJOR)$(SLIBSUF)'
> +        SLIB_EXTRA_CMD='-lib.exe /machine:$(LIBTARGET) /def:$$(@:$(SLIBSUF)=.def) /out:$(SUBDIR)$(SLIBNAME_WITH_MAJOR: $(SLIBSUF)=.lib)'
> +        SLIB_INSTALL_EXTRA_CMD='-install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/          $(SLIBNAME:$(SLIBSUF)=.lib)"; \
> +            install -m 644 $(SUBDIR)$(SLIBNAME_WITH_MAJOR:$(SLIBSUF)=.lib) "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR:         $(SLIBSUF)=.lib)"; \
> +            install -d "$(LIBDIR)"; \
> +            install -m 644 $(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.dll.a) "$(LIBDIR)/lib$(SLIBNAME:$(SLIBSUF)=.dll.a)"'
> +        SLIB_UNINSTALL_EXTRA_CMD='rm -f "$(SHLIBDIR)/$(SLIBNAME:$(SLIBSUF)=.lib)"'
> +        SHFLAGS='-shared -Wl,--output-def,$$(@:$(SLIBSUF)=.def) -Wl,--out-implib,$(SUBDIR)lib$(SLIBNAME:$(SLIBSUF)=.   dll.a) -Wl,--enable-runtime-pseudo-reloc -Wl,--enable-auto-image-base'
> +        objformat="win32"
> +        enable dos_paths
> +        check_cflags -fno-common
> +        ;;
>      mingw32*)
>          target_os=mingw32
>          LIBTARGET=i386

I think you should merge it with the other mingw section instead of
duplicating it.

Diego



More information about the ffmpeg-devel mailing list