?? how_to.ps
字號:
1 F1475(\(in)S1562(the)S3 F1656(unravel)S1 F1873(source)S2050(directory\).)S598 762(The)U714(X)S779(Window)S1008(System)S1207(tree)S1320(usually)S1516(has)S1618(subdirectories:)S1995(bin,)S2109(man,)S2250(include)S2449(and)S2557(lib.)S2677(Sometimes)S2966(the)S448 900(/)U448 831(X)U519(includes)S748(are)S850(part)S972(of)S1050(/usr/include)S1363(and)S1478(/usr/lib,)S1692(but)S1797(usually)S1999(the)S2101(MIT)S2239(distribution)S2545(of)S2623(X)S2694(is)S2761(installed)S2993(in)S465 900(usr/local.)U598 993(A)U(fter)R754(the)S857(X)S929(Window)S1165(System)S1371(tree)S1490(is)S1558(located)S1761(the)S1863(environment)S2196(variable)S2419(WINHOME)S2743(must)S2888(be)S2973(set)S448 1131(a)U448 1062(before)U3 F625(make)S1 F788(can)S895(be)S975(run.)S1113(This)S1243(environment)S1571(variable)S1789(only)S1919(needs)S2079(to)S2149(be)S2229(set)S2318(during)S2497(the)S3 F2593(make,)S1 F2770(not)S2869(needed)S475 1131(fter)U3 F589(unravel)S1 F816(has)S926(been)S1070(compiled.)S1360(For)S1473(example,)S1723(on)S1813(Sun)S1936(systems,)S2171(the)S2275(default)S2473(location)S2698(of)S2777(the)S2880(tree)S3000(is)S448 1200(sometimes)U3 F726(/usr/openwin)S1 F(.)R1342 1269(setenv)U1516(WINHOME)S1832(/usr/openwin)S3 F448 1410(3.4.)U578(C)S641(Compiler)S1 F598 1503(The)U712(C)S772(compiler)S1007(needs)S1164(to)S1231(be)S1308(set)S1395(in)S1462(two)S1572(places,)S1758(the)S3 F1852(make\256le)S1 F2089(and)S2196(the)S2290(\256le)S3 F2387(con\256g.h.)S1 F598 1596(In)U668(the)S3 F762(make\256le,)S1 F1014(look)S1141(for)S1231(the)S1325(compiler)S1560(de\256nition)S1811(line:)S1542 1665(CC)U1642(=)S1695(something)S3020 1734(-)U448 1803(p)U2 F448 1734(something)U1 F720(should)S905(be)S987(changed)S1213(to)S1285(either)S3 F1448(gcc)S1 F1557(\(if)S1639(you)S1754(have)S1893(the)S1992(GNU)S2146(C)S2211(compiler\))S2471(or)S2545(cc)S2623(\(to)S2714(use)S2818(the)S2916(com)S478 1803(iler)U579(provided)S813(with)S940(your)S1070(system\).)S3 F598 1896(U)U(nravel)R1 F828(needs)S988(a)S1038(C)S1101(preprocessor)S1431(to)S1501(help)S1628(parse)S1778(source)S1958(program)S2185(\256les.)S2343(The)S3 F2460(make\256le)S1 F2700(invokes)S2910(a)S2960(csh)S3020 1965(-)U448 2034(c)U448 1965(script,)U3 F619(\256nd)S6 F(i)R720(i)S3 F(cc)R1 F(,)R841(to)S910(locate)S1077(a)S1126(C)S1188(compiler)S1425(that)S1538(can)S1644(be)S1723(invoked)S1939(\(via)S2055(the)S2151(-E)S2230(option\))S2426(to)S2495(run)S2597(just)S2706(the)S2802(C)S2863(prepro)S475 2034(essor.)U657(The)S775(script)S933(searches)S1161(the)S1259(directorie)S1491(s)S1538(in)S1609(the)S3 F1707(path)S1 F1847(variable)S2066(for)S2160(either)S3 F2322(acc)S1 F2429(\(Sun)S2565(ANSI)S2727(C)S2790(compiler\),)S448 2172(o)U3 F448 2103(gcc)U1 F557(or)S3 F632(cc)S1 F(.)R746(If)S811(the)S910(script)S1068(fails)S1196(to)S1267(\256nd)S1384(a)S1435(C)S1499(compiler)S1738(or)S1812(if)S1873(you)S1987(want)S2128(to)S2199(use)S2303(a)S2354(compiler)S2593(different)S2825(from)S2966(the)S478 2172(ne)U558(found,)S736(then)S863(the)S960(\256le)S3 F1060(con\256g.h)S1 F1283(must)S1422(be)S1501(changed.)S1759(Setting)S1952(the)S2048(C)S2110(compiler)S2347(in)S3 F2416(con\256g.h)S1 F2639(is)S2701(a)S2750(little)S2884(tricky.)S448 2310(t)U448 2241(The)U567(\256le)S3 F669(con\256g.h)S1 F895(is)S960(generate)S1165(d)S1220(by)S1305(rules)S1447(in)S1519(the)S3 F1618(make\256le)S1 F1860(so)S1938(if)S1999(you)S2113(try)S2204(to)S2275(edit)S2390(the)S2488(\256le)S2589(at)S2657(the)S2755(wrong)S2932(time)S465 2310(hings)U625(might)S795(not)S901(work.)S1088(The)S3 F1211(con\256g.h)S1 F1441(\256le)S1547(must)S1693(be)S1779(create)S1924(d)S1983(by)S2072(running)S3 F2288(make)S1 F2457(before)S3 F2640(con\256g.h)S1 F2870(can)S2983(be)S3025 2379(,)U448 2448(e)U448 2379(edited.)U654(The)S771(best)S891(method)S1095(is)S1158(to)S1227(check)S1390(the)S3 F1486(con\256g.h)S1 F1709(after)S3 F1842(make)S1 F2004(\256nishes.)S2244(Then)S2390(to)S2459(change)S2652(the)S2748(C)S2810(compiler)S475 2448(dit)U3 F559(con\256g.h)S1 F780(and)S887(run)S3 F987(make)S1 F1147(again.)S3 F448 2589(3.5.)U578(Install)S761(Directory)S1 F598 2682(Once)U751(the)S3 F851(make)S1 F1016(\256nishes,)S1239(the)S3 F1338(unravel)S1 F1560(\256les)S1685(cannot)S1871(be)S1953(moved)S2142(since)S2291(the)S2390(location)S2610(\(directory\))S2893(where)S448 2820(\256)U448 2751(the)U3 F545(unravel)S1 F765(source)S945(code)S1082(is)S1145(located)S1343(is)S1406(compiled)S1654(into)S1771(the)S3 F1868(unravel)S1 F2088(programs)S2338(so)S2414(that)S2528(they)S2654(can)S2760(\256nd)S2875(certain)S481 2820(les)U573(\(e.g.,)S720(icons)S872(and)S984(help)S1113(\256les\).)S1293(However,)S1553(the)S1651(main)S1796(control)S1991(program)S2219(can)S2327(be)S2408(installed)S2637(anywhere)S2895(in)S2966(the)S3013 2889(e)U3 F448 2958(m)U1 F448 2889(\256le)U563(directory)S819(tree.)S983(The)S1115(install)S1301(directory)S1557(is)S1635(selecte)S1800(d)S1868(by)S1965(setting)S2163(the)S2274(INSTALL)S6 F(i)R1 F(DIR)R2694(macro)S2882(in)S2966(th)S3 F498 2958(ake\256le.)U1 F720(To)S807(set)S894(the)S988(INSTALL)S6 F(i)R1 F(DIR)R1391(macro,)S1577(edit)S1688(the)S3 F1782(make\256le)S1 F2019(and)S2126(\256nd)S2239(the)S2333(line:)S2461(INSTALL)S6 F(i)R1 F(DIR)R2864(=)S2917(.)S3013 3027(e)U448 3096(t)U448 3027(Replace)U669(the)S769(dot)S872(with)S1005(the)S1105(selecte)S1270(d)S1326(install)S1500(directory)S1743(name.)S1934(For)S2042(example,)S2287(to)S2359(install)S2532(in)S2604(/usr/local,)S2869(chang)S465 3096(he)U542(line)S653(to:)S1403 3165(INSTALL)U6 F(i)R1 F(DIR)R1806(=)S1859(/usr/local)S3 F3023 3234(l)U1 F448 3303(m)U448 3234(This)U577(puts)S699(the)S795(main)S938(control)S1131(program)S1357(\(called)S3 F1544(unravel)S1 F(\))R1783(in)S1852(the)S1947(directory)S2186(/usr/local/)S2428(bin)S2526(and)S2634(adds)S2765(an)S3 F2843(unrave)S1 F495 3303(an)U583(page)S728(to)S806(/usr/local/)S1048(man/man1.)S1369(Note)S1517(that)S1638(the)S1742(bin)S1849(and)S1966(man/man1)S2251(are)S2355(added)S2529(automati)S2741(cally)S2889(to)S2966(the)S3 F448 3513(3)U1 F448 3372(INSTALL)U6 F(i)R1 F(DIR)R851(directory)S1089(name.)S3 F478 3513(.6.)U578(Running)S820(make)S1 F598 3606(A)U(fter)R745(WINHOME)S1061(is)S1121(set)S1208(in)S1275(the)S1369(environment)S1694(and)S1801(CC)S1901(is)S1961(set)S2048(in)S2115(the)S3 F2209(make\256le,)S1 F2461(type:)S3 F2602(make)S1 F3017 3675(s)U448 3744(i)U448 3675(This)U585(should)S775(compile)S1000(each)S3 F1141(unravel)S1 F1367(source)S1553(program.)S1821(Depending)S2114(on)S2203(the)S2306(compiler)S2550(used)S2689(and)S2805(how)S2937(it)S3000(i)S465 3744(nstalled,)U688(there)S829(may)S953(be)S1030(lots)S1137(of)S1207(warning)S1424(messages)S1671(\(especial)S1886(ly)S1953(if)S2010(using)S2160(an)S2237(ANSI)S2396(C)S2456(compiler\).)S3013 3837(e)U448 3906(d)U598 3837(If)U668(everything)S956(has)S1066(compiled)S1321(correctly,)S3 F1581(unravel)S1 F1807(can)S1920(be)S2006(tried)S2146(out)S2252(on)S2341(the)S2444(simple)S2634(programs)S2890(in)S2966(th)S478 3906(irectory)U3 F686(examples)S1 F(.)R978(The)S1092(\256le)S3 F1189(\257avors.c)S1 F1424(has)S1524(several)S1715(obvious)S1925(slices)S2079(and)S3 F2186(makes)S1 F2369(a)S2416(good)S2556(trial)S2674(run.)S448 4068(T)U598 3999(To)U685(run)S785(the)S879(install)S1047(script,)S1216(type:)S3 F1357(make)S1517(install)S1 F485 4068(his)U575(copies)S749(the)S3 F843(unravel)S1 F1060(program)S1284(\256le)S1381(and)S1488(man)S1612(page)S1746(to)S1813(the)S1907(install)S2075(subdirectories.)S3 F2950 4470(5)U5 F448(@)S450(@)S3 F(\()R4 F(#)R527(#)S3 F(\)how.nr)R783(1.5)S1689(-)S1729(2)S1779(-)S2563(August)S2765(23,)S2860(199)SEP%%Page: ? 3BP3 F60 Z448 507(4)U(.)R533(Help)S1 F598 600(F)U(or)R701(more)S845(information)S1150(and)S1257(very)S1384(very)S1511(limite)S1653(d)S1703(help)S1827(contact:)S568 762(e)U568 693(Dr.)U666(James)S833(R.)S908(Lyle)S1039(at)S1103(NIST)S595 762(mail:)U740(jlyle)S5 F(@)R1 F(nist.gov)R1102 831(0)U568 900(f)U568 831(phone:)U752(\(301\))S902(975-327)S588 900(ax:)U682(\(301\))S832(926-3696)S5 F448 4470(@)U450(@)S3 F(\()R4 F(#)R527(#)S3 F(\)how.nr)R783(1.5)S1689(-)S1729(3)S1779(-)S2563(August)S2765(23,)S2860(1995)SEP%%Trailerpscatsave end restore%%Pages: 3
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -