From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 24 18:53:31 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1FF04106566B for ; Fri, 24 Oct 2008 18:53:31 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from mailout1.zih.tu-dresden.de (mailout1.zih.tu-dresden.de [141.30.67.72]) by mx1.freebsd.org (Postfix) with ESMTP id CC5458FC20 for ; Fri, 24 Oct 2008 18:53:30 +0000 (UTC) (envelope-from martin.laabs@mailbox.tu-dresden.de) Received: from rmc67-31.zih.tu-dresden.de ([141.30.67.31] helo=server-n) by mailout1.zih.tu-dresden.de with esmtp (Exim 4.63) (envelope-from ) id 1KtRmq-0004GW-Py for freebsd-hackers@freebsd.org; Fri, 24 Oct 2008 20:53:29 +0200 Received: from localhost (p5B0ECAA7.dip.t-dialin.net [91.14.202.167]) by server-n (Postfix) with ESMTP id 90B3E100A08E for ; Fri, 24 Oct 2008 20:53:28 +0200 (CEST) Date: Fri, 24 Oct 2008 20:53:27 +0200 To: "freebsd-hackers@freebsd.org" From: "Martin Laabs" Content-Type: text/plain; charset=iso-8859-1 MIME-Version: 1.0 References: <200810241951.32135.hselasky@c2i.net> Content-Transfer-Encoding: 7bit Message-ID: In-Reply-To: <200810241951.32135.hselasky@c2i.net> User-Agent: Opera Mail/9.51 (Linux) X-TUD-Virus-Scanned: mailout1.zih.tu-dresden.de Subject: Re: libusb for linux-emulation X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Oct 2008 18:53:31 -0000 Hi, On Fri, 24 Oct 2008 19:51:31 +0200, 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. Thank you, Martin L.