From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out1-smtp.messagingengine.com (out1-smtp.messagingengine.com [66.111.4.25]) by dpdk.org (Postfix) with ESMTP id 5AEEE568A for ; Fri, 14 Sep 2018 16:55:25 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id D2BEC24AAA; Fri, 14 Sep 2018 10:55:24 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Fri, 14 Sep 2018 10:55:24 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= cc:content-transfer-encoding:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-sender :x-me-sender:x-sasl-enc; s=mesmtp; bh=bAIKmtQUdKqqs8cOtQ/DgdFuQO Lo5x8A3xQqIsiBs3U=; b=iXnRybvu6zQgRKfrzHP5O2UvVfxtZGtecuYywCqcpb F4w6Yrv1sCAq3SMqw7mWJt+oJJwqHqlpnlIgEtIS19qOu/sxT8fWV1+yCuRR0uzW UUIF6GxOHs52rTq4tuB9BlZY/q8hZ8hIPVe7JePWIvqzZ2nYJBGXIiF1pTHbe+vR w= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-sender:x-me-sender:x-sasl-enc; s=fm3; bh=bAIKmt QUdKqqs8cOtQ/DgdFuQOLo5x8A3xQqIsiBs3U=; b=AhG7E5h3gcPb6zyFe1HrgB lbu2l2FNXP15t4Fi/Gfq5tdX6c29j9RNzXnvaOCjjrKleOelm1aUdZvB3eue1hkU kmYRvJuB7FCZg13SDH7Dadvxkk4SFjoU4YU1B4QNB3c43V2n/iE7Lz8S8OouPC3K Fr6yUL3RWPOgV7SC2GngG0nouXbUMbDCo/xRdtGnPTO9upX+eU5fF9Pg46lGjfjs XXVRbfKSydhaZ2ClbwQ3oPnVcApW/TCG5Qws8dQCKghFBnZjp4vB1Vn0lLV9yU+B Nd2fs6OdINO6nt6s3XoQ8/p3itCzmNWIzrIFjh1f/DsTNEpkrFlXmMyEleCQRydg == X-ME-Proxy: X-ME-Sender: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id E989C102D4; Fri, 14 Sep 2018 10:55:23 -0400 (EDT) From: Thomas Monjalon To: Gavin Hu Cc: dev@dpdk.org, Honnappa.Nagarahalli@arm.com Date: Fri, 14 Sep 2018 16:55:22 +0200 Message-ID: <5450954.yPR8R2XMoi@xps> In-Reply-To: <1534263514-9816-1-git-send-email-gavin.hu@arm.com> References: <1534263514-9816-1-git-send-email-gavin.hu@arm.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH] doc: add cross compile part for sample applications X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Sep 2018 14:55:25 -0000 14/08/2018 18:18, Gavin Hu: > +For cross compiling the sample application(s), please append 'CC=$(CROSS_COMPILER)' to the 'make' command. As you can see in doc/build-sdk-quick.txt, you should use CROSS= for cross compilation. > +For example: > + export CROSS_COMPILER=aarch64-linux-gnu-gcc > + make -C examples CC=$(CROSS_COMPILER) It should be make -C examples CROSS=aarch64-linux-gnu- Please would you like to make a patch v2 ?