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

📄 install

📁 ncurses-5.4
💻
📖 第 1 页 / 共 4 页
字号:
	rather than the include directory.  This makes it simpler to avoid	compile-time conflicts with other versions of curses.h    --disable-root-environ	Compile with environment restriction, so certain environment variables	are not available when running as root, or via a setuid/setgid	application.  These are (for example $TERMINFO) those that allow the	search path for the terminfo or termcap entry to be customized.    --disable-scroll-hints	Compile without scroll-hints code.  This option is ignored when	hashmap scrolling is configured, which is the default.    --enable-assertions	For testing, compile-in assertion code.  This is used only for a few	places where ncurses cannot easily recover by returning an error code.    --enable-broken_linker	A few platforms have what we consider a broken linker:  it cannot link	objects from an archive solely by referring to data objects in those	files, but requires a function reference.  This configure option	changes several data references to functions to work around this	problem.	NOTE:  With ncurses 5.1, this may not be necessary, since we are	told that some linkers interpret uninitialized global data as a	different type of reference which behaves as described above.  We have	explicitly initialized all of the global data to work around the	problem.    --enable-bsdpad	Recognize BSD-style prefix padding.  Some ancient BSD programs (such as	nethack) call tputs("50") to implement delays.    --enable-colorfgbg	Compile with experimental $COLORFGBG code.  That environment variable	is set by some terminal emulators as a hint to applications, by	advertising the default foreground and background colors.  During	initialization, ncurses sets color pair 0 to match this.    --enable-const	The curses interface as documented in XSI is rather old, in fact	including features that precede ANSI C.  The prototypes generally do	not make effective use of "const".  When using stricter compilers (or	gcc with appropriate warnings), you may see warnings about the mismatch	between const and non-const data.  We provide a configure option which	changes the interfaces to use const - quieting these warnings and	reflecting the actual use of the parameters more closely.  The ncurses	library uses the symbol NCURSES_CONST for these instances of const,	and if you have asked for compiler warnings, will add gcc's const-qual	warning.  There will still be warnings due to subtle inconsistencies	in the interface, but at a lower level.	NOTE:  configuring ncurses with this option may detract from the	portability of your applications by encouraging you to use const in	places where the XSI curses interface would not allow them.  Similar	issues arise when porting to SVr4 curses, which uses const in even	fewer places.    --enable-echo	Use the option --disable-echo to make the build-log less verbose by	suppressing the display of the compile and link commands.  This makes	it easier to see the compiler warnings.  (You can always use "make -n"	to see the options that are used).    --enable-expanded	For testing, generate functions for certain macros to make them visible	as such to the debugger.  See also the --disable-macros option.    --enable-getcap	Use the 4.4BSD getcap code if available, or a bundled version of it to	fetch termcap entries.  Entries read in this way cannot use (make	cross-references to) the terminfo tree, but it is faster than reading	/etc/termcap.    --enable-getcap-cache	Cache translated termcaps under the directory $HOME/.terminfo	NOTE:  this sounds good - it makes ncurses run faster the second time. 	But look where the data comes from - an /etc/termcap containing lots of	entries that are not up to date.  If you configure with this option and	forget to install the terminfo database before running an ncurses	application, you will end up with a hidden terminfo database that	generally does not support color and will miss some function keys.    --enable-hard-tabs	Compile-in cursor-optimization code that uses hard-tabs.  We would make	this a standard feature except for the concern that the terminfo entry	may not be accurate, or that your stty settings have disabled the use	of tabs.    --enable-no-padding	Compile-in support for the $NCURSES_NO_PADDING environment variable,	which allows you to suppress the effect of non-mandatory padding in	terminfo entries.  This is the default, unless you have disabled the	extended functions.    --enable-rpath	Use rpath option when generating shared libraries, and with some	restrictions when linking the corresponding programs.  This applies	mainly to systems using the GNU linker (read the manpage).    --enable-safe-sprintf	Compile with experimental safe-sprintf code.  You may consider using	this if you are building ncurses for a system that has neither	vsnprintf() or vsprintf().  It is slow, however.    --enable-sigwinch	Compile support for ncurses' SIGWINCH handler.  If your application has	its own SIGWINCH handler, ncurses will not use its own.  The ncurses	handler causes wgetch() to return KEY_RESIZE when the screen-size	changes.  This option is the default, unless you have disabled the	extended functions.    --enable-symlinks	If your system supports symbolic links, make tic use symbolic links	rather than hard links to save diskspace when writing aliases in the	terminfo database.    --enable-tcap-names	Compile-in support for user-definable terminal capabilities.  Use the	-x option of tic and infocmp to treat unrecognized terminal	capabilities as user-defined strings.  This option is the default,	unless you have disabled the extended functions.    --enable-termcap	Compile in support for reading terminal descriptions from termcap if no	match is found in the terminfo database.  See also the --enable-getcap	and --enable-getcap-cache options.    --enable-warnings	Turn on GCC compiler warnings.  There should be only a few.    --enable-widec	Compile with experimental wide-character code.  This makes a different	version of the libraries (e.g., libncursesw.so), which stores	characters as wide-characters,	NOTE: applications compiled with this configuration are not compatible	with those built for 8-bit characters.  You cannot simply make a	symbolic link to equate libncurses.so with libncursesw.so	NOTE: the Ada95 binding may be built against either version of the the	ncurses library, but you must decide which:  the binding installs the	same set of files for either version.  Currently (2002/6/22) it does	not use the extended features from the wide-character code, so it is	probably better to not install the binding for that configuration.    --enable-xmc-glitch	Compile-in support experimental xmc (magic cookie) code.    --with-abi-version=NUM	Override the ABI version, which is used in shared library filenames.	Normally this is the same as the release version; some ports have	special requirements for compatibility.    --with-ada-compiler=CMD	Specify the Ada95 compiler command (default "gnatmake")    --with-ada-include=DIR	Tell where to install the Ada includes (default: 	PREFIX/lib/ada/adainclude)    --with-ada-objects=DIR	Tell where to install the Ada objects (default:  PREFIX/lib/ada/adalib)    --with-bool=TYPE	If --without-cxx is specified, override the type used for the "bool"	declared in curses.h (normally the type is automatically chosen to	correspond with that in <stdbool.h>, or defaults to platform-specific	sizes).    --with-build-cc=XXX	If cross-compiling, specify a host C compiler, which is needed to	compile a few utilities which generate source modules for ncurses.	If you do not give this option, the configure script checks if the	$BUILD_CC variable is set, and otherwise defaults to gcc or cc.    --with-build-cflags=XXX	If cross-compiling, specify the host C compiler-flags.  You might need	to do this if the target compiler has unusual flags which confuse the	host compiler.    --with-build-cppflags=XXX	If cross-compiling, specify the host C preprocessor-flags.  You might	need to do this if the target compiler has unusual flags which confuse	the host compiler.    --with-build-ldflags=XXX	If cross-compiling, specify the host linker-flags.  You might need to	do this if the target linker has unusual flags which confuse the host	compiler.    --with-build-libs=XXX	If cross-compiling, the host libraries.  You might need to do this if	the target environment requires unusual libraries.    --with-caps=XXX	Specify an alternate terminfo capabilities file, which makes the	configure script look for "include/Caps.XXX".  A few systems, e.g.,	AIX 4.x use the same overall file-format as ncurses for terminfo	data, but use different alignments within the tables to support	legacy applications.  For those systems, you can configure ncurses	to use a terminfo database which is compatible with the native	applications.    --with-database=XXX	Specify the terminfo source file to install.  Usually you will wish	to install ncurses' default (misc/terminfo.src).  Certain systems	have special requirements, e.g, OS/2 EMX has a customized terminfo	source file.    --with-dbmalloc	For testing, compile and link with Conor Cahill's dbmalloc library.    --with-debug	Generate debug-libraries (default).  These are named by adding "_g"	to the root, e.g., libncurses_g.a    --with-default-terminfo-dir=XXX	Specify the default terminfo database directory.  This is normally	DATADIR/terminfo, e.g., /usr/share/terminfo.    --with-develop	Enable experimental/development options.  This does not count those	that change the interface, such as --enable-widec.    --with-dmalloc	For testing, compile and link with Gray Watson's dmalloc library.    --with-fallbacks=XXX	Specify a list of fallback terminal descriptions which will be	compiled into the ncurses library.  See CONFIGURING FALLBACK ENTRIES.    --with-gpm	use Alessandro Rubini's GPM library to provide mouse support on the	Linux console.    --with-install-prefix=XXX	Allows you to specify an alternate location for installing ncurses	after building it.  The value you specify is prepended to the "real"	install location.  This simplifies making binary packages.	NOTE:  a few systems build shared libraries with fixed pathnames; this	option probably will not work for those configurations.     --with-libtool[=XXX]	Generate libraries with libtool.  If this option is selected, then it	overrides all other library model specifications.  Note that libtool	must already be installed, uses makefile rules dependent on GNU make,	and does not promise to follow the version numbering convention of	other shared libraries on your system.  However, if the --with-shared	option does not succeed, you may get better results with this option.	If a parameter value is given, it must be the full pathname of the	particular version of libtool, e.g.,		/usr/bin/libtool-1.2.3    --with-manpage-aliases	Tell the configure script you wish to create entries in the	man-directory for aliases to manpages which list them, e.g., the	functions in the panel manpage.  This is the default.  You can disable	it if your man program does this.  You can also disable	--with-manpage-symlinks to install files containing a ".so" command	rather than symbolic links.    --with-manpage-format=XXX	Tell the configure script how you would like to install man-pages.  The	option value must be one of these:  gzip, compress, BSDI, normal,	formatted.  If you do not give this option, the configure script	attempts to determine which is the case.    --with-manpage-renames=XXX	Tell the configure script that you wish to rename the manpages while	installing.  Currently the only distribution which does this is	the Linux Debian.  The option value specifies the name of a file	that lists the renamed files, e.g., $srcdir/man/man_db.renames    --with-manpage-symlinks	Tell the configure script that you wish to make symbolic links in the	man-directory for aliases to the man-pages.  This is the default, but	can be disabled for systems that provide this automatically.  Doing	this on systems that do not support symbolic links will result in	copying the man-page for each alias.    --with-manpage-tbl	Tell the configure script that you with to preprocess the manpages	by running them through tbl to generate tables understandable by	nroff.    --with-ospeed=TYPE	Override type of ospeed variable, which is part of the termcap	compatibility interface.  In termcap, this is a 'short', which works	for a wide range of baudrates because ospeed is not the actual speed	but the encoded value, e.g., B9600 would be a small number such as 13. 	However the encoding scheme originally allowed for values "only" up to	38400bd.  A newer set of definitions past 38400bd is not encoded as	compactly, and is not guaranteed to fit into a short (see the function	cfgetospeed(), which returns a speed_t for this reason).  In practice,	applications that required knowledge of the ospeed variable, i.e.,	those using termcap, do not use the higher speeds.  Your application	(or system, in general) may or may not.    --with-normal	Generate normal (i.e., static) libraries (default).    --with-profile	Generate profile-libraries These are named by adding "_p" to the root,	e.g., libncurses_p.a    --with-rcs-ids	Compile-in RCS identifiers.  Most of the C files have an identifier.

⌨️ 快捷键说明

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