[FFmpeg-devel] [RFC] OS support library
Wed Dec 5 18:51:11 CET 2007
On Wednesday 05 December 2007 16:47, Luca Abeni wrote:
> V?ctor Paesa wrote:
> >> I moved lrintf() replacement to libossupport, and now I am trying to
> >> test the resulting libs... Does anyone know a system that does not
> >> provide lrintf()? I think cygwin can be used for such testing?
> >> Does anyone know how to cross-compile from linux to cygwin (or a
> >> system that does not provide lrintf())?
> > Cygwin has lrintf(), though it lacks llrintf().
> Ah, ok. I must have confused lrintf() and llrintf() (BTW, how do we
> handle the lack or llrintf()? If there is some workaround, can it be
> moved to libossupport?)
AFAIK there is none. ffmpeg and MPlayer currently cannot be compiled on
cygwin without adding llrintf from somewhere yourself during the linking
> > Wasn't some xxBSD the one lacking lrintf()?
> So, I guess my question becomes: does anyone know how to cross compile
> from linux to BSD?
About a year ago, I cross-compiled/bootstrapped a NetBSD system from within
Linux. I believe there's a guide on their site. Before it builds the NetBSD
kernel, it builds a complete cross-compilation toolchain (bmake, gcc, et
cetera) which can be used to compile anything after that (all of pkgsrc for
More information about the ffmpeg-devel