From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Klein To: law@cygnus.com Cc: gcc@gcc.gnu.org Subject: Re: MPE Port Date: Mon, 06 Sep 1999 10:40:00 -0000 Message-id: <4.1.19990906102853.00c7c950@garfield.dis.com> X-SW-Source: 1999-09/msg00191.html Explanation: This is a punt per your recommendation. :-) Sat Sep 4 18:00:00 PDT 1999 Mark Klein (mklein@dis.com) * libio/mpeix.mt: New file for MPE port. *** egcs/libio/config/mpeix.mt Wed Dec 31 16:00:00 1969 --- egcs-ss/libio/config/mpeix.mt Wed Sep 1 20:57:00 1999 *************** *** 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 -- Mark Klein DIS International, Ltd. http://www.dis.com 415-892-8400 PGP Public Key Available From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mark Klein To: law@cygnus.com Cc: gcc@gcc.gnu.org Subject: Re: MPE Port Date: Thu, 30 Sep 1999 18:02:00 -0000 Message-ID: <4.1.19990906102853.00c7c950@garfield.dis.com> X-SW-Source: 1999-09n/msg00191.html Message-ID: <19990930180200.C5hZw6MW9N8jQdmgqI_iJ6LYfgxWngz-L4RVbEnaTTI@z> Explanation: This is a punt per your recommendation. :-) Sat Sep 4 18:00:00 PDT 1999 Mark Klein (mklein@dis.com) * libio/mpeix.mt: New file for MPE port. *** egcs/libio/config/mpeix.mt Wed Dec 31 16:00:00 1969 --- egcs-ss/libio/config/mpeix.mt Wed Sep 1 20:57:00 1999 *************** *** 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 -- Mark Klein DIS International, Ltd. http://www.dis.com 415-892-8400 PGP Public Key Available