File:  [gforth] / gforth / mkdosmf.sed
Revision 1.19: download - view: text, annotated - select for diffs
Sun Dec 13 23:29:59 1998 UTC (20 years, 7 months ago) by pazsan
Branches: MAIN
CVS tags: HEAD
Added some documentation (files stup, blocks stub, Mini-OOF implementation)
Added Benchres for my machine
made DOS and Win32 compile and run
New gforthmi.bat script for DOS - needs a temporary file for the commands
instead of the -e option.
Added select.o again for DOS (DJGPP's select is broken wrt timing)
Improved select.c
Bug with DOS: engine-ditc doesn't compile with optimization on. Maybe I need
to get a new GCC version for DOS?

# We use the bash and shell and file utilities with dos
s%SHELL%# SHELL%g
# s% rm% del%g
# s% cp% copy%g
s% ln -s% cp%g
s%@mach_h@%386%g
s%-pipe %%g
s% ./gforth% gforth%g
s%io.o %%g
s%-DDEFAULTPATH=\\".*"%%g
s%@kernel_fi@%kernl32l.fi%g
s%@KERNEL@%kernl16l.fi kernl16b.fi kernl32l.fi kernl32b.fi kernl64l.fi kernl64b.fi%g
s%@LIBOBJS@%ecvt.o io.o strsig.o getopt.o getopt1.o select.o%g
s%@host@%dos%g
s%@CC@%gcc%g
s%@GFORTH_EXE@%coff2exe $@%g
s%@GFORTHDITC_EXE@%coff2exe $@%g
s%@INSTALL@%install-sh%g
s%@INSTALL_PROGRAM@%install-sh%g
s%@INSTALL_DATA@%install-sh%g
s%@LN_S@%copy%g
s%@CFLAGS@%-fforce-mem -fforce-addr -fomit-frame-pointer%g
s%@ENGINE_FLAGS@%%g
s%@DEFS@%%g
s%@DEBUGFLAG@%%g
s%@LDFLAGS@%%g
s%@GCCLDFLAGS@%%g
s%@LIBS@%-lm -lpc%g
s%@prefix@%%g
s%@exec_prefix@%%g
s%@srcdir@%.%g
s%@LINK_KERNL@%-$(CP) kernl32l.fi kernel.fi%g
s%@PATHSEP@%;%g
s%-fforce-mem -fforce-addr %%g
s%echo ": version-string s\\" $(VERSION)\\" ;" > kernel/version.fs%$(CP) version.fs1 kernel\\version.fs%g
s%config.h.in ../config.status%%g
s%cd .. && CONFIG_FILES=$@ CONFIG_HEADERS=engine/config.h ./config.status%echo I hope you configured your system%g
s%$(FORTHPATH)$(PATHSEP)%%g
s%@FORTHSIZES@%%g
s%test x'$(VERSION)' = x`cat $@` || %%g
s%--clear-dictionary%-c%g
s%.$(PATHSEP)$(srcdir)%.%g
# s% -I$(srcdir)%%g
s%GFORTHD="./gforth-ditc -p .* $(srcdir)/%%g
s%gforth-ditc%gforth-d%g
s%engine-ditc%engine-d%g
s%main-ditc%main-d%g
s%@OSCLASS@%dos%g
s%@machine@%386%g
s%@VERSION@%0.4.0%g
s%@EXE@%.exe%g
s%cd engine && $(MAKE)%$(MAKE) -C engine%g
s%\(CFLAGS2.*\) -O4%\1%g

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>