libusb for linux-emulation

M. Warner Losh imp at bsdimp.com
Mon Oct 27 15:01:44 UTC 2008


In message: <200810271420.m9REK9iF015611 at lurza.secnetix.de>
            Oliver Fromme <olli at lurza.secnetix.de> writes:
: Martin Laabs wrote:
:  > Hans Petter Selasky wrote:
:  > > No, you cannot use the linux libusb on FreeBSD. You need to use the FreeBSD
:  > > compiled libusb. The USB kernel interfaces are quite different.
:  > 
:  > OK - I see. I'm just trying to build a "hermaphrodite" library. Compile with
:  > linux but using the BSD ioctls.
:  > Is there a crosscompiler to compile linux binarys from freebsd? This would
:  > make the job much easier.
: 
: Yes, I think you can use ports/devel/cross-gcc.

I've definitely got to get my cross tools changes into head.

Warner


More information about the freebsd-hackers mailing list