[x264-devel] Build dll on MinGW32

Zuxy Meng zuxy.meng at gmail.com
Fri Mar 21 03:23:47 CET 2008


2008/3/19, Zuxy Meng <zuxy.meng at gmail.com>:
> Hi,
>
> 2008/3/16, Zuxy Meng <zuxy.meng at gmail.com>:
> > Hi,
> >
> > 2008/3/16, Loren Merritt <lorenm at u.washington.edu>:
> > > On Tue, 11 Mar 2008, Zuxy Meng wrote:
> > >
> > > > The attached patch enables x264 to build the DLL and import lib under
> > > > MinGW32 and install them properly. The naming convention adheres to
> > > > libtool.
> > >
> > > Does the patch apply to mingw and not cygwin? Should we even distinguish
> > > between the two? Currently configure treats them identically except for
> > > -mno-cygwin.
> >
> > I've no idea how DLL works on cygwin.
> > >
> > > > + API=$(grep '#define X264_BUILD' < x264.h | cut -f 3 -d ' ' | cut -c 1)
> > >
> > > Why the extra cut? The version is 58, not 5.
> >
> > Hmm I thought it's v5.8....
> > >
> > > > +ifeq ($(SYS),MINGW)
> > > > +       $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,--out-implib,$(IMPLIBNAME) -Wl,--enable-auto-image-base $(LDFLAGS)
> > > > +else
> > > >         $(CC) -shared -o $@ $(OBJS) $(OBJASM) -Wl,-soname,$(SONAME) $(LDFLAGS)
> > > > +endif
> > >
> > > Should go in configure. SOFLAGS or something.
> >
> > OK
>
>
> Someone take a good at the updated patch? Thanks!

ping...
-- 
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6


More information about the x264-devel mailing list