From owner-freebsd-hackers@FreeBSD.ORG Mon Oct 27 15:01:44 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 B8892106566B for ; Mon, 27 Oct 2008 15:01:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 743F98FC1B for ; Mon, 27 Oct 2008 15:01:44 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m9RF0UgZ083276; Mon, 27 Oct 2008 09:00:30 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Mon, 27 Oct 2008 09:01:39 -0600 (MDT) Message-Id: <20081027.090139.-1699739227.imp@bsdimp.com> To: freebsd-hackers@freebsd.org, martin.laabs@mailbox.tu-dresden.de, olli@lurza.secnetix.de From: "M. Warner Losh" In-Reply-To: <200810271420.m9REK9iF015611@lurza.secnetix.de> References: <200810271420.m9REK9iF015611@lurza.secnetix.de> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: 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: Mon, 27 Oct 2008 15:01:44 -0000 In message: <200810271420.m9REK9iF015611@lurza.secnetix.de> Oliver Fromme 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