Hi!

Ralph Glasstetter wrote:

>>>Don't beleive that the build will work with this... its just 17kB... my 
>>>older static one was 471kB!
>>
>>Don't worry, it does work. Although the resulting binary probably has a
>>dependency on the dll now.
> 
> 
> Aha,... with a factor of 20-30 smaller library? Where has all the code gone 
> to...?

Here:

-r-xr-xr-x  1 root staff 454883 Jun 11 21:47 /usr/local/bin/libao-2.dll*

> Nevertheless,... why should we have a dll for libao, when all the other libs 
> (mad,a52,mpeg2,libacformat/codec) 
> are statically linked (under windows)? I don't expect that any other 
> Application would make use of it.
> The dll would reside in the DVBcut directory anyhow... ;-)

I think a distributable binary should be statically linked instead.

>>>Anyhow,... I would prefere a simple static one (libao.a), which I got from 
>>>the svn snapshot... 
>>>but I can't find it with v0.8.8...
>>
>>Maybe ./configure --disable-shared will do the trick.
> 
> 
> Yes, you are right... that was it! :-)) 
> One should give that important remark also in the README!

Already scheduled for inclusion :-)

> The funny thing is, that the DVBcut binary still was linked against some dll 
> as long as this libao.dll.a was also installed under /usr/local/lib.

Yep. The linker prefers the shared version if both are available. You
need to delete the shared library first.

> I saw it immediately since the binary was about 500k smaller... ;-)
> And on execution DVBcut asked then for a libao-2.dll... no idea where that 
> should be!

See above - /usr/local/bin

> Anyhow,... I had to delete libao.dll.a first to get DVBcut statically linked 
> again... but now 
> against the one from the official libao v0.8.8! :)
> 
> I attached an updated README.mingw...

Okay, I'll throw away the old version.

-- 
Michael "Tired" Riepe <[EMAIL PROTECTED]>
X-Tired: Each morning I get up I die a little

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
DVBCUT-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dvbcut-user

Reply via email to