[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

building native tools in a cross-compile environment

From: Harlan Stenn
Subject: building native tools in a cross-compile environment
Date: Tue, 18 Jun 2002 22:36:41 -0400
User-agent: EMH/1.10.0 SEMI/1.13.7 (Awazu) FLIM/1.13.2 (Kasanui) XEmacs/21.1 (patch 14) (Cuyahoga Valley) (i386--freebsd)

I've been looking thru the docs and I I haven't found a way to do the

I am using automake and autoconf.

I am assuming:

- "build" means the arch of the build machine
- "host" the arch of the place where built stuff gets run

autoconf detects build != host and sets up for a cross-compile.

This is a Good Thing, and CC=host_cpu-host_vendor-host_os-gcc when I am

However, I am coming across a case where the software package has some
tools that are designed to be used as part of the build process and
therefore need to use build-cc instead of host-cc.

So how do I tell automake that for some PROGRAMS it should use host-cc
instead of build-cc?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]