Subject: Host CC vs Target CC?
To: None <tech-ports@NetBSD.ORG>
From: Andrew Cagney <cagney@highland.com.au>
List: tech-ports
Date: 01/09/1995 12:22:56
Hello,

When cross compiling, there are normally two sets of compile tools involved

	o	those to build for the target

	o	those to build `hosted' tools

To explain it better, the program genassym, is `hosted'.  It is run on
the development host, generating code that is then compiled for the
target.  (Another more common example would be a tool tool that consumes
a target exacutable to produce a bootable image).

At present, however, genassym is compiled using ${CC}.  Should it
instead be built using something like ${HOST_CC} or some such?

Any way, my real question is has any one yet addressed this issue? 
Perhaphs I've missed it :-)

	Andrew