diff options
author | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-25 22:12:38 +0400 |
---|---|---|
committer | Thomas Fitzsimmons <fitzsim@redhat.com> | 2002-04-25 22:12:38 +0400 |
commit | 217ad4a0b130d546091f071d5a7caa0763231022 (patch) | |
tree | 6e401b965843264801e5e30f1b98e214319e0636 /newlib/README | |
parent | e1a6dac2af9b90af97ac54fef264b064dfbde054 (diff) |
* 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.
Diffstat (limited to 'newlib/README')
-rw-r--r-- | newlib/README | 19 |
1 files changed, 19 insertions, 0 deletions
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 =================== |