Re: [Audacity-devel] FFmpeg on Windows
A free multi-track audio editor and recorder
Brought to you by:
aosiniao
|
From: LRN <lr...@gm...> - 2008-06-14 23:02:29
|
Leland wrote: > --On June 11, 2008 1:31:18 PM +0400 LRN<lr...@gm...> wrote: > > >> Leland wrote: >> >>> --On June 11, 2008 12:48:41 PM +0400 LRN<lr...@gm...> wrote: >>> >>> >>> >>>> Leland wrote: >>>> >>>> >>>>> I've uploaded a simplified version of the library to: >>>>> http://audacity.homerow.net/index.php?dir=windows >>>>> >>>>> >>>>> >>>> Interesting. Though >>>> >>>> ./configure --enable-static \ >>>> --disable-debug \ >>>> --disable-shared \ >>>> --enable-memalign-hack \ >>>> --enable-gpl >>>> >>>> Would have been easier to do - you don't have to call gcc manually after >>>> that. >>>> >>>> >>>> >>> Hmmm, I wonder what the difference could be? >>> >>> >>> >> Well, you can try it and then compare the list of functions exported >> from both DLLs. From my point of view, using --enable-static is better, >> as it guarantees that all necessary object files will be linked (you >> don't have to track any moving targets). And i'm not sure how this >> direct call to gcc would work when external libraries (libmad, >> libvorbis, etc) are involved. >> >> > Ah, but that's just it...I did try it...did you? And, did you find any > DLLs? > > OK, i've made some testing (had to install WinXP inside VirtualBox, but now i can use MinGW/MSYS!). Indeed --enable-static --disable-shared couple doesn't works anymore - only ffmpeg.exe gets built (though it is static indeed). To get static dlls you have to configure with --enable-shared --disable-static (maybe with --enable-static it works too, didn't checked that one), edit config.mak and add "-static" to SHFLAGS along with "-shared", which is already there. This way you'll get every dll built statically. |