From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-we0-f180.google.com (mail-we0-f180.google.com [74.125.82.180]) by dpdk.org (Postfix) with ESMTP id 847555907 for ; Tue, 24 Jun 2014 11:38:45 +0200 (CEST) Received: by mail-we0-f180.google.com with SMTP id x48so30227wes.39 for ; Tue, 24 Jun 2014 02:39:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id:organization :user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type; bh=itCmLVmLc6MbOzDWgalcQYnemL3/8QjJbaSbVaXPbfQ=; b=afGRs2Y5uHjsm3nFrAfUcyhrcCy8x7C9PI3jkizvhBaEFPobJLcarrfhx8g9Q8Vkv4 iuHERaQM7OlcDepebSrjmdF1m9J7xQe9FrCYw5PnLhxAuBkLiqoO6vZ9038fEzejs5O3 fPrSnuP4cZMYnGRroryRK1XRVjWa4fXDqMFAdP1MuZI3Ccy1XQthEI5VoYSMuZtSbc4J NtM1RAfD0zXHbdUKTy7YdWZKqOo+r4fFsi2vdtc3rIh6JMG6xNGe8aQQ52lVdcHufVaQ RQIMhXsrogLS5yQb6L3HFdqLImcntZ2O+FvZ5SoipgoMRj8tCa5eTUhqCsHbY++PnI6n YnQw== X-Gm-Message-State: ALoCoQnM2zZ2Qa5MMx/GOzWEC7DxgYxMH+/jTQLbJkNxnUGCgzriNq1Aa+y7gdiokx4D0es0Nj4J X-Received: by 10.194.204.170 with SMTP id kz10mr34782838wjc.38.1403602740164; Tue, 24 Jun 2014 02:39:00 -0700 (PDT) Received: from xps13.localnet (136-92-190-109.dsl.ovh.fr. [109.190.92.136]) by mx.google.com with ESMTPSA id h3sm42167585wjz.48.2014.06.24.02.38.58 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 24 Jun 2014 02:38:59 -0700 (PDT) From: Thomas Monjalon To: Bruce Richardson Date: Tue, 24 Jun 2014 11:38:57 +0200 Message-ID: <3326698.g5GoIMb4bc@xps13> Organization: 6WIND User-Agent: KMail/4.13.1 (Linux/3.14.6-1-ARCH; KDE/4.13.1; x86_64; ; ) In-Reply-To: <1403569384-16758-2-git-send-email-bruce.richardson@intel.com> References: <1403569384-16758-1-git-send-email-bruce.richardson@intel.com> <1403569384-16758-2-git-send-email-bruce.richardson@intel.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Cc: dev@dpdk.org Subject: Re: [dpdk-dev] [PATCH 1/2] mk: overriding CC also overrides HOSTCC 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: Tue, 24 Jun 2014 09:38:45 -0000 Hi Bruce, 2014-06-24 01:23, Bruce Richardson: > when overriding the CC variable on the commandline, the HOSTCC value > was remaining at "gcc", which caused errors on Free BSD10 when using a gcc > as e.g. gcc48, without a binary just called "gcc". This change overrides > HOSTCC when CC is overridden, which means that setting CC=gcc48, will > now also set HOSTCC=gcc48, allowing the "testhost" app to compile on BSD10 So you are mixing CC and HOSTCC which would break cross-compilation. Why don't you set HOSTCC on command line? -- Thomas