diff options
author | Mark Klein <mklein@dis.com> | 1999-09-13 12:30:08 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-09-13 06:30:08 -0600 |
commit | 6e47d69e3218e1c777ecf07d65de059bd14bee2d (patch) | |
tree | 058b3d48b83ef22f1142533c55fcb70e8e4bd1dd /libio/config | |
parent | 2da4ce1954bc4023785f79c082d0e488d90b21f7 (diff) | |
download | gcc-6e47d69e3218e1c777ecf07d65de059bd14bee2d.zip gcc-6e47d69e3218e1c777ecf07d65de059bd14bee2d.tar.gz gcc-6e47d69e3218e1c777ecf07d65de059bd14bee2d.tar.bz2 |
* config/mpeix.mt: New for MPEiX port.
From-SVN: r29374
Diffstat (limited to 'libio/config')
-rw-r--r-- | libio/config/mpeix.mt | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/libio/config/mpeix.mt b/libio/config/mpeix.mt new file mode 100644 index 0000000..9319939 --- /dev/null +++ b/libio/config/mpeix.mt @@ -0,0 +1,20 @@ +# Flags to pass to gen-params when building _G_config.h. +# For example: G_CONFIG_ARGS = size_t="unsigned long" +G_CONFIG_ARGS = DOLLAR_IN_LABEL=1 + +# +# gen-params tries to determine whether or not printf_fp exists by +# simply compiling a test program. Since MPE is by definition a +# shared runtime environment, this won't work unless the resulting +# program is run. Simply run _G_config.h through a sed script to +# update the values accordingly. +# +_G_CONFIG_H = stmp-Gconfig + +stmp-Gconfig: _G_config.h + sed -e "s/_G_HAVE_PRINTF_FP 1/_G_HAVE_PRINTF_FP 0/" \ + -e "s/_G_HAVE_LONG_DOUBLE_IO 1/_G_HAVE_LONG_DOUBLE_IO 0/" \ + <_G_config.h > tmp-config.h + mv -f tmp-config.h _G_config.h + touch stmp-Gconfig + $(MAKE) $(FLAGS_TO_PASS) _G_CONFIG_H=_G_config.h all |