From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.tuxdriver.com (charlotte.tuxdriver.com [70.61.120.58]) by dpdk.org (Postfix) with ESMTP id 14A635AA3 for ; Mon, 12 Jan 2015 14:51:35 +0100 (CET) Received: from hmsreliant.think-freely.org ([2001:470:8:a08:7aac:c0ff:fec2:933b] helo=localhost) by smtp.tuxdriver.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1YAfOz-0008Go-C6; Mon, 12 Jan 2015 08:51:31 -0500 Date: Mon, 12 Jan 2015 08:51:28 -0500 From: Neil Horman To: Bruce Richardson Message-ID: <20150112135128.GA23467@hmsreliant.think-freely.org> References: <20150112112131.GA13136@bricha3-MOBL3> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150112112131.GA13136@bricha3-MOBL3> User-Agent: Mutt/1.5.23 (2014-03-12) X-Spam-Score: -2.9 (--) X-Spam-Status: No Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] Cross-compilation of bsdapp on Ubuntu X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Jan 2015 13:51:35 -0000 On Mon, Jan 12, 2015 at 11:21:32AM +0000, Bruce Richardson wrote: > On Fri, Jan 09, 2015 at 09:14:16AM -0800, Ravi Kerur wrote: > > Hi, > > > > Has anyone successfully cross compiled bsdapp on Ubuntu or other linux > > flavor? From the Linux documentation I see > > > > "To compile all 64-bit targets using gcc, use: > > > > make install T=x86_64*gcc" > > > > which makes me believe that bsdapp can be cross-compiled. > > Actually, I think it's just that that bit got missed in the documentation update > when we added bsd support. :-) > I'm not aware of anyone who has successfully built a bsdapp dpdk application on > linux or vice-version. > You're not going to be able to cross compile bsd on a linux system or vice versa unless you install system level compat libs to handle all the OS-specific library calls. Those exist, but its usually not worth the effort to do so. Just as easy/easier to install a virt guest with the appropriate operating system. Neil > /Bruce > > > > > I am trying to understand what GNU libraries and other toolchain > > related installation has to be done on Linux in order to get bsd > > successfully compiled. Inputs appreciated. > > > > Thanks, > > > > Ravi >