📄 install
字号:
Installation of the `QuickThreads' threads-building toolkit.* NoticeQuickThreads -- Threads-building toolkit.Copyright (c) 1993 by David KeppelPermission to use, copy, modify and distribute this software andits documentation for any purpose and without fee is herebygranted, provided that the above copyright notice and this noticeappear in all copies. This software is provided as aproof-of-concept and for demonstration purposes; there is norepresentation about the suitability of this software for anypurpose.* ConfigurationConfigure with ./config *machtype*where "*machtype*" is one of the supported target machines. As ofOctober 1994, the supported machines (targets) are: axp -- All Digital Equipment Corporation AXP (DEC Alpha) processors, compile with GNU CC axp-osf1 -- AXP running OSF 1.x axp-osf2 -- AXP running OSF 2.x hppa -- HP's PA-RISC 1.1 processor hppa-cnx-spp -- Convex SPP (PA-RISC 1.1 processor) iX86 -- 80386, 80486, and 80586-compatible processors See notes below for OS/2. iX86-ss -- 'iX86 for assemblers that use slash-slash ('//') comments. ksr1 -- All KSR processors m88k -- All members of the Motorola 88000 family mips -- MIPS R2000 and R3000 processors mips-irix5 -- Irix 5.xx (use `mips' for Irix 4.xx) sparc-os1 -- V8-compliant SPARC processors using compilers that prefix labels (e.g. "foo" appears as "_foo") Includes Solaris 1 (SunOS 4.X). sparc-os2 -- V8-compliant SPARC processors using compilers that do not prefix labels. Includes Solaris 2. vax -- All VAX processorsIn addition, the target `clean' will deconfigure QuickThreads.Note that a given machine target may not work on all instances of thatmachine because e.g., the assembler syntax varies from machine tomachine.Note also that additions to a processor family may require a newtarget. So, for example, the `vax' target might not work for allfuture VAX processors if, say, new VAX processors are introduced andthey use separate floating-point registers.For OS/2, change `ranlib' to `ar -s', `configure' to `configure.cmd'(or was that `config' to `config.cmd'?), and replace the soft links(`ln -s') with plain copies.* BuildTo build the QuickThreads library, first configure (see above) thentype `make libqt.a' in the top-level directory.To build the demonstration threads package, SimpleThreads, type`make libstp.a' in the top-level directory.To build an executable ``stress-test'' and measurement program, type`make run' in the top-level directory. Run `time/raw' to run thestress tests.* InstallationBuild the QuickThreads library (see above) and then copy `libqt.a' tothe installation library directory (e.g., /usr/local/lib) and `qt.h'and `qtmd.h' to the installation include directory (e.g.,/usr/local/include).
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -