[FFmpeg-devel] [PATCH] Add versioning information to dlls

Diego Biurrun diego
Thu May 29 16:09:51 CEST 2008


On Thu, May 29, 2008 at 09:49:29AM -0400, Jeremy Kolb wrote:
> Diego Biurrun wrote:
> > On Thu, May 29, 2008 at 09:42:32AM -0400, Jeremy Kolb wrote:
> >   
> >> Diego Biurrun wrote:
> >>     
> >>>>>> --- subdir.mak	(revision 13216)
> >>>>>> +++ subdir.mak	(working copy)
> >>>>>> @@ -27,7 +27,9 @@
> >>>>>>  
> >>>>>> +$(SUBDIR)$(SLIB_EXTRA_OBJS): $(SLIB_EXTRA_DEP)
> >>>>>>         
> >>>>> I think you could just generate a proper .d file from the .rco file and
> >>>>> be done with it.  This would simplify things considerably.
> >>>>>       
> >>>> How do you mean?  What are .d files?  How do I do that?
> >>>>         
> >>> The .d files record dependency information.  Look around in your FFmpeg
> >>> tree, it should be full of them.  Take a look at common.mak to see how
> >>> they are created.
> >>>   
> >> They are created via gcc, I don't see how I can create them from .rc 
> >> files unless I output them by hand during configure.
> >
> > Where is the problem exactly?  You can create them from the .rc files
> > during the make stage, where all .d files are created...
> >
> I don't think so.  They are created via gcc -MM -MG and as far as I know 
> you can't run .rc files through gcc.

OK, I'm beginning to see more clearly.

What stops you from compiling the .rc file into a standard .o file and
adding that to OBJS?  We do that in MPlayer, it seems to work fine.

Diego




More information about the ffmpeg-devel mailing list