Return-Path: <awaresystems.be+caf_=filtered=awaresystems.be@gmail.com>
Delivered-To: filtered@awaresystems.be
Received: from mx-j.one.com (mx-j.one.com [91.198.169.57])
	by mail6.b-one.net (Postfix) with ESMTP id 7D90880104420
	for <filtered@awaresystems.be>; Thu,  5 Jul 2012 17:07:42 +0200 (CEST)
X-Virus-Scanned: by one.com
Received-SPF: pass (mx-j: domain of awaresystems.be+caf_=filtered=awaresystems.be@gmail.com designates 209.85.161.176 as permitted sender)
X-Greylist: whitelisted by SQLgrey-1.8.0-rc2
Received: from mail-gg0-f176.google.com (mail-gg0-f176.google.com [209.85.161.176])
	by mx-j.one.com (Postfix) with ESMTP id 1CA7A64D516
	for <filtered@awaresystems.be>; Thu,  5 Jul 2012 15:07:41 +0000 (UTC)
Received: by ggnk4 with SMTP id k4so9578274ggn.21
        for <filtered@awaresystems.be>; Thu, 05 Jul 2012 08:07:41 -0700 (PDT)
Received: by 10.66.75.97 with SMTP id b1mr37736370paw.15.1341500860551;
        Thu, 05 Jul 2012 08:07:40 -0700 (PDT)
X-Forwarded-To: filtered@awaresystems.be
X-Forwarded-For: awaresystems.be@gmail.com filtered@awaresystems.be
Delivered-To: awaresystems.be@gmail.com
Received: by 10.143.92.14 with SMTP id u14csp28313wfl;
        Thu, 5 Jul 2012 08:07:39 -0700 (PDT)
Received: by 10.68.221.227 with SMTP id qh3mr28605687pbc.115.1341500858590;
        Thu, 05 Jul 2012 08:07:38 -0700 (PDT)
Received-SPF: softfail (google.com: best guess record for domain of transitioning tiff-bounces@lists.maptools.org does not designate 91.198.169.56 as permitted sender) client-ip=91.198.169.56;
Received: by 10.68.243.177 with POP3 id wz17mf12073851pbc.21;
        Thu, 05 Jul 2012 08:07:38 -0700 (PDT)
X-Gmail-Fetch-Info: info@awaresystems.be 1 pop.awaresystems.be 110 info@awaresystems.be
Delivered-To: info@awaresystems.be
Received: from mx-i.one.com (mx-i.one.com [91.198.169.56])
	by mail6.b-one.net (Postfix) with ESMTP id 7B35880104420
	for <info@awaresystems.be>; Thu,  5 Jul 2012 17:03:18 +0200 (CEST)
X-Greylist: accepted by SQLgrey-1.8.0-rc2
Received: from lists.maptools.org (lists.maptools.org [65.39.174.144])
	by mx-i.one.com (Postfix) with ESMTP id 24E7327BFD4
	for <info@awaresystems.be>; Thu,  5 Jul 2012 15:03:17 +0000 (UTC)
Received: from localhost.localdomain (localhost.localdomain [127.0.0.1])
	by lists.maptools.org (Postfix) with ESMTP id C5BE01EDB59;
	Thu,  5 Jul 2012 10:01:57 -0500 (EST)
Received: from blade.simplesystems.org (blade.simplesystems.org [65.66.246.74])
	by lists.maptools.org (Postfix) with ESMTPS id 0E4431EDB59
	for <tiff@lists.maptools.org>; Thu,  5 Jul 2012 09:32:32 -0500 (EST)
Received: from freddy.simplesystems.org (freddy.simplesystems.org
	[65.66.246.65])
	by blade.simplesystems.org (8.14.4+Sun/8.14.4) with ESMTP id
	q65EWTkf021124; Thu, 5 Jul 2012 09:32:29 -0500 (CDT)
Date: Thu, 5 Jul 2012 09:32:29 -0500 (CDT)
From: Bob Friesenhahn <bfriesen@simple.dallas.tx.us>
X-X-Sender: bfriesen@freddy.simplesystems.org
To: K D <kd8341@hotmail.com>
In-Reply-To: <BLU165-W5923CFBD9BF54CF594878ACEEF0@phx.gbl>
Message-ID: <alpine.GSO.2.01.1207050925250.27589@freddy.simplesystems.org>
References: <BLU165-W379457BCBA1282AB0FB67CEE80@phx.gbl>,
	<alpine.GSO.2.01.1207041453200.27589@freddy.simplesystems.org>
	<BLU165-W5923CFBD9BF54CF594878ACEEF0@phx.gbl>
User-Agent: Alpine 2.01 (GSO 1266 2009-07-14)
MIME-Version: 1.0
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.2
	(blade.simplesystems.org [65.66.246.90]);
	Thu, 05 Jul 2012 09:32:29 -0500 (CDT)
Cc: tiff@lists.maptools.org
Subject: Re: [Tiff] cross compile libtiff
X-BeenThere: tiff@lists.maptools.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: TIFF and libtiff discussion <tiff.lists.maptools.org>
List-Unsubscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=unsubscribe>
List-Archive: <http://lists.maptools.org/mailman/private/tiff>
List-Post: <mailto:tiff@lists.maptools.org>
List-Help: <mailto:tiff-request@lists.maptools.org?subject=help>
List-Subscribe: <http://lists.maptools.org/mailman/listinfo/tiff>,
	<mailto:tiff-request@lists.maptools.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Sender: tiff-bounces@lists.maptools.org
Errors-To: tiff-bounces@lists.maptools.org

On Thu, 5 Jul 2012, K D wrote:
> 
> I read the Autoconf doc you suggested and rerun configure and make as this:
> 
> $ ./configure --build=microblaze-unknown-linux-gnu --host=i686-pc-linux-gnu

I don't think that --build should/needs to be specified.

> And by reading build.log file, I don't see any microblaze-unknown-linux-gnu tool is called. I guess I still didn't use ./configure options
> correctly.
> 
> Also from config.log, I find this line:
> configure:3076: WARNING: using cross tools not prefixed with host triplet
> 
> Is it causing the problem? If yes, how should I correct it?

I think that the target architecture needs to be specified via --host 
and that the tools are then expected to be prefixed by that target 
architecture name.  There is no need to specify the host architecture 
used to execute the build.

For example, if you specified

   --host=ppc-unknown-linux-gnu

then your tools would be named similar to

   ppc-unknown-linux-gnu-gcc

If your tools are not named this way, you can add symbolic links so 
that they are accessible using the names that Autoconf looks for.

All of the tools (e.g. as, ar, ld, objdump, cc) should use the same 
architecture prefix in their name.

The config.log file should show that Autoconf is searching for (and 
finding) the tools you want it to use.

Bob
-- 
Bob Friesenhahn
bfriesen@simple.dallas.tx.us, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/
_______________________________________________
Tiff mailing list: Tiff@lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tiff
http://www.remotesensing.org/libtiff/
