merge fixes for Cygwin
svn: r493
This commit is contained in:
parent
e6e64379d2
commit
3c094e6f15
35
src/README
35
src/README
|
@ -29,14 +29,10 @@ Please report bugs via one of the following:
|
||||||
To compile with Microsoft Visual C, read the instructions in
|
To compile with Microsoft Visual C, read the instructions in
|
||||||
plt\src\worksp\README.
|
plt\src\worksp\README.
|
||||||
|
|
||||||
To compile MzScheme with Cygwin tools, follow the Unix instructions
|
To compile with Cygwin tools, follow the Unix instructions below, and
|
||||||
below. MrEd does not compile with Cygwin.
|
be sure to configure with --enable-shared. The result is a Unix-style
|
||||||
|
build, not a Windows-style build (e.g., MzScheme's `system-type'
|
||||||
Regardless of the compiler used to build MzScheme, compatible
|
procedure returns 'unix, not 'windows, and MrEd uses X11).
|
||||||
extensions can be built with any of the other compilers. For example,
|
|
||||||
to support Borland-built extensions after compiling MzScheme with MSVC
|
|
||||||
or Cygwin, cd to plt\src\mzscheme\dynsrc and run mkbordyn.bat. (The
|
|
||||||
mkbordyn.bat script requires bcc23.exe.)
|
|
||||||
|
|
||||||
========================================================================
|
========================================================================
|
||||||
Compiling for Mac OS X
|
Compiling for Mac OS X
|
||||||
|
@ -68,8 +64,7 @@ the Unix instructions below, but note the following:
|
||||||
'unix.
|
'unix.
|
||||||
|
|
||||||
========================================================================
|
========================================================================
|
||||||
Compiling for supported Unix variants (including Linux)
|
Compiling for supported Unix variants (including Linux) or Cygwin
|
||||||
or Cygwin (MzScheme only)
|
|
||||||
========================================================================
|
========================================================================
|
||||||
|
|
||||||
0. If you have an old PLT installation in the target directory,
|
0. If you have an old PLT installation in the target directory,
|
||||||
|
@ -143,7 +138,7 @@ the Unix instructions below, but note the following:
|
||||||
|
|
||||||
2. Run `make'. [As noted in step 0, this must be GNU `make'.]
|
2. Run `make'. [As noted in step 0, this must be GNU `make'.]
|
||||||
|
|
||||||
With Cygwin, use `make --unix'.
|
With Cygwin, you may need to use `make --unix'.
|
||||||
|
|
||||||
Binaries and libraries are placed in subdirectories of the build
|
Binaries and libraries are placed in subdirectories of the build
|
||||||
directory. For example, the `mzscheme' binary appears in the
|
directory. For example, the `mzscheme' binary appears in the
|
||||||
|
@ -170,19 +165,11 @@ the Unix instructions below, but note the following:
|
||||||
--enabled-shared, beware that you may accumlate many old, unused
|
--enabled-shared, beware that you may accumlate many old, unused
|
||||||
versions of the dynamic libraries in plt/lib.
|
versions of the dynamic libraries in plt/lib.
|
||||||
|
|
||||||
4a. ONLY Cygwin: Create the other executables (besides mred.exe and
|
4. ONLY Subversion users with in-place builds: the `make install'
|
||||||
mzscheme.exe) by running
|
step does not run plt/install for an in-place build, because old
|
||||||
mzscheme.exe -mvqM- setup
|
.zo files typically need to be deleted, first. After an initial
|
||||||
in the plt directory (one directory up from here). The above makes
|
in-place build, manually run ./install in the plt directory. For
|
||||||
the .zo files, too, but add -n to the end of the command to skip
|
later builds, manually run plt/bin/setup-plt.
|
||||||
the .zo-compiling step. Afterwards, `plt/Setup PLT.exe' and
|
|
||||||
`plt/mzc.exe' work.
|
|
||||||
|
|
||||||
4b. ONLY Subversion users with in-place builds: the `make install'
|
|
||||||
step does not run plt/install for an in-place build, because old
|
|
||||||
.zo files typically need to be deleted, first. After an initial
|
|
||||||
in-place build, manually run ./install in the plt directory. For
|
|
||||||
later builds, manually run plt/bin/setup-plt.
|
|
||||||
|
|
||||||
After an "in-place" install without Subversion, the plt/src directory
|
After an "in-place" install without Subversion, the plt/src directory
|
||||||
is no longer needed, and it can be safely deleted. Build information
|
is no longer needed, and it can be safely deleted. Build information
|
||||||
|
|
19
src/configure
vendored
19
src/configure
vendored
|
@ -314,7 +314,7 @@ ac_subdirs_all="$ac_subdirs_all foreign/gcc/libffi"
|
||||||
ac_subdirs_all="$ac_subdirs_all llvm/llvm"
|
ac_subdirs_all="$ac_subdirs_all llvm/llvm"
|
||||||
ac_subdirs_all="$ac_subdirs_all wxcommon/jpeg"
|
ac_subdirs_all="$ac_subdirs_all wxcommon/jpeg"
|
||||||
ac_subdirs_all="$ac_subdirs_all wxxt/src/x/wbuild"
|
ac_subdirs_all="$ac_subdirs_all wxxt/src/x/wbuild"
|
||||||
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXCPP RANLIB ac_ct_RANLIB PERL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PREFLAGS COMPFLAGS PROFFLAGS SED AS AR STATIC_AR ARFLAGS WBUILD CC_FOR_BUILD REZ MZLINKER PLAIN_CC x_includes x_libraries OPTIONS MZOPTIONS CGCOPTIONS GC2OPTIONS MROPTIONS GCDIR MZBINTARGET MZINSTALLTARGET EXTRA_GMP_OBJ OSX NOT_OSX FRAMEWORK_INSTALL_DIR MREDLINKER LIBSFX WXLIBS WXVARIANT ICP MRLIBINSTALL LIBFINISH MAKE_MRED MAKE_MRED3M MAKE_MREDINSTALL MAKE_MREDINSTALL3M MAKE_WBUILD MAKE_COPYTREE MAKE_FINISH WXPRECOMP USE_WXPRECOMP INCLUDEDEP WX_MMD_FLAG JPEG_A JPEG_INC ZLIB_A ZLIB_INC PNG_A OSKHOME EXTRA_OSK_LIBS FOREIGN_OBJSLIB_IF_USED FOREIGN_LIB_IF_USED FOREIGN_OBJSLIB FOREIGN_CONVENIENCE FOREIGNTARGET LLVMTARGET LTO LTA subdirs LIBOBJS LTLIBOBJS'
|
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP EGREP CXX CXXFLAGS ac_ct_CXX CXXCPP RANLIB ac_ct_RANLIB PERL X_CFLAGS X_PRE_LIBS X_LIBS X_EXTRA_LIBS PREFLAGS COMPFLAGS PROFFLAGS SED AS AR STATIC_AR ARFLAGS WBUILD CC_FOR_BUILD REZ MZLINKER PLAIN_CC x_includes x_libraries OPTIONS MZOPTIONS CGCOPTIONS GC2OPTIONS MROPTIONS GCDIR MZBINTARGET MZINSTALLTARGET EXTRA_GMP_OBJ OSX NOT_OSX FRAMEWORK_INSTALL_DIR MREDLINKER LIBSFX WXLIBS WXVARIANT ICP MRLIBINSTALL LIBFINISH MAKE_MRED MAKE_MRED3M MAKE_MREDINSTALL MAKE_MREDINSTALL3M MAKE_WBUILD MAKE_COPYTREE MAKE_FINISH WXPRECOMP USE_WXPRECOMP INCLUDEDEP WX_MMD_FLAG JPEG_A JPEG_INC ZLIB_A ZLIB_INC PNG_A OSKHOME EXTRA_OSK_LIBS FOREIGN_OBJSLIB_IF_USED FOREIGN_LIB_IF_USED FOREIGN_OBJSLIB FOREIGN_CONVENIENCE FOREIGNTARGET LIBMZSCHEME_DEP LIBMRED_DEP LLVMTARGET LTO LTA subdirs LIBOBJS LTLIBOBJS'
|
||||||
ac_subst_files=''
|
ac_subst_files=''
|
||||||
|
|
||||||
# Initialize some variables set by options.
|
# Initialize some variables set by options.
|
||||||
|
@ -5127,6 +5127,9 @@ PNG_A='$(PNG_A)'
|
||||||
|
|
||||||
PREFLAGS="$CPPFLAGS"
|
PREFLAGS="$CPPFLAGS"
|
||||||
|
|
||||||
|
ar_libtool_no_undefined=""
|
||||||
|
LIBMZSCHEME_DEP=""
|
||||||
|
|
||||||
###### OSKit stuff #######
|
###### OSKit stuff #######
|
||||||
|
|
||||||
if test "${enable_oskit}" = "yes" ; then
|
if test "${enable_oskit}" = "yes" ; then
|
||||||
|
@ -8550,7 +8553,12 @@ case $OS in
|
||||||
# EXTRALIBS="$LIBS gmzwin.exp"
|
# EXTRALIBS="$LIBS gmzwin.exp"
|
||||||
# MZOPTIONS="$MZOPTIONS -DGC_DLL"
|
# MZOPTIONS="$MZOPTIONS -DGC_DLL"
|
||||||
# CGCOPTIONS="$CGCOPTIONS -DGC_DLL -DGC_BUILD -DUSE_MSVC_MD_LIBRARY -DMD_LIB_MAIN"
|
# CGCOPTIONS="$CGCOPTIONS -DGC_DLL -DGC_BUILD -DUSE_MSVC_MD_LIBRARY -DMD_LIB_MAIN"
|
||||||
BUILD_CYGWIN_LIKE_UNIX=yes
|
MZINSTALLTARGET=unix-cygwin-install
|
||||||
|
if test "${enable_shared}" = "yes" ; then
|
||||||
|
ar_libtool_no_undefined=" -no-undefined"
|
||||||
|
LIBMZSCHEME_DEP="libmzgc.la -liconv"
|
||||||
|
LIBMRED_DEP="../mzscheme/libmzgc.la ../mzscheme/libmred.la"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
BeOS)
|
BeOS)
|
||||||
if test "${enable_sgcdebug}" = "yes" ; then
|
if test "${enable_sgcdebug}" = "yes" ; then
|
||||||
|
@ -10859,7 +10867,7 @@ if test "${enable_shared}" = "yes" ; then
|
||||||
plt_lib_version=`grep " MZSCHEME_VERSION " ${srcdir}/mzscheme/src/schvers.h | cut -d '"' -f 2`
|
plt_lib_version=`grep " MZSCHEME_VERSION " ${srcdir}/mzscheme/src/schvers.h | cut -d '"' -f 2`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AR="${LTDIR}/libtool --mode=link $CC${need_gcc_static_libgcc} -release ${plt_lib_version} -rpath ${absprefix}/lib -o"
|
AR="${LTDIR}/libtool --mode=link $CC${need_gcc_static_libgcc}${ar_libtool_no_undefined} -release ${plt_lib_version} -rpath ${absprefix}/lib -o"
|
||||||
STATIC_AR="${LTDIR}/libtool --mode=link $CC -o"
|
STATIC_AR="${LTDIR}/libtool --mode=link $CC -o"
|
||||||
ARFLAGS=""
|
ARFLAGS=""
|
||||||
RANLIB=":"
|
RANLIB=":"
|
||||||
|
@ -10978,6 +10986,9 @@ LIBS="$LIBS $EXTRALIBS"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -11844,6 +11855,8 @@ s,@FOREIGN_LIB_IF_USED@,$FOREIGN_LIB_IF_USED,;t t
|
||||||
s,@FOREIGN_OBJSLIB@,$FOREIGN_OBJSLIB,;t t
|
s,@FOREIGN_OBJSLIB@,$FOREIGN_OBJSLIB,;t t
|
||||||
s,@FOREIGN_CONVENIENCE@,$FOREIGN_CONVENIENCE,;t t
|
s,@FOREIGN_CONVENIENCE@,$FOREIGN_CONVENIENCE,;t t
|
||||||
s,@FOREIGNTARGET@,$FOREIGNTARGET,;t t
|
s,@FOREIGNTARGET@,$FOREIGNTARGET,;t t
|
||||||
|
s,@LIBMZSCHEME_DEP@,$LIBMZSCHEME_DEP,;t t
|
||||||
|
s,@LIBMRED_DEP@,$LIBMRED_DEP,;t t
|
||||||
s,@LLVMTARGET@,$LLVMTARGET,;t t
|
s,@LLVMTARGET@,$LLVMTARGET,;t t
|
||||||
s,@LTO@,$LTO,;t t
|
s,@LTO@,$LTO,;t t
|
||||||
s,@LTA@,$LTA,;t t
|
s,@LTA@,$LTA,;t t
|
||||||
|
|
|
@ -102,7 +102,7 @@ mred : $(MZSCHEME) mrmain.@LTO@ $(MREDOBJECTS) $(@WXLIBS@) $(MRSTATIC_STUB)
|
||||||
$(MREDLINKER) $(MREDLDFLAGS) $(MRSTATIC) -o mred $(MREDOBJECTS) $(MREDLDLIBS) $(MRSTATIC_STUB)
|
$(MREDLINKER) $(MREDLDFLAGS) $(MRSTATIC) -o mred $(MREDOBJECTS) $(MREDLDLIBS) $(MRSTATIC_STUB)
|
||||||
|
|
||||||
libmred.@LIBSFX@: $(WXLIBSNORM)
|
libmred.@LIBSFX@: $(WXLIBSNORM)
|
||||||
$(AR) $(ARFLAGS) libmred.@LIBSFX@ $(WXLIBSNORM)
|
$(AR) $(ARFLAGS) libmred.@LIBSFX@ $(WXLIBSNORM) @LIBMRED_DEP@
|
||||||
|
|
||||||
MRFW = PLT_MrEd.framework/Versions/$(FWVERSION)/PLT_MrEd
|
MRFW = PLT_MrEd.framework/Versions/$(FWVERSION)/PLT_MrEd
|
||||||
MRFWRES = PLT_MrEd.framework/Versions/$(FWVERSION)/Resources/PLT_MrEd.rsrc
|
MRFWRES = PLT_MrEd.framework/Versions/$(FWVERSION)/Resources/PLT_MrEd.rsrc
|
||||||
|
|
|
@ -45,6 +45,7 @@ normal-bin:
|
||||||
$(MAKE) mzlibrary
|
$(MAKE) mzlibrary
|
||||||
$(MAKE) mzscheme
|
$(MAKE) mzscheme
|
||||||
|
|
||||||
|
# OBSOLTE:
|
||||||
cygwin-bin:
|
cygwin-bin:
|
||||||
$(MAKE) starter
|
$(MAKE) starter
|
||||||
$(MAKE) dynlib
|
$(MAKE) dynlib
|
||||||
|
@ -72,6 +73,7 @@ oe:
|
||||||
$(MAKE) dynlib
|
$(MAKE) dynlib
|
||||||
cd dynsrc; $(MAKE) oe
|
cd dynsrc; $(MAKE) oe
|
||||||
|
|
||||||
|
# OBSOLTE:
|
||||||
cygwin-dll-setup:
|
cygwin-dll-setup:
|
||||||
cd src; $(MAKE) mzheaders
|
cd src; $(MAKE) mzheaders
|
||||||
$(MAKE) gmzwin.exp
|
$(MAKE) gmzwin.exp
|
||||||
|
@ -108,7 +110,7 @@ mzlibrary:
|
||||||
$(MAKE) libmzscheme.@LIBSFX@
|
$(MAKE) libmzscheme.@LIBSFX@
|
||||||
|
|
||||||
libmzscheme.@LIBSFX@: src/*.@LTO@ @FOREIGN_LIB_IF_USED@
|
libmzscheme.@LIBSFX@: src/*.@LTO@ @FOREIGN_LIB_IF_USED@
|
||||||
$(AR) $(ARFLAGS) libmzscheme.@LIBSFX@ src/*.@LTO@ @FOREIGN_OBJSLIB_IF_USED@
|
$(AR) $(ARFLAGS) libmzscheme.@LIBSFX@ src/*.@LTO@ @FOREIGN_OBJSLIB_IF_USED@ @LIBMZSCHEME_DEP@
|
||||||
$(RANLIB) libmzscheme.@LIBSFX@
|
$(RANLIB) libmzscheme.@LIBSFX@
|
||||||
|
|
||||||
# Irix sproc, only
|
# Irix sproc, only
|
||||||
|
@ -121,6 +123,7 @@ mzscheme@NOT_OSX@: libmzscheme.@LIBSFX@ libmzgc.@LIBSFX@ main.@LTO@ $(SPECIALIZI
|
||||||
@MZLINKER@ -o mzscheme main.@LTO@ $(SPECIALIZINGOBJECTS) libmzscheme.@LIBSFX@ libmzgc.@LIBSFX@ @LDFLAGS@ @LIBS@
|
@MZLINKER@ -o mzscheme main.@LTO@ $(SPECIALIZINGOBJECTS) libmzscheme.@LIBSFX@ libmzgc.@LIBSFX@ @LDFLAGS@ @LIBS@
|
||||||
|
|
||||||
# Cygwin ----------------------------------------
|
# Cygwin ----------------------------------------
|
||||||
|
# OBSOLTE:
|
||||||
|
|
||||||
libmzgcxxxxxxx.dll : libmzgc.a
|
libmzgcxxxxxxx.dll : libmzgc.a
|
||||||
gcc -mdll -o libmzgcxxxxxxx.dll -Wl,--whole-archive libmzgc.a -Wl,--no-whole-archive
|
gcc -mdll -o libmzgcxxxxxxx.dll -Wl,--whole-archive libmzgc.a -Wl,--no-whole-archive
|
||||||
|
@ -267,11 +270,10 @@ ICP=@ICP@
|
||||||
# Prefix might be relative to srcdir, or it might be absolute, so we
|
# Prefix might be relative to srcdir, or it might be absolute, so we
|
||||||
# have to go up and install things from there.
|
# have to go up and install things from there.
|
||||||
|
|
||||||
normal-install:
|
unix-install:
|
||||||
cd ..; if [ ! -d $(prefix)/bin ] ; then mkdir $(prefix)/bin ; fi
|
cd ..; if [ ! -d $(prefix)/bin ] ; then mkdir $(prefix)/bin ; fi
|
||||||
cd ..; rm -f $(prefix)/bin/mzscheme
|
cd ..; rm -f $(prefix)/bin/mzscheme
|
||||||
cd ..; if [ ! -d $(LIBIDIR) ] ; then mkdir $(LIBIDIR) ; fi
|
cd ..; if [ ! -d $(LIBIDIR) ] ; then mkdir $(LIBIDIR) ; fi
|
||||||
cd ..; cp mzscheme/mzdyn.o $(LIBIDIR)/mzdyn.o
|
|
||||||
cd ..; $(ICP) mzscheme/libmzgc.@LIBSFX@ $(LIBIDIR)/libmzgc.@LIBSFX@
|
cd ..; $(ICP) mzscheme/libmzgc.@LIBSFX@ $(LIBIDIR)/libmzgc.@LIBSFX@
|
||||||
cd ..; $(ICP) mzscheme/libmzscheme.@LIBSFX@ $(LIBIDIR)/libmzscheme.@LIBSFX@
|
cd ..; $(ICP) mzscheme/libmzscheme.@LIBSFX@ $(LIBIDIR)/libmzscheme.@LIBSFX@
|
||||||
cd ..; $(ICP) mzscheme/mzscheme `(cd $(prefix); pwd)`/bin/mzscheme
|
cd ..; $(ICP) mzscheme/mzscheme `(cd $(prefix); pwd)`/bin/mzscheme
|
||||||
|
@ -282,6 +284,10 @@ normal-install:
|
||||||
cd ..; echo "LDFLAGS=@LDFLAGS@" >> $(BUILDINFO)
|
cd ..; echo "LDFLAGS=@LDFLAGS@" >> $(BUILDINFO)
|
||||||
cd ..; echo 'LIBS=@LIBS@' >> $(BUILDINFO)
|
cd ..; echo 'LIBS=@LIBS@' >> $(BUILDINFO)
|
||||||
|
|
||||||
|
normal-install:
|
||||||
|
$(MAKE) unix-install
|
||||||
|
cd ..; cp mzscheme/mzdyn.o $(LIBIDIR)/mzdyn.o
|
||||||
|
|
||||||
MZFWDIR = @FRAMEWORK_INSTALL_DIR@/PLT_MzScheme.framework
|
MZFWDIR = @FRAMEWORK_INSTALL_DIR@/PLT_MzScheme.framework
|
||||||
|
|
||||||
osx-install:
|
osx-install:
|
||||||
|
@ -306,6 +312,7 @@ install-3m@OSX@:
|
||||||
WLIBIDIR=`(cd $(prefix); pwd)`/lib
|
WLIBIDIR=`(cd $(prefix); pwd)`/lib
|
||||||
WBUILDINFO=$(WLIBIDIR)/buildinfo
|
WBUILDINFO=$(WLIBIDIR)/buildinfo
|
||||||
|
|
||||||
|
# OBSOLTE:
|
||||||
cygwin-install:
|
cygwin-install:
|
||||||
cd ..; rm -f $(prefix)/mzscheme.exe
|
cd ..; rm -f $(prefix)/mzscheme.exe
|
||||||
cd ..; cp mzscheme/mzscheme.exe $(prefix)/mzscheme.exe
|
cd ..; cp mzscheme/mzscheme.exe $(prefix)/mzscheme.exe
|
||||||
|
@ -318,5 +325,9 @@ cygwin-install:
|
||||||
cd ..; echo 'CFLAGS=@CFLAGS@ @OPTIONS@' >> $(WBUILDINFO)
|
cd ..; echo 'CFLAGS=@CFLAGS@ @OPTIONS@' >> $(WBUILDINFO)
|
||||||
cd ..; echo 'LIBS=@LIBS@' >> $(WBUILDINFO)
|
cd ..; echo 'LIBS=@LIBS@' >> $(WBUILDINFO)
|
||||||
|
|
||||||
|
unix-cygwin-install:
|
||||||
|
$(MAKE) unix-install
|
||||||
|
cd dynsrc; $(MAKE) cygwin-install
|
||||||
|
|
||||||
config:
|
config:
|
||||||
autoconf $(srcdir)/configure.ac | mzscheme -qr $(srcdir)/clean_ac.ss > $(srcdir)/../configure
|
autoconf $(srcdir)/configure.ac | mzscheme -qr $(srcdir)/clean_ac.ss > $(srcdir)/../configure
|
||||||
|
|
|
@ -197,6 +197,9 @@ PNG_A='$(PNG_A)'
|
||||||
|
|
||||||
PREFLAGS="$CPPFLAGS"
|
PREFLAGS="$CPPFLAGS"
|
||||||
|
|
||||||
|
ar_libtool_no_undefined=""
|
||||||
|
LIBMZSCHEME_DEP=""
|
||||||
|
|
||||||
###### OSKit stuff #######
|
###### OSKit stuff #######
|
||||||
|
|
||||||
if test "${enable_oskit}" = "yes" ; then
|
if test "${enable_oskit}" = "yes" ; then
|
||||||
|
@ -422,7 +425,12 @@ case $OS in
|
||||||
# EXTRALIBS="$LIBS gmzwin.exp"
|
# EXTRALIBS="$LIBS gmzwin.exp"
|
||||||
# MZOPTIONS="$MZOPTIONS -DGC_DLL"
|
# MZOPTIONS="$MZOPTIONS -DGC_DLL"
|
||||||
# CGCOPTIONS="$CGCOPTIONS -DGC_DLL -DGC_BUILD -DUSE_MSVC_MD_LIBRARY -DMD_LIB_MAIN"
|
# CGCOPTIONS="$CGCOPTIONS -DGC_DLL -DGC_BUILD -DUSE_MSVC_MD_LIBRARY -DMD_LIB_MAIN"
|
||||||
BUILD_CYGWIN_LIKE_UNIX=yes
|
MZINSTALLTARGET=unix-cygwin-install
|
||||||
|
if test "${enable_shared}" = "yes" ; then
|
||||||
|
ar_libtool_no_undefined=" -no-undefined"
|
||||||
|
LIBMZSCHEME_DEP="libmzgc.la -liconv"
|
||||||
|
LIBMRED_DEP="../mzscheme/libmzgc.la ../mzscheme/libmred.la"
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
BeOS)
|
BeOS)
|
||||||
if test "${enable_sgcdebug}" = "yes" ; then
|
if test "${enable_sgcdebug}" = "yes" ; then
|
||||||
|
@ -926,7 +934,7 @@ if test "${enable_shared}" = "yes" ; then
|
||||||
plt_lib_version=`grep " MZSCHEME_VERSION " ${srcdir}/mzscheme/src/schvers.h | cut -d '"' -f 2`
|
plt_lib_version=`grep " MZSCHEME_VERSION " ${srcdir}/mzscheme/src/schvers.h | cut -d '"' -f 2`
|
||||||
fi
|
fi
|
||||||
|
|
||||||
AR="${LTDIR}/libtool --mode=link $CC${need_gcc_static_libgcc} -release ${plt_lib_version} -rpath ${absprefix}/lib -o"
|
AR="${LTDIR}/libtool --mode=link $CC${need_gcc_static_libgcc}${ar_libtool_no_undefined} -release ${plt_lib_version} -rpath ${absprefix}/lib -o"
|
||||||
STATIC_AR="${LTDIR}/libtool --mode=link $CC -o"
|
STATIC_AR="${LTDIR}/libtool --mode=link $CC -o"
|
||||||
ARFLAGS=""
|
ARFLAGS=""
|
||||||
RANLIB=":"
|
RANLIB=":"
|
||||||
|
@ -1044,6 +1052,9 @@ AC_SUBST(FOREIGN_OBJSLIB)
|
||||||
AC_SUBST(FOREIGN_CONVENIENCE)
|
AC_SUBST(FOREIGN_CONVENIENCE)
|
||||||
AC_SUBST(FOREIGNTARGET)
|
AC_SUBST(FOREIGNTARGET)
|
||||||
|
|
||||||
|
AC_SUBST(LIBMZSCHEME_DEP)
|
||||||
|
AC_SUBST(LIBMRED_DEP)
|
||||||
|
|
||||||
AC_SUBST(LLVMTARGET)
|
AC_SUBST(LLVMTARGET)
|
||||||
|
|
||||||
AC_SUBST(LTO)
|
AC_SUBST(LTO)
|
||||||
|
|
|
@ -46,6 +46,9 @@ ILIBDIR = $(prefix)/lib
|
||||||
# Prefix might be relative to srcdir, or it might be absolute, so we
|
# Prefix might be relative to srcdir, or it might be absolute, so we
|
||||||
# have to go up and install things from there.
|
# have to go up and install things from there.
|
||||||
|
|
||||||
|
# Not obsolete --- the following is still used for Unix-style Cygwin, although
|
||||||
|
# the generated .lib files are useful only when building extensions to be
|
||||||
|
# linked with the MSVC-built MzScheme
|
||||||
cygwin-install:
|
cygwin-install:
|
||||||
gcc -c -O2 -I$(builddir)/.. -I$(srcdir)/../include $(srcdir)/mzdyn.c
|
gcc -c -O2 -I$(builddir)/.. -I$(srcdir)/../include $(srcdir)/mzdyn.c
|
||||||
gcc -c $(srcdir)/init.cc
|
gcc -c $(srcdir)/init.cc
|
||||||
|
|
|
@ -296,7 +296,6 @@ scheme_print_to_string
|
||||||
scheme_write_to_string_w_max
|
scheme_write_to_string_w_max
|
||||||
scheme_display_to_string_w_max
|
scheme_display_to_string_w_max
|
||||||
scheme_print_to_string_w_max
|
scheme_print_to_string_w_max
|
||||||
scheme_print_to_string_w_max
|
|
||||||
scheme_debug_print
|
scheme_debug_print
|
||||||
scheme_flush_output
|
scheme_flush_output
|
||||||
scheme_format
|
scheme_format
|
||||||
|
@ -337,7 +336,6 @@ scheme_close_input_port
|
||||||
scheme_close_output_port
|
scheme_close_output_port
|
||||||
scheme_write_special
|
scheme_write_special
|
||||||
scheme_write_special_nonblock
|
scheme_write_special_nonblock
|
||||||
scheme_make_read_evt
|
|
||||||
scheme_make_write_evt
|
scheme_make_write_evt
|
||||||
scheme_make_port_type
|
scheme_make_port_type
|
||||||
scheme_make_input_port
|
scheme_make_input_port
|
||||||
|
@ -359,7 +357,6 @@ scheme_make_fd_output_port
|
||||||
scheme_make_byte_string_input_port
|
scheme_make_byte_string_input_port
|
||||||
scheme_make_sized_byte_string_input_port
|
scheme_make_sized_byte_string_input_port
|
||||||
scheme_make_byte_string_output_port
|
scheme_make_byte_string_output_port
|
||||||
scheme_get_byte_string_output
|
|
||||||
scheme_get_sized_byte_string_output
|
scheme_get_sized_byte_string_output
|
||||||
scheme_pipe
|
scheme_pipe
|
||||||
scheme_pipe_with_limit
|
scheme_pipe_with_limit
|
||||||
|
|
|
@ -303,7 +303,6 @@ scheme_print_to_string
|
||||||
scheme_write_to_string_w_max
|
scheme_write_to_string_w_max
|
||||||
scheme_display_to_string_w_max
|
scheme_display_to_string_w_max
|
||||||
scheme_print_to_string_w_max
|
scheme_print_to_string_w_max
|
||||||
scheme_print_to_string_w_max
|
|
||||||
scheme_debug_print
|
scheme_debug_print
|
||||||
scheme_flush_output
|
scheme_flush_output
|
||||||
scheme_format
|
scheme_format
|
||||||
|
@ -344,7 +343,6 @@ scheme_close_input_port
|
||||||
scheme_close_output_port
|
scheme_close_output_port
|
||||||
scheme_write_special
|
scheme_write_special
|
||||||
scheme_write_special_nonblock
|
scheme_write_special_nonblock
|
||||||
scheme_make_read_evt
|
|
||||||
scheme_make_write_evt
|
scheme_make_write_evt
|
||||||
scheme_make_port_type
|
scheme_make_port_type
|
||||||
scheme_make_input_port
|
scheme_make_input_port
|
||||||
|
@ -366,7 +364,6 @@ scheme_make_fd_output_port
|
||||||
scheme_make_byte_string_input_port
|
scheme_make_byte_string_input_port
|
||||||
scheme_make_sized_byte_string_input_port
|
scheme_make_sized_byte_string_input_port
|
||||||
scheme_make_byte_string_output_port
|
scheme_make_byte_string_output_port
|
||||||
scheme_get_byte_string_output
|
|
||||||
scheme_get_sized_byte_string_output
|
scheme_get_sized_byte_string_output
|
||||||
scheme_pipe
|
scheme_pipe
|
||||||
scheme_pipe_with_limit
|
scheme_pipe_with_limit
|
||||||
|
|
|
@ -288,7 +288,6 @@ EXPORTS
|
||||||
scheme_write_to_string_w_max
|
scheme_write_to_string_w_max
|
||||||
scheme_display_to_string_w_max
|
scheme_display_to_string_w_max
|
||||||
scheme_print_to_string_w_max
|
scheme_print_to_string_w_max
|
||||||
scheme_print_to_string_w_max
|
|
||||||
scheme_debug_print
|
scheme_debug_print
|
||||||
scheme_flush_output
|
scheme_flush_output
|
||||||
scheme_format
|
scheme_format
|
||||||
|
@ -329,7 +328,6 @@ EXPORTS
|
||||||
scheme_close_output_port
|
scheme_close_output_port
|
||||||
scheme_write_special
|
scheme_write_special
|
||||||
scheme_write_special_nonblock
|
scheme_write_special_nonblock
|
||||||
scheme_make_read_evt
|
|
||||||
scheme_make_write_evt
|
scheme_make_write_evt
|
||||||
scheme_make_port_type
|
scheme_make_port_type
|
||||||
scheme_make_input_port
|
scheme_make_input_port
|
||||||
|
@ -351,7 +349,6 @@ EXPORTS
|
||||||
scheme_make_byte_string_input_port
|
scheme_make_byte_string_input_port
|
||||||
scheme_make_sized_byte_string_input_port
|
scheme_make_sized_byte_string_input_port
|
||||||
scheme_make_byte_string_output_port
|
scheme_make_byte_string_output_port
|
||||||
scheme_get_byte_string_output
|
|
||||||
scheme_get_sized_byte_string_output
|
scheme_get_sized_byte_string_output
|
||||||
scheme_pipe
|
scheme_pipe
|
||||||
scheme_pipe_with_limit
|
scheme_pipe_with_limit
|
||||||
|
|
|
@ -605,6 +605,8 @@
|
||||||
|
|
||||||
# define REGISTER_POOR_MACHINE
|
# define REGISTER_POOR_MACHINE
|
||||||
|
|
||||||
|
# define LINK_EXTENSIONS_BY_TABLE
|
||||||
|
|
||||||
# define FLAGS_ALREADY_SET
|
# define FLAGS_ALREADY_SET
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -609,7 +609,6 @@ MZ_EXTERN char *scheme_print_to_string(Scheme_Object *obj, long *len);
|
||||||
MZ_EXTERN char *scheme_write_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
MZ_EXTERN char *scheme_write_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
||||||
MZ_EXTERN char *scheme_display_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
MZ_EXTERN char *scheme_display_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
||||||
MZ_EXTERN char *scheme_print_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
MZ_EXTERN char *scheme_print_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
||||||
MZ_EXTERN char *scheme_print_to_string_w_max(Scheme_Object *obj, long *len, long maxl);
|
|
||||||
MZ_EXTERN void scheme_debug_print(Scheme_Object *obj);
|
MZ_EXTERN void scheme_debug_print(Scheme_Object *obj);
|
||||||
MZ_EXTERN void scheme_flush_output(Scheme_Object *port);
|
MZ_EXTERN void scheme_flush_output(Scheme_Object *port);
|
||||||
|
|
||||||
|
@ -674,10 +673,6 @@ MZ_EXTERN void scheme_close_output_port(Scheme_Object *port);
|
||||||
MZ_EXTERN Scheme_Object *scheme_write_special(int argc, Scheme_Object *argv[]);
|
MZ_EXTERN Scheme_Object *scheme_write_special(int argc, Scheme_Object *argv[]);
|
||||||
MZ_EXTERN Scheme_Object *scheme_write_special_nonblock(int argc, Scheme_Object *argv[]);
|
MZ_EXTERN Scheme_Object *scheme_write_special_nonblock(int argc, Scheme_Object *argv[]);
|
||||||
|
|
||||||
MZ_EXTERN Scheme_Object *scheme_make_read_evt(const char *who, Scheme_Object *port,
|
|
||||||
char *str, long start, long size,
|
|
||||||
int peek, Scheme_Object *peek_skip,
|
|
||||||
int byte_or_spec);
|
|
||||||
MZ_EXTERN Scheme_Object *scheme_make_write_evt(const char *who, Scheme_Object *port,
|
MZ_EXTERN Scheme_Object *scheme_make_write_evt(const char *who, Scheme_Object *port,
|
||||||
Scheme_Object *special, char *str, long start, long size);
|
Scheme_Object *special, char *str, long start, long size);
|
||||||
|
|
||||||
|
@ -732,7 +727,6 @@ MZ_EXTERN Scheme_Object *scheme_make_fd_output_port(int fd, Scheme_Object *name,
|
||||||
MZ_EXTERN Scheme_Object *scheme_make_byte_string_input_port(const char *str);
|
MZ_EXTERN Scheme_Object *scheme_make_byte_string_input_port(const char *str);
|
||||||
MZ_EXTERN Scheme_Object *scheme_make_sized_byte_string_input_port(const char *str, long len);
|
MZ_EXTERN Scheme_Object *scheme_make_sized_byte_string_input_port(const char *str, long len);
|
||||||
MZ_EXTERN Scheme_Object *scheme_make_byte_string_output_port();
|
MZ_EXTERN Scheme_Object *scheme_make_byte_string_output_port();
|
||||||
MZ_EXTERN char *scheme_get_byte_string_output(Scheme_Object *);
|
|
||||||
MZ_EXTERN char *scheme_get_sized_byte_string_output(Scheme_Object *, long *len);
|
MZ_EXTERN char *scheme_get_sized_byte_string_output(Scheme_Object *, long *len);
|
||||||
|
|
||||||
MZ_EXTERN void scheme_pipe(Scheme_Object **read, Scheme_Object **write);
|
MZ_EXTERN void scheme_pipe(Scheme_Object **read, Scheme_Object **write);
|
||||||
|
|
|
@ -502,7 +502,6 @@ char *(*scheme_print_to_string)(Scheme_Object *obj, long *len);
|
||||||
char *(*scheme_write_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
char *(*scheme_write_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
||||||
char *(*scheme_display_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
char *(*scheme_display_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
||||||
char *(*scheme_print_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
char *(*scheme_print_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
||||||
char *(*scheme_print_to_string_w_max)(Scheme_Object *obj, long *len, long maxl);
|
|
||||||
void (*scheme_debug_print)(Scheme_Object *obj);
|
void (*scheme_debug_print)(Scheme_Object *obj);
|
||||||
void (*scheme_flush_output)(Scheme_Object *port);
|
void (*scheme_flush_output)(Scheme_Object *port);
|
||||||
char *(*scheme_format)(mzchar *format, int flen, int argc, Scheme_Object **argv, long *rlen);
|
char *(*scheme_format)(mzchar *format, int flen, int argc, Scheme_Object **argv, long *rlen);
|
||||||
|
@ -563,10 +562,6 @@ void (*scheme_close_input_port)(Scheme_Object *port);
|
||||||
void (*scheme_close_output_port)(Scheme_Object *port);
|
void (*scheme_close_output_port)(Scheme_Object *port);
|
||||||
Scheme_Object *(*scheme_write_special)(int argc, Scheme_Object *argv[]);
|
Scheme_Object *(*scheme_write_special)(int argc, Scheme_Object *argv[]);
|
||||||
Scheme_Object *(*scheme_write_special_nonblock)(int argc, Scheme_Object *argv[]);
|
Scheme_Object *(*scheme_write_special_nonblock)(int argc, Scheme_Object *argv[]);
|
||||||
Scheme_Object *(*scheme_make_read_evt)(const char *who, Scheme_Object *port,
|
|
||||||
char *str, long start, long size,
|
|
||||||
int peek, Scheme_Object *peek_skip,
|
|
||||||
int byte_or_spec);
|
|
||||||
Scheme_Object *(*scheme_make_write_evt)(const char *who, Scheme_Object *port,
|
Scheme_Object *(*scheme_make_write_evt)(const char *who, Scheme_Object *port,
|
||||||
Scheme_Object *special, char *str, long start, long size);
|
Scheme_Object *special, char *str, long start, long size);
|
||||||
Scheme_Object *(*scheme_make_port_type)(const char *name);
|
Scheme_Object *(*scheme_make_port_type)(const char *name);
|
||||||
|
@ -614,7 +609,6 @@ Scheme_Object *(*scheme_make_fd_output_port)(int fd, Scheme_Object *name, int re
|
||||||
Scheme_Object *(*scheme_make_byte_string_input_port)(const char *str);
|
Scheme_Object *(*scheme_make_byte_string_input_port)(const char *str);
|
||||||
Scheme_Object *(*scheme_make_sized_byte_string_input_port)(const char *str, long len);
|
Scheme_Object *(*scheme_make_sized_byte_string_input_port)(const char *str, long len);
|
||||||
Scheme_Object *(*scheme_make_byte_string_output_port)();
|
Scheme_Object *(*scheme_make_byte_string_output_port)();
|
||||||
char *(*scheme_get_byte_string_output)(Scheme_Object *);
|
|
||||||
char *(*scheme_get_sized_byte_string_output)(Scheme_Object *, long *len);
|
char *(*scheme_get_sized_byte_string_output)(Scheme_Object *, long *len);
|
||||||
void (*scheme_pipe)(Scheme_Object **read, Scheme_Object **write);
|
void (*scheme_pipe)(Scheme_Object **read, Scheme_Object **write);
|
||||||
void (*scheme_pipe_with_limit)(Scheme_Object **write, Scheme_Object **read, int maxsize);
|
void (*scheme_pipe_with_limit)(Scheme_Object **write, Scheme_Object **read, int maxsize);
|
||||||
|
|
|
@ -341,7 +341,6 @@
|
||||||
scheme_extension_table->scheme_write_to_string_w_max = scheme_write_to_string_w_max;
|
scheme_extension_table->scheme_write_to_string_w_max = scheme_write_to_string_w_max;
|
||||||
scheme_extension_table->scheme_display_to_string_w_max = scheme_display_to_string_w_max;
|
scheme_extension_table->scheme_display_to_string_w_max = scheme_display_to_string_w_max;
|
||||||
scheme_extension_table->scheme_print_to_string_w_max = scheme_print_to_string_w_max;
|
scheme_extension_table->scheme_print_to_string_w_max = scheme_print_to_string_w_max;
|
||||||
scheme_extension_table->scheme_print_to_string_w_max = scheme_print_to_string_w_max;
|
|
||||||
scheme_extension_table->scheme_debug_print = scheme_debug_print;
|
scheme_extension_table->scheme_debug_print = scheme_debug_print;
|
||||||
scheme_extension_table->scheme_flush_output = scheme_flush_output;
|
scheme_extension_table->scheme_flush_output = scheme_flush_output;
|
||||||
scheme_extension_table->scheme_format = scheme_format;
|
scheme_extension_table->scheme_format = scheme_format;
|
||||||
|
@ -382,7 +381,6 @@
|
||||||
scheme_extension_table->scheme_close_output_port = scheme_close_output_port;
|
scheme_extension_table->scheme_close_output_port = scheme_close_output_port;
|
||||||
scheme_extension_table->scheme_write_special = scheme_write_special;
|
scheme_extension_table->scheme_write_special = scheme_write_special;
|
||||||
scheme_extension_table->scheme_write_special_nonblock = scheme_write_special_nonblock;
|
scheme_extension_table->scheme_write_special_nonblock = scheme_write_special_nonblock;
|
||||||
scheme_extension_table->scheme_make_read_evt = scheme_make_read_evt;
|
|
||||||
scheme_extension_table->scheme_make_write_evt = scheme_make_write_evt;
|
scheme_extension_table->scheme_make_write_evt = scheme_make_write_evt;
|
||||||
scheme_extension_table->scheme_make_port_type = scheme_make_port_type;
|
scheme_extension_table->scheme_make_port_type = scheme_make_port_type;
|
||||||
scheme_extension_table->scheme_make_input_port = scheme_make_input_port;
|
scheme_extension_table->scheme_make_input_port = scheme_make_input_port;
|
||||||
|
@ -404,7 +402,6 @@
|
||||||
scheme_extension_table->scheme_make_byte_string_input_port = scheme_make_byte_string_input_port;
|
scheme_extension_table->scheme_make_byte_string_input_port = scheme_make_byte_string_input_port;
|
||||||
scheme_extension_table->scheme_make_sized_byte_string_input_port = scheme_make_sized_byte_string_input_port;
|
scheme_extension_table->scheme_make_sized_byte_string_input_port = scheme_make_sized_byte_string_input_port;
|
||||||
scheme_extension_table->scheme_make_byte_string_output_port = scheme_make_byte_string_output_port;
|
scheme_extension_table->scheme_make_byte_string_output_port = scheme_make_byte_string_output_port;
|
||||||
scheme_extension_table->scheme_get_byte_string_output = scheme_get_byte_string_output;
|
|
||||||
scheme_extension_table->scheme_get_sized_byte_string_output = scheme_get_sized_byte_string_output;
|
scheme_extension_table->scheme_get_sized_byte_string_output = scheme_get_sized_byte_string_output;
|
||||||
scheme_extension_table->scheme_pipe = scheme_pipe;
|
scheme_extension_table->scheme_pipe = scheme_pipe;
|
||||||
scheme_extension_table->scheme_pipe_with_limit = scheme_pipe_with_limit;
|
scheme_extension_table->scheme_pipe_with_limit = scheme_pipe_with_limit;
|
||||||
|
|
|
@ -341,7 +341,6 @@
|
||||||
#define scheme_write_to_string_w_max (scheme_extension_table->scheme_write_to_string_w_max)
|
#define scheme_write_to_string_w_max (scheme_extension_table->scheme_write_to_string_w_max)
|
||||||
#define scheme_display_to_string_w_max (scheme_extension_table->scheme_display_to_string_w_max)
|
#define scheme_display_to_string_w_max (scheme_extension_table->scheme_display_to_string_w_max)
|
||||||
#define scheme_print_to_string_w_max (scheme_extension_table->scheme_print_to_string_w_max)
|
#define scheme_print_to_string_w_max (scheme_extension_table->scheme_print_to_string_w_max)
|
||||||
#define scheme_print_to_string_w_max (scheme_extension_table->scheme_print_to_string_w_max)
|
|
||||||
#define scheme_debug_print (scheme_extension_table->scheme_debug_print)
|
#define scheme_debug_print (scheme_extension_table->scheme_debug_print)
|
||||||
#define scheme_flush_output (scheme_extension_table->scheme_flush_output)
|
#define scheme_flush_output (scheme_extension_table->scheme_flush_output)
|
||||||
#define scheme_format (scheme_extension_table->scheme_format)
|
#define scheme_format (scheme_extension_table->scheme_format)
|
||||||
|
@ -382,7 +381,6 @@
|
||||||
#define scheme_close_output_port (scheme_extension_table->scheme_close_output_port)
|
#define scheme_close_output_port (scheme_extension_table->scheme_close_output_port)
|
||||||
#define scheme_write_special (scheme_extension_table->scheme_write_special)
|
#define scheme_write_special (scheme_extension_table->scheme_write_special)
|
||||||
#define scheme_write_special_nonblock (scheme_extension_table->scheme_write_special_nonblock)
|
#define scheme_write_special_nonblock (scheme_extension_table->scheme_write_special_nonblock)
|
||||||
#define scheme_make_read_evt (scheme_extension_table->scheme_make_read_evt)
|
|
||||||
#define scheme_make_write_evt (scheme_extension_table->scheme_make_write_evt)
|
#define scheme_make_write_evt (scheme_extension_table->scheme_make_write_evt)
|
||||||
#define scheme_make_port_type (scheme_extension_table->scheme_make_port_type)
|
#define scheme_make_port_type (scheme_extension_table->scheme_make_port_type)
|
||||||
#define scheme_make_input_port (scheme_extension_table->scheme_make_input_port)
|
#define scheme_make_input_port (scheme_extension_table->scheme_make_input_port)
|
||||||
|
@ -404,7 +402,6 @@
|
||||||
#define scheme_make_byte_string_input_port (scheme_extension_table->scheme_make_byte_string_input_port)
|
#define scheme_make_byte_string_input_port (scheme_extension_table->scheme_make_byte_string_input_port)
|
||||||
#define scheme_make_sized_byte_string_input_port (scheme_extension_table->scheme_make_sized_byte_string_input_port)
|
#define scheme_make_sized_byte_string_input_port (scheme_extension_table->scheme_make_sized_byte_string_input_port)
|
||||||
#define scheme_make_byte_string_output_port (scheme_extension_table->scheme_make_byte_string_output_port)
|
#define scheme_make_byte_string_output_port (scheme_extension_table->scheme_make_byte_string_output_port)
|
||||||
#define scheme_get_byte_string_output (scheme_extension_table->scheme_get_byte_string_output)
|
|
||||||
#define scheme_get_sized_byte_string_output (scheme_extension_table->scheme_get_sized_byte_string_output)
|
#define scheme_get_sized_byte_string_output (scheme_extension_table->scheme_get_sized_byte_string_output)
|
||||||
#define scheme_pipe (scheme_extension_table->scheme_pipe)
|
#define scheme_pipe (scheme_extension_table->scheme_pipe)
|
||||||
#define scheme_pipe_with_limit (scheme_extension_table->scheme_pipe_with_limit)
|
#define scheme_pipe_with_limit (scheme_extension_table->scheme_pipe_with_limit)
|
||||||
|
|
|
@ -13,11 +13,17 @@ Studio files for MzCOM.
|
||||||
Visual Studio Express is available for free from Microsoft, and it is
|
Visual Studio Express is available for free from Microsoft, and it is
|
||||||
the recommended compiler for building PLT Scheme.
|
the recommended compiler for building PLT Scheme.
|
||||||
|
|
||||||
MzScheme (but not MzCOM or MrEd) also compiles with Cygwin gcc (a
|
MzScheme and MrEd also compile with Cygwin gcc (a free compiler from
|
||||||
free compiler from GNU and Cygnus Solutions); to compile with gcc,
|
GNU and Cygnus Solutions), but the result is a Unix-style
|
||||||
|
installation, not a Window-style installation. To compile with gcc,
|
||||||
follow the instructions in plt\src\README (there is a short
|
follow the instructions in plt\src\README (there is a short
|
||||||
Windows-specific section in that file).
|
Windows-specific section in that file).
|
||||||
|
|
||||||
|
With an MSVC-built MzScheme, compatible extensions can be built with
|
||||||
|
other compilers. Build with Cygwin and copy the installed plt\lib\gcc
|
||||||
|
to a MSVC-based build to support Cygwin-built extensions. To support
|
||||||
|
Borland-built extensions, cd to plt\src\mzscheme\dynsrc and run
|
||||||
|
mkbordyn.bat (which requires bcc23.exe, of course).
|
||||||
|
|
||||||
As always, please report bugs via one of the following:
|
As always, please report bugs via one of the following:
|
||||||
- Help Desk's "submit bug report" link (preferred)
|
- Help Desk's "submit bug report" link (preferred)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user