diff options
author | Jeff Johnston <jjohnstn@redhat.com> | 2003-05-31 01:47:40 +0400 |
---|---|---|
committer | Jeff Johnston <jjohnstn@redhat.com> | 2003-05-31 01:47:40 +0400 |
commit | 102861c9a6bf740801e08939a975ab97c9ede26c (patch) | |
tree | defe20533b49a436d57e09b1f7fea8a941a70b27 /newlib/README | |
parent | ad767835c919d73202271483dfba2b185e2219ed (diff) |
2003-05-30 Kelley Cook <kelleycook@wideopenwest.com>
* configure.host: Allow i[34567]86 variant.
* configure.in: Likewise.
* README: Likewise to the docs.
* configure: Regenerated.
* Makefile.in: Ditto.
Diffstat (limited to 'newlib/README')
-rw-r--r-- | newlib/README | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/README b/newlib/README index 433c0d789..cbb8e6714 100644 --- a/newlib/README +++ b/newlib/README @@ -275,7 +275,7 @@ Shared newlib ============= newlib uses libtool when it is being compiled natively (with ---target=i[3456]86-pc-linux-gnu) on an i[3456]86-pc-linux-gnu +--target=i[34567]86-pc-linux-gnu) on an i[34567]86-pc-linux-gnu host. This allows newlib to be compiled as a shared library. To configure newlib, do the following from your build directory: @@ -283,12 +283,12 @@ To configure newlib, do the following from your build directory: $(source_dir)/src/configure --with-newlib --prefix=$(install_dir) configure will recognize that host == target == -i[3456]86-pc-linux-gnu, so it will tell newlib to compile itself using +i[34567]86-pc-linux-gnu, so it will tell newlib to compile itself using libtool. By default, libtool will build shared and static versions of newlib. To compile a program against shared newlib, do the following (where -target_install_dir = $(install_dir)/i[3456]86-pc-linux-gnu): +target_install_dir = $(install_dir)/i[34567]86-pc-linux-gnu): gcc -nostdlib $(target_install_dir)/lib/crt0.o progname.c -I $(target_install_dir)/include -L $(target_install_dir)/lib -lc -lm -lgcc |