From 217ad4a0b130d546091f071d5a7caa0763231022 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Thu, 25 Apr 2002 18:12:38 +0000 Subject: * configure.in (CC_FOR_BUILD): Set to gcc whether cross-compiling or not. (CC): Add -isystem's for targ-include and libc/include when they do not already appear in CC. --- newlib/README | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) (limited to 'newlib/README') diff --git a/newlib/README b/newlib/README index e07d29b9c..c32a5f06e 100644 --- a/newlib/README +++ b/newlib/README @@ -158,6 +158,25 @@ you can use it to test your guesses on abbreviations--for example: % sh config.sub i786v Invalid configuration `i786v': machine `i786v' not recognized +The Build, Host and Target Concepts in newlib +============================================= + +The build, host and target concepts are defined for gcc as follows: + +build: the platform on which gcc is built. +host: the platform on which gcc is run. +target: the platform for which gcc generates code. + +Since newlib is a library, the target concept does not apply to it, and the +build, host, and target options given to the top-level configure script must +be changed for newlib's use. + +The options are shifted according to these correspondences: + +gcc's build platform has no equivalent in newlib. +gcc's host platform is newlib's build platform. +gcc's target platform is newlib's host platform. +and as mentioned before, newlib has no concept of target. `configure' options =================== -- cgit v1.2.3