From owner-freebsd-hackers@FreeBSD.ORG Fri Oct 24 19:25:35 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 1085710656A7 for ; Fri, 24 Oct 2008 19:25:35 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 983EA8FC1F for ; Fri, 24 Oct 2008 19:25:34 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=d6BVkb5LuPPVEe4iNQMLyA==:17 a=TKDmchfAZczgelm5W4cA:9 a=2S26oCYpd30BUgXJ7Tv5sxPV6ywA:4 a=9aOQ2cSd83gA:10 a=50e4U0PicR4A:10 Received: from [62.113.135.6] (account mc467741@c2i.net [62.113.135.6] verified) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.6) with ESMTPA id 1125596304; Fri, 24 Oct 2008 21:25:32 +0200 From: Hans Petter Selasky To: freebsd-hackers@freebsd.org Date: Fri, 24 Oct 2008 21:27:36 +0200 User-Agent: KMail/1.9.7 References: <200810241951.32135.hselasky@c2i.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200810242127.37997.hselasky@c2i.net> Cc: Martin Laabs 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 19:25:35 -0000 Hi Martin, Why can't you use and install: /usr/ports/devel/libusb ? --HPS On Friday 24 October 2008, Martin Laabs wrote: > 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. >