⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 mdk_install.texi

📁 汇编语言编程源代码
💻 TEXI
字号:
@c -*-texinfo-*-@c This is part of the GNU MDK Reference Manual.@c Copyright (C) 2000, 2001, 2002@c   Free Software Foundation, Inc.@c See the file mdk.texi for copying conditions.@node Installing MDK, MIX and MIXAL tutorial, Acknowledgments, Top@comment  node-name,  next,  previous,  up@chapter Installing @sc{mdk}@menu* Download::                    * Requirements::                * Basic installation::          * Emacs support::               * Special configure flags::     * Supported platforms::         @end menu@node Download, Requirements, Installing MDK, Installing MDK@comment  node-name,  next,  previous,  up@section Download the source tarballGNU @sc{mdk} is distributed as a source tarball available for download inthe following @acronym{URL}s:@itemize @bullet@item@url{ftp://ftp.gnu.org/pub/gnu/mdk}@item @uref{http://www.gnu.org/prep/ftp.html, GNU mirrors}@item@uref{http://sourceforge.net/project/showfiles.php?group_id=13897}@end itemize The above sites contain the latest stable releases of @sc{mdk}. Thedevelopment branch is available at:@itemize @bullet@item@uref{https://savannah.gnu.org/cvs/?group_id=118}@end itemizeAfter you have downloaded the source tarball, unpack it in a directoryof your choice using the command:@exampletar xfvz mdk-X.Y.tar.gz@end example@noindentwhere @var{X.Y} stands for the downloaded version (the current stablerelease being version @value{VERSION}).@node Requirements, Basic installation, Download, Installing MDK@comment  node-name,  next,  previous,  up@section RequirementsIn order to build and install @sc{mdk}, you will need the followinglibraries installed in your system:@itemize @minus@item@uref{http://www.gtk.org, GLIB 1.2.0} (required)@item@uref{http://www.gnu.org/software/flex/flex.html, GNU Flex 2.3} (required)@item@uref{http://www.gtk.org, GTK 1.2.0} (optional)@item@uref{ftp://ftp.gnome.org/pub/GNOME/stable/sources/libglade/, Libglade}(optional)@item@uref{http://cnswww.cns.cwru.edu/php/chet/readline/rltop.html, GNUReadline}(optional)@item@uref{http://www.gnu.org/software/guile, GNU Libguile 1.3} (optional)@end itemizeIf present, readline and history are used to provide command completionand history management to the command line MIX virtual machine, @code{mixvm}.GTK+ and libglade are needed if you want to build the graphicalinterface to the MIX virtual machine, @code{gmixvm}. Finally, iflibguile is found, the @sc{mdk} utilities will be compiled with Guilesupport and will be extensible using Scheme.@strong{Please note}: you need both the libraries @emph{and} theheaders; this means both the library package and the @file{-dev} packageif you do not compile your libraries yourself (ex: installing@file{libgtk1.2} and @file{libgtk1.2-dev} on Debian).@node Basic installation, Emacs support, Requirements, Installing MDK@comment  node-name,  next,  previous,  up@section Basic installation@sc{mdk} uses GNU Autoconf and Automake tools, and, therefore, shouldbe built and installed without hassle using the following commandsinside the source directory:@example./configuremakemake install@end example@noindentwhere the last one must be run as root.The first command, @code{configure}, will setup the makefiles for yoursystem. In particular, @code{configure} will look for GTK+ and libglade,and, if they are present, will generate the appropiate makefiles forbuilding the @code{gmixvm} graphical user interface. Upon completion,you should see a message with the configuration results like thefollowing:@example*** GNU MDK 1.0 has been successfully configured. ***Type 'make' to build the following utilities:    - mixasm (MIX assembler)    - mixvm (MIX virtual machine, with readline support,              with guile support)    - gmixvm (mixvm GTK+ GUI, with guile support)    - mixguile (the mixvm guile shell)@end example@noindentwhere the last lines may be missing if you lack the above mentionedlibraries. The next command, @code{make}, will actually build the @sc{mdk} programsin the following locations:@itemize @minus@item@file{mixutils/mixasm}@item@file{mixutils/mixvm}@item@file{mixgtk/gmixvm}@item@file{mixguile/mixguile}@end itemizeYou can run these programs from within their directories, but Irecommend you to install them in proper locations using @code{makeinstall} from a root shell.@node Emacs support, Special configure flags, Basic installation, Installing MDK@comment  node-name,  next,  previous,  up@section Emacs support@code{mixvm} can be run within an Emacs GUD buffer using the elispprogram @file{misc/mixvm.el}, kindly contributed by @value{PHILIP}.@file{mixvm.el} provides an interface between @sc{mdk}'s @code{mixvm}and Emacs, via @acronym{GUD}.  Place this file in your load-path,optionally adding the following line to your @file{.emacs} file:@lisp(autoload 'mixvm "mixvm" "mixvm/gud interaction" t)@end lisp@node Special configure flags, Supported platforms, Emacs support, Installing MDK@comment  node-name,  next,  previous,  up@section Special configure flagsYou can fine tunning the configuration process using the followingswitches with configure:@defopt @w{--enable-gui[=yes|no]}@defoptx --disable-guiEnables/disables the build of the MIX virtual machine GUI(@code{gmixvm}). If the required libraries are missing(@pxref{Requirements}) the configure script with automatically disablethis feature.@end defopt@defopt @w{--with-guile[=yes|no]}@defoptx --without-guileEnables/disables the Guile support for @code{mixvm} and @code{gmixvm},and the build of @code{mixguile}.  If the required libraries are missing (@pxref{Requirements}) the configurescript with automatically disable this feature.@end defopt@defopt @w{--with-readline[=yes|no]}@defoptx --without-readlineEnables/disables the GNU Readline support for @code{mixvm}.  If therequired libraries are missing (@pxref{Requirements}) the configurescript with automatically disable this feature.@end defoptFor additional, boilerplate configure options, see the @file{INSTALL}file, or run@exampleconfigure --help@end example@node Supported platforms,  , Special configure flags, Installing MDK@comment  node-name,  next,  previous,  up@section Supported platformsGNU MDK has been tested in the following platforms:@itemize@itemDebian GNU/Linux 2.2/2.3/3.0@itemRedhat GNU/Linux 7.0 (Agustin Navarro), 6.2 (Roberto Ferrero)@itemMandrake 8.0 (Agustin Navarro)@itemFreeBSD 4.2, 4.3, 4.4, 4.5 (Ying-Chieh Liao)@itemSolaris 2.8/gcc 2.95.3 (Stephen Ramsay)@itemMS Windows 98 SE/Cygwin 1.1.8-2 (Christoph vonNathusius)@footnote{Caveats: Christoph has only tested @code{mixvm} and@code{mixasm} on this platform, using @code{gcc} 2.95.3-2, @code{GLIB}1.2.10 and @code{GNUreadline} 4.1-2. He has reported missing historyfunctionalities on a first try. If you find problems withhistory/readline functionality, please try a newer/manually installedreadline version.}@itemMac OS X 10.1.2 (Johan Swanljung)@end itemizeMDK will probably work on any GNU/Linux and BSD platform. If you try itin a platform not listed above, please send a mail to@email{jao@@gnu.org, the author}.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -