From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-db3eur04hn0214.outbound.protection.outlook.com [104.47.12.214]) by dpdk.org (Postfix) with ESMTP id 2B4811B5A0 for ; Wed, 27 Jun 2018 16:25:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=Mellanox.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mHImENxjGiqjEXRzJ0mwKi3CdYBXXTjdd1S8wqrQNOw=; b=NeUUTxFSJ/DIsmsGu7PUtQq+aZSC8jwpav7F8Li9U2yTonFZfpUd2jwb1Y07U+fZcsoNlw30/JE8WTvdUCt4KwPIAcALfKumjcLfCHOEUdMF9bLNP9os6p78y3nO2Zmuhbiiy+XbR44j/nyxqPIw1CX+Zsv3IO836scPdYB+kLc= Received: from VI1PR05MB4269.eurprd05.prod.outlook.com (52.133.12.22) by VI1PR05MB1743.eurprd05.prod.outlook.com (10.165.236.21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.884.22; Wed, 27 Jun 2018 14:25:41 +0000 Received: from VI1PR05MB4269.eurprd05.prod.outlook.com ([fe80::38aa:28e7:ddc:5a3f]) by VI1PR05MB4269.eurprd05.prod.outlook.com ([fe80::38aa:28e7:ddc:5a3f%5]) with mapi id 15.20.0906.018; Wed, 27 Jun 2018 14:25:41 +0000 From: Ali Alnubani To: 'Gavin Hu' , "'dev@dpdk.org'" CC: "'nd@arm.com'" Thread-Topic: [dpdk-dev] [PATCH v13 2/6] doc: add a guide doc for cross compiling from x86 Thread-Index: AQHUDC8txAoqR055BU++glvTyU2qy6R0JZ5w Date: Wed, 27 Jun 2018 14:25:41 +0000 Message-ID: References: <20180619103657.19186-1-gavin.hu@arm.com> <20180625024913.17219-1-gavin.hu@arm.com> <20180625024913.17219-3-gavin.hu@arm.com> In-Reply-To: <20180625024913.17219-3-gavin.hu@arm.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=alialnu@mellanox.com; x-originating-ip: [212.29.221.74] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; VI1PR05MB1743; 7:6Hjwr6mk8uapc8HC6t8NV6yQ+lQErH9w6GWQaccMIcmXK62nAY2Rak9zBwMWPokXjmu9HtlqVf01corOUA9BPxKTaN3vu5mZGVEjfKYlg7uviB+p4J5Es3o/wgF+Ay53Vj0gnEuwMdt5UrHWes1n9g5Fwy4VrFX0AZGMqSFI5f0SvblfC2neL+wsh0jyI7ZS5dC6Q5txL69dwTNQssPo3BrvYy1o+TYU3LiPM8H8mRfxNgHbdRjKdh04BTAKYMM4 x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: 8296cf07-bc01-47c5-fa9b-08d5dc39dcd7 x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(8989117)(4534165)(4627221)(201703031133081)(201702281549075)(8990107)(5600026)(711020)(48565401081)(2017052603328)(7153060)(7193020); SRVR:VI1PR05MB1743; x-ms-traffictypediagnostic: VI1PR05MB1743:|VI1PR05MB1743: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(73538370219878); x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(5005006)(8121501046)(3231254)(2232096)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123562045)(20161123560045)(20161123558120)(6072148)(201708071742011)(7699016); SRVR:VI1PR05MB1743; BCL:0; PCL:0; RULEID:; SRVR:VI1PR05MB1743; x-forefront-prvs: 0716E70AB6 x-forefront-antispam-report: SFV:SPM; SFS:(10009020)(396003)(346002)(136003)(376002)(366004)(39860400002)(199004)(189003)(476003)(2906002)(110136005)(316002)(33656002)(81156014)(81166006)(5660300001)(5250100002)(486006)(99286004)(68736007)(86362001)(106356001)(105586002)(186003)(102836004)(55016002)(11346002)(8936002)(6116002)(6436002)(26005)(76176011)(53936002)(7736002)(446003)(97736004)(14454004)(25786009)(7696005)(74316002)(6246003)(4326008)(6506007)(478600001)(66066001)(229853002)(9686003)(256004)(2900100001)(3846002)(305945005)(59010400001); DIR:OUT; SFP:1501; SCL:5; SRVR:VI1PR05MB1743; H:VI1PR05MB4269.eurprd05.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: mellanox.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: IxRveS+kVbYTAZToKw/buUbK0DdNkl0Bs3OG0OLrAh0HFoQRLIE8vzSafOTU9gPPwSJgv/WizHTwS8kK6MrrSn4axOhBZWZsJoim8A0Tjx7LfWQqq7a1FZtasG7NZ8pSePuPWGDMopKZuCkOinOr+eT2DpcG4JljPyswFgM3HPd/4eoUDS7JvUW2C8EliSug076Menv0+X/JaOp6dSXXy2p08l9pCH+Fek55spysQBJ7fBCrG4wlTwvXKuDrxwSOKpQS0p8XV9Av7AHPdqIKNinB/qawWUG5DmsBiUjWnfcd2ygptueBx0klP8KXGct4gx33piPzIdJPrftjdZXeQamCFC/rQtZCOIos7p0LzJo0MfhQzP8kCCBvQ5NSNuq8ppE60yFOeUtx7plnzeFemaV5p+rf/xsxTfwo9p5EaAYhdwBte7QfW131Ci+o5UjcGDnvrjY/nd/XNVndZqEma/o0U+0gVflfTQwwaa4NC5QqZ8FE/7hML41FT6fsohNUaDJ7nkb0ZZWVXezbQ9Rwc3JjbD4uvNolXIZUYWg51NcEKZnomHW2jDm/7fLRGcorctNkOnLVdjlUkR4wdyzbj1gBQfZ5b1X2Kcli9ZbX7iKNztnuQRGEkf8XU/VbuDJ2w/2OXi6CwLIOttIJm5l2LKR1XklyOJUOjZg4SCiQ/IaR2DZfmREf2zwM/ptWH6erRkLXhV1H1K459N3gdqHl6A== spamdiagnosticoutput: 1:22 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: Mellanox.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8296cf07-bc01-47c5-fa9b-08d5dc39dcd7 X-MS-Exchange-CrossTenant-originalarrivaltime: 27 Jun 2018 14:25:41.8030 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: a652971c-7d2e-4d9b-a6a4-d149256f461b X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR05MB1743 Subject: Re: [dpdk-dev] [PATCH v13 2/6] doc: add a guide doc for cross compiling from x86 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: Wed, 27 Jun 2018 14:25:50 -0000 Hi Gavin, Thanks for documenting these steps. Comments are inline. > + cd numactl > + git checkout v2.0.11 -b v2.0.11 > + ./autogen.sh > + autoconf -i > + ./configure --host=3Dx86_64 CC=3Daarch64-linux-gnu-gcc prefix=3D dir> >>From ./configure -h: "--host=3DHOST cross-compile to build programs to run on HOST [BUILD]= " Shouldn't it be aarch64-linux-gnu? Also I think it would be safer to use '--' with prefix, since I think the c= onfigure script might not throw an error for an invalid argument that doesn't start with '-= -'. > + make install > + Regards, Ali