home *** CD-ROM | disk | FTP | other *** search
/ RISC DISC 1 / RISC_DISC_1.iso / pd_share / code / gcc < prev    next >
ArcFS Archive  |  1994-10-17  |  2.5 MB

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: ArcFS Archive (archive/arcFS).

ConfidenceProgramDetectionMatch TypeSupport
100% dexvert ArcFS Archive (archive/arcFS) magic Supported
100% file RISC OS archive (ArcFS format) default
99% file data default
100% TrID Acorn ArcFS Archive default
100% gt2 Kopftext: 'Archive' default (weak)
100% detectItEasy Archive: ArcFS default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 41 72 63 68 69 76 65 00 | d4 13 00 00 34 14 00 00 |Archive.|....4...|
|00000010| 28 00 00 00 64 00 00 00 | 00 00 00 00 00 00 00 00 |(...d...|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000060| 82 21 47 43 43 00 00 00 | 00 00 00 00 ff ff ff ff |.!GCC...|........|
|00000070| 45 ff ff ff ac 5e 00 a2 | 33 00 00 00 ff ff ff ff |E....^..|3.......|
|00000080| 2c 10 00 80 82 21 42 6f | 6f 74 00 05 03 00 0a 82 |,....!Bo|ot......|
|00000090| b8 00 00 00 45 eb ff ff | f4 e8 92 a0 33 00 b1 8b |....E...|....3...|
|000000a0| b8 00 00 00 24 00 00 00 | 82 21 43 68 61 6e 67 65 |....$...|.!Change|
|000000b0| 73 00 0a 82 7c 15 00 00 | 45 ff ff ff 47 c2 92 a0 |s...|...|E...G...|
|000000c0| 33 00 a0 58 7c 15 00 00 | 00 01 00 00 82 21 48 65 |3..X|...|.....!He|
|000000d0| 6c 70 00 05 03 00 0a 82 | c8 09 00 00 45 ff ff ff |lp......|....E...|
|000000e0| 27 17 95 a0 33 00 25 d3 | c8 09 00 00 a0 16 00 00 |'...3.%.|........|
|000000f0| 82 21 49 6e 74 72 6f 00 | 03 00 0a 82 6d 31 00 00 |.!Intro.|....m1..|
|00000100| 45 ff ff ff ba f7 94 a0 | 33 00 26 64 6d 31 00 00 |E.......|3.&dm1..|
|00000110| 8c 20 00 00 82 21 52 75 | 6e 00 cd 05 03 00 0a 82 |. ...!Ru|n.......|
|00000120| be 00 00 00 45 eb ff ff | 1c ed 92 a0 33 00 ed 55 |....E...|....3..U|
|00000130| be 00 00 00 1d 52 00 00 | 82 21 53 70 72 69 74 65 |.....R..|.!Sprite|
|00000140| 73 00 0a 82 e4 03 00 00 | 44 f9 ff ff 9a a2 63 ce |s.......|D.....c.|
|00000150| 33 00 4b 04 e4 03 00 00 | ff 52 00 00 82 62 69 6e |3.K.....|.R...bin|
|00000160| 00 2a cd 05 03 00 0a 82 | ff ff ff ff 45 ff ff ff |.*......|....E...|
|00000170| ba 5f 00 a2 33 00 00 00 | ff ff ff ff 40 02 00 80 |._..3...|....@...|
|00000180| 82 63 63 31 00 00 00 00 | 00 00 00 00 2f 1c 08 00 |.cc1....|..../...|
|00000190| 45 f8 ff ff 0a c4 91 a0 | 33 00 be 24 2f 1c 08 00 |E.......|3..$/...|
|000001a0| fe e7 13 00 82 63 63 31 | 70 6c 75 73 00 00 00 00 |.....cc1|plus....|
|000001b0| 6f bd 0a 00 45 f8 ff ff | 0a 32 89 9f 33 00 93 4c |o...E...|.2..3..L|
|000001c0| 6f bd 0a 00 7f 6e 1c 00 | 82 63 70 70 00 00 00 00 |o....n..|.cpp....|
|000001d0| 00 00 00 00 4f e7 00 00 | 45 f8 ff ff 47 5a 91 a0 |....O...|E...GZ..|
|000001e0| 33 00 99 09 4f e7 00 00 | 07 57 00 00 82 64 65 6d |3...O...|.W...dem|
|000001f0| 61 6e 67 6c 65 00 00 00 | 6f 69 00 00 45 f8 ff ff |angle...|oi..E...|
|00000200| d4 8e 09 9f 33 00 e7 0d | 6f 69 00 00 7a 3e 01 00 |....3...|oi..z>..|
|00000210| 82 67 63 63 00 00 00 00 | 00 00 00 00 bf b5 00 00 |.gcc....|........|
|00000220| 45 f8 ff ff 80 3d 91 a0 | 33 00 dc c2 bf b5 00 00 |E....=..|3.......|
|00000230| 0d a8 01 00 82 67 63 63 | 5f 61 73 00 00 00 00 00 |.....gcc|_as.....|
|00000240| 5f 94 00 00 45 f8 ff ff | 6d ce 0d 9f 33 00 48 ee |_...E...|m...3.H.|
|00000250| 5f 94 00 00 f0 5d 02 00 | 82 6c 64 00 00 00 00 00 |_....]..|.ld.....|
|00000260| 00 00 00 00 bf 60 00 00 | 45 f8 ff ff a1 68 0c 9f |.....`..|E....h..|
|00000270| 33 00 c6 1a bf 60 00 00 | 51 04 1c 00 00 00 00 00 |3....`..|Q.......|
|00000280| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002a0| 82 64 6f 63 73 00 cd 05 | 03 00 0a 82 ff ff ff ff |.docs...|........|
|000002b0| 45 ff ff ff da 60 00 a2 | 33 00 00 00 ff ff ff ff |E....`..|3.......|
|000002c0| f4 02 00 80 82 43 6f 70 | 79 69 6e 67 00 00 00 00 |.....Cop|ying....|
|000002d0| 3e 46 00 00 43 ff ff ff | 78 0e 20 b6 33 00 3e dc |>F..C...|x. .3.>.|
|000002e0| 3e 46 00 00 73 f2 02 00 | 82 43 6f 70 79 69 6e 67 |>F..s...|.Copying|
|000002f0| 4c 69 62 00 b1 62 00 00 | 43 ff ff ff c8 89 44 e4 |Lib..b..|C.....D.|
|00000300| 33 00 b8 56 b1 62 00 00 | d5 38 03 00 82 55 73 69 |3..V.b..|.8...Usi|
|00000310| 6e 67 47 43 43 00 00 00 | 6f 30 07 00 45 ff ff ff |ngGCC...|o0..E...|
|00000320| 00 05 09 9f 33 00 97 d8 | 6f 30 07 00 aa 9b 03 00 |....3...|o0......|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 82 67 63 63 | 00 2a cd 05 03 00 0a 82 |.....gcc|.*......|
|00000360| ff ff ff ff 45 ff ff ff | bb 62 00 a2 33 00 00 00 |....E...|.b..3...|
|00000370| ff ff ff ff 14 04 00 80 | 82 68 00 00 00 00 00 00 |........|.h......|
|00000380| 00 00 00 00 ff ff ff ff | 45 ff ff ff eb 62 00 a2 |........|E....b..|
|00000390| 33 00 00 00 ff ff ff ff | 84 03 00 80 82 76 61 72 |3.......|.....var|
|000003a0| 61 72 67 73 00 00 0a 82 | 72 12 00 00 45 ff ff ff |args....|r...E...|
|000003b0| c5 c7 da 99 33 00 d2 68 | 72 12 00 00 3d cc 0a 00 |....3..h|r...=...|
|000003c0| 00 eb ff ff 54 2a cd 05 | 03 00 0a 82 28 00 00 00 |....T*..|....(...|
|000003d0| 18 09 00 00 82 21 52 75 | 6e 00 00 00 00 00 00 00 |.....!Ru|n.......|
|000003e0| 62 99 00 04 82 6f 00 00 | 00 00 00 00 00 00 00 00 |b....o..|........|
|000003f0| ff ff ff ff 45 ff ff ff | 15 63 00 a2 33 00 00 00 |....E...|.c..3...|
|00000400| ff ff ff ff f0 03 00 80 | 82 67 63 63 00 2a cd 05 |........|.gcc.*..|
|00000410| 03 00 0a 82 0c 48 00 00 | 45 fd ff ff 2b 3a 92 a0 |.....H..|E...+:..|
|00000420| 33 00 95 88 0c 48 00 00 | d3 de 0a 00 00 eb ff ff |3....H..|........|
|00000430| 54 2a cd 05 03 00 0a 82 | 28 00 00 00 18 09 00 00 |T*......|(.......|
|00000440| 82 21 52 75 6e 00 00 00 | 00 00 00 00 62 99 00 04 |.!Run...|....b...|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 82 67 70 70 | 00 2a cd 05 03 00 0a 82 |.....gpp|.*......|
|00000480| ff ff ff ff 45 ff ff ff | 42 63 00 a2 33 00 00 00 |....E...|Bc..3...|
|00000490| ff ff ff ff e0 07 00 80 | 82 68 00 00 00 00 00 00 |........|.h......|
|000004a0| 00 00 00 00 ff ff ff ff | 45 ff ff ff 53 63 00 a2 |........|E...Sc..|
|000004b0| 33 00 00 00 ff ff ff ff | 50 07 00 80 82 65 64 69 |3.......|P....edi|
|000004c0| 74 62 75 66 00 00 0a 82 | 2e 19 00 00 45 ff ff ff |tbuf....|....E...|
|000004d0| 87 a3 8d 04 33 00 a4 bd | 2e 19 00 00 03 27 0b 00 |....3...|.....'..|
|000004e0| 82 66 6c 6f 61 74 69 6f | 00 00 0a 82 4d 04 00 00 |.floatio|....M...|
|000004f0| 44 ff ff ff 35 0a 15 c4 | 33 00 14 a3 4d 04 00 00 |D...5...|3...M...|
|00000500| 55 40 0b 00 82 66 73 74 | 72 65 61 6d 00 00 0a 82 |U@...fst|ream....|
|00000510| 24 0a 00 00 45 ff ff ff | a8 a8 8d 04 33 00 4b 42 |$...E...|....3.KB|
|00000520| 24 0a 00 00 c6 44 0b 00 | 82 69 6e 64 73 74 72 65 |$....D..|.indstre|
|00000530| 61 6d 00 82 ad 09 00 00 | 45 ff ff ff 1f ac 8d 04 |am......|E.......|
|00000540| 33 00 25 ed ad 09 00 00 | 0e 4f 0b 00 82 69 6f 6d |3.%.....|.O...iom|
|00000550| 61 6e 69 70 00 00 0a 82 | 59 12 00 00 45 ff ff ff |anip....|Y...E...|
|00000560| 04 b0 8d 04 33 00 b5 79 | 59 12 00 00 df 58 0b 00 |....3..y|Y....X..|
|00000570| 82 69 6f 70 72 69 76 61 | 74 65 00 82 d9 08 00 00 |.iopriva|te......|
|00000580| 45 ff ff ff d7 4a e4 04 | 33 00 4b ee d9 08 00 00 |E....J..|3.K.....|
|00000590| 5c 6b 0b 00 82 69 6f 73 | 74 72 65 61 6d 00 0a 82 |\k...ios|tream...|
|000005a0| f2 1f 00 00 45 ff ff ff | ee b5 8d 04 33 00 d3 16 |....E...|....3...|
|000005b0| f2 1f 00 00 59 74 0b 00 | 82 69 73 74 72 65 61 6d |....Yt..|.istream|
|000005c0| 00 00 0a 82 14 00 00 00 | 45 ff ff ff 7a b8 8d 04 |........|E...z...|
|000005d0| 33 00 d4 20 14 00 00 00 | 6f 94 0b 00 82 6f 73 74 |3.. ....|o....ost|
|000005e0| 72 65 61 6d 00 00 0a 82 | 14 00 00 00 45 ff ff ff |ream....|....E...|
|000005f0| 70 ba 8d 04 33 00 d4 20 | 14 00 00 00 a7 94 0b 00 |p...3.. |........|
|00000600| 82 70 61 72 73 65 73 74 | 72 65 61 00 9e 13 00 00 |.parsest|rea.....|
|00000610| 44 ff ff ff bc 0a 15 c4 | 33 00 39 02 9e 13 00 00 |D.......|3.9.....|
|00000620| df 94 0b 00 82 50 6c 6f | 74 46 69 6c 65 00 0a 82 |.....Plo|tFile...|
|00000630| 62 0b 00 00 45 ff ff ff | 51 c6 8d 04 33 00 37 10 |b...E...|Q...3.7.|
|00000640| 62 0b 00 00 a1 a8 0b 00 | 82 70 72 6f 63 62 75 66 |b.......|.procbuf|
|00000650| 00 00 0a 82 a6 04 00 00 | 45 ff ff ff e5 c8 8d 04 |........|E.......|
|00000660| 33 00 18 f4 a6 04 00 00 | 27 b4 0b 00 82 53 46 69 |3.......|'....SFi|
|00000670| 6c 65 00 05 03 00 0a 82 | e9 05 00 00 45 ff ff ff |le......|....E...|
|00000680| 9d cb 8d 04 33 00 f9 3b | e9 05 00 00 f1 b8 0b 00 |....3..;|........|
|00000690| 82 73 74 64 69 6f 73 74 | 72 65 61 00 e8 05 00 00 |.stdiost|rea.....|
|000006a0| 45 ff ff ff b0 cf 8d 04 | 33 00 40 b5 e8 05 00 00 |E.......|3.@.....|
|000006b0| fe be 0b 00 82 73 74 72 | 00 2a cd 05 03 00 0a 82 |.....str|.*......|
|000006c0| ad 24 00 00 45 ff ff ff | 41 38 8e 04 33 00 2d be |.$..E...|A8..3.-.|
|000006d0| ad 24 00 00 0a c5 0b 00 | 82 73 74 72 65 61 6d 00 |.$......|.stream.|
|000006e0| 03 00 0a 82 a7 02 00 00 | 45 ff ff ff 61 d7 8d 04 |........|E...a...|
|000006f0| 33 00 97 5c a7 02 00 00 | db e9 0b 00 82 73 74 72 |3..\....|.....str|
|00000700| 65 61 6d 62 75 66 00 82 | 54 41 00 00 45 ff ff ff |eambuf..|TA..E...|
|00000710| f5 a7 e4 04 33 00 b7 e9 | 54 41 00 00 a6 ec 0b 00 |....3...|TA......|
|00000720| 82 73 74 72 73 74 72 65 | 61 6d 00 82 bd 0f 00 00 |.strstre|am......|
|00000730| 45 ff ff ff 4a 88 8c 04 | 33 00 0f 40 bd 0f 00 00 |E...J...|3..@....|
|00000740| 1e 2e 0c 00 82 77 63 6f | 6d 70 6f 75 6e 64 00 82 |.....wco|mpound..|
|00000750| 4b 05 00 00 44 ff ff ff | 63 06 15 c4 33 00 bb 8a |K...D...|c...3...|
|00000760| 4b 05 00 00 ff 3d 0c 00 | 82 5f 47 5f 63 6f 6e 66 |K....=..|._G_conf|
|00000770| 69 67 00 82 21 05 00 00 | 45 ff ff ff 01 2a 95 04 |ig..!...|E....*..|
|00000780| 33 00 61 d6 21 05 00 00 | 6e 43 0c 00 00 eb ff ff |3.a.!...|nC......|
|00000790| 54 2a cd 05 03 00 0a 82 | 28 00 00 00 18 09 00 00 |T*......|(.......|
|000007a0| 82 21 52 75 6e 00 00 00 | 00 00 00 00 62 99 00 04 |.!Run...|....b...|
|000007b0| 82 6f 00 00 00 00 00 00 | 00 00 00 00 ff ff ff ff |.o......|........|
|000007c0| 45 ff ff ff 33 67 00 a2 | 33 00 00 00 ff ff ff ff |E...3g..|3.......|
|000007d0| bc 07 00 80 82 63 2b 2b | 00 2a cd 05 03 00 0a 82 |.....c++|.*......|
|000007e0| 7c f8 02 00 45 fd ff ff | 66 cd e8 04 33 00 e9 c8 ||...E...|f...3...|
|000007f0| 7c f8 02 00 b3 48 0c 00 | 00 eb ff ff 54 2a cd 05 ||....H..|....T*..|
|00000800| 03 00 0a 82 28 00 00 00 | 18 09 00 00 82 21 52 75 |....(...|.....!Ru|
|00000810| 6e 00 00 00 00 00 00 00 | 62 99 00 04 00 00 00 00 |n.......|b.......|
|00000820| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000830| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000840| 82 70 61 74 63 68 65 73 | 00 00 0a 82 ff ff ff ff |.patches|........|
|00000850| 45 ff ff ff cc 67 00 a2 | 33 00 00 00 ff ff ff ff |E....g..|3.......|
|00000860| 08 10 00 80 82 44 65 73 | 6b 4c 69 62 00 00 00 00 |.....Des|kLib....|
|00000870| ff ff ff ff 45 ff ff ff | e2 67 00 a2 33 00 00 00 |....E...|.g..3...|
|00000880| ff ff ff ff 78 0f 00 80 | 82 21 52 65 61 64 4d 65 |....x...|.!ReadMe|
|00000890| 00 00 0a 82 6f 01 00 00 | 45 ff ff ff c3 62 95 a0 |....o...|E....b..|
|000008a0| 33 00 f0 cc 6f 01 00 00 | 53 41 0f 00 82 68 00 ff |3...o...|SA...h..|
|000008b0| 54 2a cd 05 03 00 0a 82 | ff ff ff ff 45 ff ff ff |T*......|....E...|
|000008c0| f3 68 00 a2 33 00 00 00 | ff ff ff ff 54 0f 00 80 |.h..3...|....T...|
|000008d0| 82 43 6f 6c 6f 75 72 54 | 72 61 6e 00 3d 06 00 00 |.ColourT|ran.=...|
|000008e0| 45 ff ff ff 1c 21 15 9f | 33 00 3c 00 3d 06 00 00 |E....!..|3.<.=...|
|000008f0| e6 42 0f 00 82 43 6f 6f | 72 64 00 00 00 00 00 00 |.B...Coo|rd......|
|00000900| c7 2f 00 00 45 ff ff ff | 51 1c 15 9f 33 00 3c c4 |./..E...|Q...3.<.|
|00000910| c7 2f 00 00 47 49 0f 00 | 82 43 6f 72 65 00 00 00 |./..GI..|.Core...|
|00000920| 00 00 00 00 cd 0a 00 00 | 45 ff ff ff da 17 15 9f |........|E.......|
|00000930| 33 00 a8 20 cd 0a 00 00 | 32 79 0f 00 82 44 69 61 |3.. ....|2y...Dia|
|00000940| 6c 6f 67 00 00 00 00 00 | 57 32 00 00 45 ff ff ff |log.....|W2..E...|
|00000950| 33 dc 14 9f 33 00 3c c2 | 57 32 00 00 23 84 0f 00 |3...3.<.|W2..#...|
|00000960| 82 44 69 73 70 61 74 63 | 68 00 00 00 9d 05 00 00 |.Dispatc|h.......|
|00000970| 45 ff ff ff d7 d7 14 9f | 33 00 36 4a 9d 05 00 00 |E.......|3.6J....|
|00000980| 9e b6 0f 00 82 44 72 61 | 67 00 00 00 00 00 00 00 |.....Dra|g.......|
|00000990| ae 0c 00 00 45 ff ff ff | 5b d1 14 9f 33 00 ea 8f |....E...|[...3...|
|000009a0| ae 0c 00 00 5f bc 0f 00 | 82 44 72 61 67 41 53 70 |...._...|.DragASp|
|000009b0| 72 00 00 00 ab 05 00 00 | 45 ff ff ff 9f cd 14 9f |r.......|E.......|
|000009c0| 33 00 a2 0f ab 05 00 00 | 31 c9 0f 00 82 45 72 72 |3.......|1....Err|
|000009d0| 6f 72 00 00 00 00 00 00 | 32 10 00 00 45 ff ff ff |or......|2...E...|
|000009e0| 95 c7 14 9f 33 00 c7 60 | 32 10 00 00 00 cf 0f 00 |....3..`|2.......|
|000009f0| 82 45 76 65 6e 74 00 00 | 00 00 00 00 0f 1c 00 00 |.Event..|........|
|00000a00| 45 ff ff ff 5b c0 14 9f | 33 00 96 c9 0f 1c 00 00 |E...[...|3.......|
|00000a10| 56 df 0f 00 82 45 76 65 | 6e 74 4d 73 67 00 00 00 |V....Eve|ntMsg...|
|00000a20| f0 0b 00 00 45 ff ff ff | ac bc 14 9f 33 00 4a fd |....E...|....3.J.|
|00000a30| f0 0b 00 00 89 fb 0f 00 | 82 46 69 6c 65 00 00 00 |........|.File...|
|00000a40| 00 00 00 00 10 35 00 00 | 45 ff ff ff 44 3f 74 5d |.....5..|E...D?t]|
|00000a50| 33 00 48 8b 10 35 00 00 | 9d 07 10 00 82 46 69 6c |3.H..5..|.....Fil|
|00000a60| 74 65 72 00 00 00 00 00 | e5 06 00 00 45 ff ff ff |ter.....|....E...|
|00000a70| 84 9d 14 9f 33 00 e0 70 | e5 06 00 00 d1 3c 10 00 |....3..p|.....<..|
|00000a80| 82 46 69 6c 74 65 72 31 | 00 00 00 00 da 06 00 00 |.Filter1|........|
|00000a90| 45 ff ff ff 36 98 14 9f | 33 00 1c 51 da 06 00 00 |E...6...|3..Q....|
|00000aa0| da 43 10 00 82 46 6f 6e | 74 00 00 00 00 00 00 00 |.C...Fon|t.......|
|00000ab0| 53 12 00 00 45 ff ff ff | 8b 91 14 9f 33 00 65 11 |S...E...|....3.e.|
|00000ac0| 53 12 00 00 d8 4a 10 00 | 82 47 46 58 00 00 00 00 |S....J..|.GFX....|
|00000ad0| 00 00 00 00 70 19 00 00 | 45 ff ff ff 94 89 14 9f |....p...|E.......|
|00000ae0| 33 00 ea aa 70 19 00 00 | 4f 5d 10 00 82 48 61 6e |3...p...|O]...Han|
|00000af0| 64 6c 65 72 00 00 00 00 | 6b 12 00 00 45 ff ff ff |dler....|k...E...|
|00000b00| 9a 83 14 9f 33 00 31 2f | 6b 12 00 00 e3 76 10 00 |....3.1/|k....v..|
|00000b10| 82 48 6f 75 72 67 6c 61 | 73 73 00 00 e5 03 00 00 |.Hourgla|ss......|
|00000b20| 45 ff ff ff 0e 80 14 9f | 33 00 c7 f6 e5 03 00 00 |E.......|3.......|
|00000b30| 72 89 10 00 82 49 63 6f | 6e 00 00 00 00 00 00 00 |r....Ico|n.......|
|00000b40| 0d 4d 00 00 45 ff ff ff | 9c 7b 14 9f 33 00 7c 83 |.M..E...|.{..3.|.|
|00000b50| 0d 4d 00 00 7b 8d 10 00 | 82 4b 62 64 00 00 00 00 |.M..{...|.Kbd....|
|00000b60| 00 00 00 00 cf 0f 00 00 | 45 ff ff ff 6f 77 14 9f |........|E...ow..|
|00000b70| 33 00 da 42 cf 0f 00 00 | ac da 10 00 82 4b 65 72 |3..B....|.....Ker|
|00000b80| 6e 65 6c 53 57 49 73 00 | dc 13 00 00 45 ff ff ff |nelSWIs.|....E...|
|00000b90| 86 70 14 9f 33 00 cc 85 | dc 13 00 00 9f ea 10 00 |.p..3...|........|
|00000ba0| 82 4b 65 79 43 6f 64 65 | 73 00 00 00 f7 19 00 00 |.KeyCode|s.......|
|00000bb0| 45 ff ff ff 69 6c 14 9f | 33 00 d7 10 f7 19 00 00 |E...il..|3.......|
|00000bc0| 9f fe 10 00 82 4c 69 6e | 6b 4c 69 73 74 00 00 00 |.....Lin|kList...|
|00000bd0| 92 14 00 00 45 ff ff ff | aa 67 14 9f 33 00 ce aa |....E...|.g..3...|
|00000be0| 92 14 00 00 ba 18 11 00 | 82 4d 65 6d 00 00 00 00 |........|.Mem....|
|00000bf0| 00 00 00 00 90 20 00 00 | 45 ff ff ff f1 53 14 9f |..... ..|E....S..|
|00000c00| 33 00 1d 3c 90 20 00 00 | 70 2d 11 00 82 4d 65 6e |3..<. ..|p-...Men|
|00000c10| 75 00 00 00 00 00 00 00 | 06 1c 00 00 45 ff ff ff |u.......|....E...|
|00000c20| 21 50 14 9f 33 00 93 86 | 06 1c 00 00 24 4e 11 00 |!P..3...|....$N..|
|00000c30| 82 4d 6f 64 75 6c 65 00 | 00 00 00 00 88 03 00 00 |.Module.|........|
|00000c40| 45 ff ff ff d9 4b 14 9f | 33 00 7b b9 88 03 00 00 |E....K..|3.{.....|
|00000c50| 4e 6a 11 00 82 4d 73 67 | 73 00 00 00 00 00 00 00 |Nj...Msg|s.......|
|00000c60| 0d 12 00 00 45 ff ff ff | 6a 48 14 9f 33 00 7a b8 |....E...|jH..3.z.|
|00000c70| 0d 12 00 00 fa 6d 11 00 | 82 50 61 6e 65 00 00 00 |.....m..|.Pane...|
|00000c80| 00 00 00 00 4f 12 00 00 | 45 ff ff ff 41 3b 14 9f |....O...|E...A;..|
|00000c90| 33 00 b0 d9 4f 12 00 00 | 2b 80 11 00 82 50 44 72 |3...O...|+....PDr|
|00000ca0| 69 76 65 72 00 00 00 00 | 9c 1e 00 00 45 ff ff ff |iver....|....E...|
|00000cb0| 6c 35 14 9f 33 00 1f 69 | 9c 1e 00 00 9e 92 11 00 |l5..3..i|........|
|00000cc0| 82 50 44 72 69 76 65 72 | 31 00 00 00 8c 1e 00 00 |.PDriver|1.......|
|00000cd0| 45 ff ff ff 4c 31 14 9f | 33 00 c2 99 8c 1e 00 00 |E...L1..|3.......|
|00000ce0| 5e b1 11 00 82 50 6f 70 | 55 70 00 00 00 00 00 00 |^....Pop|Up......|
|00000cf0| 21 26 00 00 45 ff ff ff | 89 07 14 9f 33 00 3c af |!&..E...|....3.<.|
|00000d00| 21 26 00 00 0e d0 11 00 | 82 52 65 73 6f 75 72 63 |!&......|.Resourc|
|00000d10| 65 00 00 00 b9 0a 00 00 | 45 ff ff ff 79 03 14 9f |e.......|E...y...|
|00000d20| 33 00 e3 c9 b9 0a 00 00 | 53 f6 11 00 82 53 61 76 |3.......|S....Sav|
|00000d30| 65 00 00 00 00 00 00 00 | 1b 2d 00 00 45 ff ff ff |e.......|.-..E...|
|00000d40| 05 00 14 9f 33 00 cf 9d | 1b 2d 00 00 30 01 12 00 |....3...|.-..0...|
|00000d50| 82 53 63 72 65 65 6e 00 | 00 00 00 00 06 09 00 00 |.Screen.|........|
|00000d60| 45 ff ff ff a9 cb 13 9f | 33 00 3f 2a 06 09 00 00 |E.......|3.?*....|
|00000d70| 6f 2e 12 00 82 53 65 72 | 69 61 6c 00 00 00 00 00 |o....Ser|ial.....|
|00000d80| 62 17 00 00 45 ff ff ff | 88 b0 13 9f 33 00 96 ff |b...E...|....3...|
|00000d90| 62 17 00 00 99 37 12 00 | 82 53 6c 69 64 65 72 00 |b....7..|.Slider.|
|00000da0| 00 00 00 00 c4 30 00 00 | 45 ff ff ff d3 ab 13 9f |.....0..|E.......|
|00000db0| 33 00 55 6a c4 30 00 00 | 1f 4f 12 00 82 53 6f 75 |3.Uj.0..|.O...Sou|
|00000dc0| 6e 64 00 00 00 00 00 00 | d7 03 00 00 45 ff ff ff |nd......|....E...|
|00000dd0| a5 93 13 9f 33 00 a9 7d | d7 03 00 00 07 80 12 00 |....3..}|........|
|00000de0| 82 53 70 72 69 74 65 00 | 00 00 00 00 a3 2e 00 00 |.Sprite.|........|
|00000df0| 45 ff ff ff 40 90 13 9f | 33 00 57 49 a3 2e 00 00 |E...@...|3.WI....|
|00000e00| 02 84 12 00 82 53 74 72 | 00 00 00 00 00 00 00 00 |.....Str|........|
|00000e10| d5 19 00 00 45 ff ff ff | f8 c4 60 5d 33 00 cb ca |....E...|..`]3...|
|00000e20| d5 19 00 00 c9 b2 12 00 | 82 53 74 72 69 6e 67 43 |........|.StringC|
|00000e30| 52 00 00 00 68 05 00 00 | 45 ff ff ff 44 9c 60 5d |R...h...|E...D.`]|
|00000e40| 33 00 cb 7d 68 05 00 00 | c2 cc 12 00 82 53 57 49 |3..}h...|.....SWI|
|00000e50| 00 00 00 00 00 00 00 00 | 88 3a 00 00 45 ff ff ff |........|.:..E...|
|00000e60| 2f 2f 66 5d 33 00 c4 69 | 88 3a 00 00 4e d2 12 00 |//f]3..i|.:..N...|
|00000e70| 82 54 65 6d 70 6c 61 74 | 65 00 00 00 e4 1a 00 00 |.Templat|e.......|
|00000e80| 45 ff ff ff cf 72 13 9f | 33 00 57 3f e4 1a 00 00 |E....r..|3.W?....|
|00000e90| fa 0c 13 00 82 54 65 78 | 74 46 69 6c 65 00 00 00 |.....Tex|tFile...|
|00000ea0| 9e 07 00 00 45 ff ff ff | ff 52 13 9f 33 00 29 83 |....E...|.R..3.).|
|00000eb0| 9e 07 00 00 02 28 13 00 | 82 54 69 6d 65 00 00 00 |.....(..|.Time...|
|00000ec0| 00 00 00 00 cd 0f 00 00 | 45 ff ff ff e1 4e 13 9f |........|E....N..|
|00000ed0| 33 00 2b 03 cd 0f 00 00 | c4 2f 13 00 82 56 61 6c |3.+.....|./...Val|
|00000ee0| 69 64 61 74 69 6f 6e 00 | 25 06 00 00 45 ff ff ff |idation.|%...E...|
|00000ef0| 0f 4a 13 9f 33 00 11 ab | 25 06 00 00 b5 3f 13 00 |.J..3...|%....?..|
|00000f00| 82 57 41 73 73 65 72 74 | 00 00 00 00 43 08 00 00 |.WAssert|....C...|
|00000f10| 45 ff ff ff 70 3e 13 9f | 33 00 41 e7 43 08 00 00 |E...p>..|3.A.C...|
|00000f20| fe 45 13 00 82 57 69 6d | 70 00 00 00 00 00 00 00 |.E...Wim|p.......|
|00000f30| bc 53 00 00 45 ff ff ff | c8 3d 15 9f 33 00 a9 51 |.S..E...|.=..3..Q|
|00000f40| bc 53 00 00 65 4e 13 00 | 82 57 69 6d 70 53 57 49 |.S..eN..|.WimpSWI|
|00000f50| 73 00 00 00 43 1d 00 00 | 45 ff ff ff ba 38 15 9f |s...C...|E....8..|
|00000f60| 33 00 8e 1b 43 1d 00 00 | 45 a2 13 00 82 57 69 6e |3...C...|E....Win|
|00000f70| 64 6f 77 00 00 00 00 00 | 39 25 00 00 45 ff ff ff |dow.....|9%..E...|
|00000f80| aa 2b 15 9f 33 00 92 9c | 39 25 00 00 ac bf 13 00 |.+..3...|9%......|
|00000f90| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fa0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000fb0| 00 00 00 00 00 eb ff ff | 54 2a cd 05 03 00 0a 82 |........|T*......|
|00000fc0| 28 00 00 00 18 09 00 00 | 82 21 52 75 6e 00 00 00 |(.......|.!Run...|
|00000fd0| 00 00 00 00 62 99 00 04 | 82 4e 6f 72 63 72 6f 66 |....b...|.Norcrof|
|00000fe0| 74 00 00 00 ff ff ff ff | 45 ff ff ff 42 76 00 a2 |t.......|E...Bv..|
|00000ff0| 33 00 00 00 ff ff ff ff | e4 0f 00 80 82 21 52 65 |3.......|.....!Re|
|00001000| 61 64 4d 65 00 00 0a 82 | d1 02 00 00 45 ff ff ff |adMe....|....E...|
|00001010| 89 e7 95 a0 33 00 92 67 | d1 02 00 00 09 e5 13 00 |....3..g|........|
|00001020| 00 eb ff ff 54 2a cd 05 | 03 00 0a 82 28 00 00 00 |....T*..|....(...|
|00001030| 18 09 00 00 82 21 52 75 | 6e 00 00 00 00 00 00 00 |.....!Ru|n.......|
|00001040| 62 99 00 04 00 00 00 00 | 00 00 00 00 00 00 00 00 |b.......|........|
|00001050| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001060| 00 00 00 00 00 00 00 00 | 00 eb ff ff 54 2a cd 05 |........|....T*..|
|00001070| 03 00 0a 82 28 00 00 00 | 18 09 00 00 82 21 52 75 |....(...|.....!Ru|
|00001080| 6e 00 00 00 00 00 00 00 | 62 99 00 04 82 44 52 4c |n.......|b....DRL|
|00001090| 49 4e 4b 30 32 36 00 00 | ff ff ff ff 45 ff ff ff |INK026..|....E...|
|000010a0| 91 81 41 a6 03 00 00 00 | ff ff ff ff e0 10 00 80 |..A.....|........|
|000010b0| 82 44 72 6c 69 6e 6b 00 | 74 73 2e 0a df 81 00 00 |.Drlink.|ts......|
|000010c0| 45 f8 ff ff e6 4d af 0e | 03 00 71 e6 df 81 00 00 |E....M..|..q.....|
|000010d0| 12 2c 27 00 82 44 72 6c | 69 6e 6b 5f 64 6f 63 00 |.,'..Drl|ink_doc.|
|000010e0| e7 b3 00 00 45 ff ff ff | 20 5f b9 11 03 00 b1 a7 |....E...| _......|
|000010f0| e7 b3 00 00 15 ae 27 00 | 82 46 65 61 74 75 72 65 |......'.|.Feature|
|00001100| 73 00 2e 0a 94 05 00 00 | 45 ff ff ff 95 ca af 0e |s.......|E.......|
|00001110| 03 00 3b 2f 94 05 00 00 | 20 62 28 00 00 63 00 63 |..;/....| b(..c.c|
|00001120| 65 6d 65 6e 74 73 2e 0a | ff ff ff ff 45 ff ff ff |ements..|....E...|
|00001130| bd 9c 00 a2 33 00 00 00 | ff ff ff ff 28 11 00 80 |....3...|....(...|
|00001140| 82 45 78 61 6d 70 6c 65 | 73 00 00 00 ff ff ff ff |.Example|s.......|
|00001150| 45 ff ff ff 97 9c 00 a2 | 33 00 00 00 ff ff ff ff |E.......|3.......|
|00001160| b0 13 00 80 82 63 00 63 | 65 6d 65 6e 74 73 2e 0a |.....c.c|ements..|
|00001170| ff ff ff ff 45 ff ff ff | bd 9c 00 a2 33 00 00 00 |....E...|....3...|
|00001180| ff ff ff ff dc 11 00 80 | 82 45 78 61 6d 70 6c 65 |........|.Example|
|00001190| 31 61 00 00 99 00 00 00 | 45 ff ff ff b3 bf 4a 84 |1a......|E.....J.|
|000011a0| 33 00 a3 50 99 00 00 00 | 34 65 1c 00 82 45 78 61 |3..P....|4e...Exa|
|000011b0| 6d 70 6c 65 31 62 00 00 | a7 00 00 00 45 ff ff ff |mple1b..|....E...|
|000011c0| 5f ca 4a 84 33 00 e2 25 | a7 00 00 00 f1 65 1c 00 |_.J.3..%|.....e..|
|000011d0| 82 45 78 61 6d 70 6c 65 | 31 63 00 00 63 00 00 00 |.Example|1c..c...|
|000011e0| 45 ff ff ff 24 af 75 9e | 33 00 62 0d 63 00 00 00 |E...$.u.|3.b.c...|
|000011f0| bc 66 1c 00 82 48 65 6c | 6c 6f 57 00 00 00 00 00 |.f...Hel|loW.....|
|00001200| 4b 00 00 00 45 ff ff ff | a6 cf 76 9e 33 00 13 ee |K...E...|..v.3...|
|00001210| 4b 00 00 00 43 67 1c 00 | 00 00 00 00 00 00 00 00 |K...Cg..|........|
|00001220| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001230| 00 00 00 00 00 00 00 00 | 00 00 00 00 82 63 63 00 |........|.....cc.|
|00001240| 65 6d 65 6e 74 73 2e 0a | ff ff ff ff 45 ff ff ff |ements..|....E...|
|00001250| 0c 9f 00 a2 33 00 00 00 | ff ff ff ff 48 12 00 80 |....3...|....H...|
|00001260| 82 48 65 6c 6c 6f 57 2b | 2b 00 00 00 63 00 00 00 |.HelloW+|+...c...|
|00001270| 45 ff ff ff 16 47 8c 9f | 33 00 d6 19 63 00 00 00 |E....G..|3...c...|
|00001280| b2 67 1c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |.g......|........|
|00001290| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000012a0| 00 00 00 00 00 00 00 00 | 82 68 00 63 65 6d 65 6e |........|.h.cemen|
|000012b0| 74 73 2e 0a ff ff ff ff | 45 ff ff ff 44 9f 00 a2 |ts......|E...D...|
|000012c0| 33 00 00 00 ff ff ff ff | d8 12 00 80 82 65 78 61 |3.......|.....exa|
|000012d0| 6d 70 6c 65 31 62 00 00 | 15 00 00 00 45 ff ff ff |mple1b..|....E...|
|000012e0| de d7 4a 84 33 00 da f4 | 15 00 00 00 39 68 1c 00 |..J.3...|....9h..|
|000012f0| 82 65 78 61 6d 70 6c 65 | 31 63 00 00 15 00 00 00 |.example|1c......|
|00001300| 45 ff ff ff aa d9 4a 84 | 33 00 d7 64 15 00 00 00 |E.....J.|3..d....|
|00001310| 72 68 1c 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |rh......|........|
|00001320| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001330| 00 00 00 00 00 00 00 00 | 82 4d 61 6b 65 66 69 6c |........|.Makefil|
|00001340| 65 00 2e 0a b0 05 00 00 | 45 e1 ff ff 4a 66 8c 9f |e.......|E...Jf..|
|00001350| 33 00 f5 a9 b0 05 00 00 | ab 68 1c 00 82 6f 00 63 |3.......|.h...o.c|
|00001360| 65 6d 65 6e 74 73 2e 0a | ff ff ff ff 45 ff ff ff |ements..|....E...|
|00001370| bb 9f 00 a2 33 00 00 00 | ff ff ff ff 44 13 00 80 |....3...|....D...|
|00001380| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001390| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013a0| 00 00 00 00 82 73 00 63 | 65 6d 65 6e 74 73 2e 0a |.....s.c|ements..|
|000013b0| ff ff ff ff 45 ff ff ff | e7 9f 00 a2 33 00 00 00 |....E...|....3...|
|000013c0| ff ff ff ff 8c 13 00 80 | 00 00 00 00 00 00 00 00 |........|........|
|000013d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000013e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 61 6e 63 |........|.....anc|
|000013f0| 65 6d 65 6e 74 73 2e 0a | 0a 31 29 20 20 20 20 20 |ements..|.1) |
|00001400| 20 43 6f 6e 66 75 73 69 | 6f 6e 20 62 01 63 77 65 | Confusi|on b.cwe|
|00001410| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00001430| 00 00 00 00 46 69 6c 65 | 44 61 74 61 82 21 42 6f |....File|Data.!Bo|
|00001440| 6f 74 00 05 03 00 0a 82 | b8 00 00 00 45 eb ff ff |ot......|....E...|
|00001450| f4 e8 92 a0 03 00 b1 8b | 49 63 6f 6e 53 70 72 69 |........|IconSpri|
|00001460| 74 65 73 20 3c 4f 62 65 | 79 24 44 69 72 3e 2e 21 |tes <Obe|y$Dir>.!|
|00001470| 53 70 72 69 74 65 73 0a | 69 66 20 22 3c 47 43 43 |Sprites.|if "<GCC|
|00001480| 24 50 61 74 68 3e 22 20 | 3c 3e 20 22 22 20 54 68 |$Path>" |<> "" Th|
|00001490| 65 6e 20 6f 62 65 79 0a | 53 65 74 20 52 75 6e 24 |en obey.|Set Run$|
|000014a0| 50 61 74 68 20 3c 52 75 | 6e 24 50 61 74 68 3e 2c |Path <Ru|n$Path>,|
|000014b0| 3c 4f 62 65 79 24 44 69 | 72 3e 2e 62 69 6e 2e 0a |<Obey$Di|r>.bin..|
|000014c0| 53 65 74 20 47 50 50 24 | 50 61 74 68 20 3c 4f 62 |Set GPP$|Path <Ob|
|000014d0| 65 79 24 44 69 72 3e 2e | 67 70 70 2e 0a 53 65 74 |ey$Dir>.|gpp..Set|
|000014e0| 20 47 43 43 24 50 61 74 | 68 20 3c 4f 62 65 79 24 | GCC$Pat|h <Obey$|
|000014f0| 44 69 72 3e 2e 67 63 63 | 2e 0a 7c 20 53 65 74 20 |Dir>.gcc|..| Set |
|00001500| 47 43 43 24 4c 69 6e 6b | 65 72 20 6c 69 6e 6b 0a |GCC$Link|er link.|
|00001510| 46 69 6c 65 44 61 74 61 | 82 21 43 68 61 6e 67 65 |FileData|.!Change|
|00001520| 73 00 0a 82 7c 15 00 00 | 45 ff ff ff 47 c2 92 a0 |s...|...|E...G...|
|00001530| 03 00 a0 58 20 20 20 20 | 20 20 20 20 20 20 20 20 |...X | |
|00001540| 20 20 20 20 43 68 61 6e | 67 65 73 0a 20 20 20 20 | Chan|ges. |
|00001550| 20 20 20 20 20 20 20 20 | 20 20 20 20 3d 3d 3d 3d | | ====|
|00001560| 3d 3d 3d 0a 0a 54 68 69 | 73 20 64 65 73 63 72 69 |===..Thi|s descri|
|00001570| 62 65 73 20 74 68 65 20 | 63 68 61 6e 67 65 73 20 |bes the |changes |
|00001580| 62 65 74 77 65 65 6e 20 | 74 68 65 20 72 65 6c 65 |between |the rele|
|00001590| 61 73 65 73 20 6f 66 20 | 47 43 43 20 66 6f 72 20 |ases of |GCC for |
|000015a0| 74 68 65 20 41 72 63 68 | 69 6d 65 64 65 73 2e 0a |the Arch|imedes..|
|000015b0| 0a 0a 0a 32 2e 34 2e 35 | 20 28 31 2e 62 65 74 61 |...2.4.5| (1.beta|
|000015c0| 2e 31 29 20 2d 3e 20 32 | 2e 34 2e 35 20 28 52 32 |.1) -> 2|.4.5 (R2|
|000015d0| 29 0a 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |).======|========|
|000015e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000015f0| 0a 0a 54 68 69 73 20 69 | 73 20 6d 6f 73 74 6c 79 |..This i|s mostly|
|00001600| 20 62 75 67 20 66 69 78 | 65 73 20 77 69 74 68 20 | bug fix|es with |
|00001610| 61 20 66 65 77 20 65 6e | 68 61 6e 63 65 6d 65 6e |a few en|hancemen|
|00001620| 74 73 2e 0a 0a 31 29 20 | 20 20 20 20 20 43 6f 6e |ts...1) | Con|
|00001630| 66 75 73 69 6f 6e 20 62 | 65 74 77 65 65 6e 20 62 |fusion b|etween b|
|00001640| 69 6e 61 72 69 65 73 20 | 62 65 69 6e 67 20 69 6e |inaries |being in|
|00001650| 20 73 75 62 64 69 72 73 | 20 67 63 63 20 61 6e 64 | subdirs| gcc and|
|00001660| 20 62 69 6e 20 73 6f 72 | 74 65 64 20 6f 75 74 20 | bin sor|ted out |
|00001670| 2d 0a 20 20 20 20 20 20 | 20 20 74 68 65 79 20 61 |-. | they a|
|00001680| 72 65 20 64 65 66 69 6e | 69 74 65 6c 79 20 69 6e |re defin|itely in|
|00001690| 20 62 69 6e 20 28 69 20 | 74 68 69 6e 6b 29 2e 0a | bin (i |think)..|
|000016a0| 0a 32 29 20 20 20 20 20 | 20 47 43 43 20 6e 6f 77 |.2) | GCC now|
|000016b0| 20 68 61 6e 64 6c 65 73 | 20 6c 65 61 66 20 66 75 | handles| leaf fu|
|000016c0| 6e 63 74 69 6f 6e 73 20 | 64 69 66 66 65 72 65 6e |nctions |differen|
|000016d0| 74 6c 79 2c 20 61 6e 64 | 20 64 72 6f 70 73 20 74 |tly, and| drops t|
|000016e0| 68 65 20 41 50 43 53 2d | 52 0a 20 20 20 20 20 20 |he APCS-|R. |
|000016f0| 20 20 70 72 6f 6c 6f 67 | 75 65 20 61 6e 64 20 65 | prolog|ue and e|
|00001700| 70 69 6c 6f 67 75 65 73 | 2c 20 69 66 20 69 74 20 |pilogues|, if it |
|00001710| 63 61 6e 2e 20 54 68 69 | 73 20 6d 65 61 6e 73 20 |can. Thi|s means |
|00001720| 74 68 61 74 20 47 43 43 | 20 6e 6f 77 20 72 75 6e |that GCC| now run|
|00001730| 73 20 61 74 0a 20 20 20 | 20 20 20 20 20 61 72 6f |s at. | aro|
|00001740| 75 6e 64 20 31 36 2c 35 | 30 30 20 44 68 72 79 73 |und 16,5|00 Dhrys|
|00001750| 74 6f 6e 65 73 20 63 6f | 6d 70 61 72 65 64 20 74 |tones co|mpared t|
|00001760| 6f 20 74 68 65 20 70 72 | 65 76 69 6f 75 73 20 31 |o the pr|evious 1|
|00001770| 34 2c 33 30 30 2c 20 61 | 6e 64 0a 20 20 20 20 20 |4,300, a|nd. |
|00001780| 20 20 20 4e 6f 72 63 72 | 6f 66 74 27 73 20 31 38 | Norcr|oft's 18|
|00001790| 2c 35 30 30 2e 0a 0a 33 | 29 20 20 20 20 20 20 41 |,500...3|) A|
|000017a0| 20 70 72 6f 62 6c 65 6d | 20 77 69 74 68 20 75 73 | problem| with us|
|000017b0| 69 6e 67 20 76 61 72 69 | 61 62 6c 65 73 20 74 68 |ing vari|ables th|
|000017c0| 65 20 73 61 6d 65 20 61 | 73 20 74 68 65 20 41 50 |e same a|s the AP|
|000017d0| 43 53 2d 52 20 72 65 67 | 69 73 74 65 72 20 6e 61 |CS-R reg|ister na|
|000017e0| 6d 65 73 0a 20 20 20 20 | 20 20 20 20 28 72 30 2c |mes. | (r0,|
|000017f0| 20 66 70 20 65 74 63 2e | 29 20 68 61 73 20 62 65 | fp etc.|) has be|
|00001800| 65 6e 20 63 6c 65 61 72 | 65 64 2e 0a 0a 34 29 20 |en clear|ed...4) |
|00001810| 20 20 20 20 20 54 68 65 | 20 73 77 69 74 63 68 20 | The| switch |
|00001820| 2d 61 63 6f 72 6e 2d 6d | 61 6b 65 20 69 73 20 6e |-acorn-m|ake is n|
|00001830| 6f 77 20 64 65 70 72 65 | 63 61 74 65 64 2c 20 61 |ow depre|cated, a|
|00001840| 6e 64 20 68 61 73 20 62 | 65 65 6e 20 72 65 70 6c |nd has b|een repl|
|00001850| 61 63 65 64 20 62 79 0a | 20 20 20 20 20 20 20 20 |aced by.| |
|00001860| 2d 6d 61 6d 75 2c 20 77 | 68 69 63 68 20 68 61 73 |-mamu, w|hich has|
|00001870| 20 74 68 65 20 73 61 6d | 65 20 65 66 66 65 63 74 | the sam|e effect|
|00001880| 20 6f 66 20 67 65 6e 65 | 72 61 74 69 6e 67 20 74 | of gene|rating t|
|00001890| 68 65 20 64 65 70 65 6e | 64 65 6e 63 69 65 73 20 |he depen|dencies |
|000018a0| 66 69 6c 65 0a 20 20 20 | 20 20 20 20 20 66 6f 72 |file. | for|
|000018b0| 20 41 4d 55 2e 20 54 68 | 69 73 20 77 61 73 20 64 | AMU. Th|is was d|
|000018c0| 6f 6e 65 20 61 73 20 61 | 6c 6c 20 6d 61 63 68 69 |one as a|ll machi|
|000018d0| 6e 65 20 73 70 65 63 69 | 66 69 63 20 73 77 69 74 |ne speci|fic swit|
|000018e0| 63 68 20 73 68 6f 75 6c | 64 20 73 74 61 72 74 0a |ch shoul|d start.|
|000018f0| 20 20 20 20 20 20 20 20 | 2d 6d 2e 20 2d 61 63 6f | |-m. -aco|
|00001900| 72 6e 2d 6d 61 6b 65 20 | 69 73 20 61 63 63 65 70 |rn-make |is accep|
|00001910| 74 65 64 20 62 79 20 74 | 68 69 73 20 72 65 6c 65 |ted by t|his rele|
|00001920| 61 73 65 2c 20 62 75 74 | 20 77 69 6c 6c 20 6e 6f |ase, but| will no|
|00001930| 74 20 62 65 0a 20 20 20 | 20 20 20 20 20 61 63 63 |t be. | acc|
|00001940| 65 70 74 65 64 20 62 79 | 20 6c 61 74 65 72 20 76 |epted by| later v|
|00001950| 65 72 73 69 6f 6e 73 2e | 0a 0a 35 29 20 20 20 20 |ersions.|..5) |
|00001960| 20 20 46 6f 72 20 74 68 | 6f 73 65 20 77 68 6f 20 | For th|ose who |
|00001970| 77 69 73 68 20 74 6f 20 | 75 73 65 20 53 74 75 62 |wish to |use Stub|
|00001980| 73 20 72 61 74 68 65 72 | 20 74 68 61 6e 20 55 6e |s rather| than Un|
|00001990| 69 78 4c 69 62 2c 20 61 | 20 6e 65 77 20 73 77 69 |ixLib, a| new swi|
|000019a0| 74 63 68 0a 20 20 20 20 | 20 20 20 20 2d 6d 73 74 |tch. | -mst|
|000019b0| 75 62 73 20 68 61 73 20 | 62 65 65 6e 20 61 64 64 |ubs has |been add|
|000019c0| 65 64 20 77 68 69 63 68 | 20 64 6f 65 73 20 61 6c |ed which| does al|
|000019d0| 6c 20 74 68 61 74 20 69 | 73 20 72 65 71 75 69 72 |l that i|s requir|
|000019e0| 65 64 20 74 6f 20 75 73 | 65 20 53 74 75 62 73 2e |ed to us|e Stubs.|
|000019f0| 0a 0a 36 29 20 20 20 20 | 20 20 41 74 74 65 6d 70 |..6) | Attemp|
|00001a00| 74 73 20 74 6f 20 75 73 | 65 20 74 68 65 20 2d 70 |ts to us|e the -p|
|00001a10| 69 70 65 20 63 6f 6d 6d | 61 6e 64 20 61 72 65 20 |ipe comm|and are |
|00001a20| 72 65 6a 65 63 74 65 64 | 20 61 73 20 65 72 72 6f |rejected| as erro|
|00001a30| 72 73 2e 0a 0a 37 29 20 | 20 20 20 20 20 74 68 65 |rs...7) | the|
|00001a40| 20 2d 6d 6e 6f 2d 61 70 | 63 73 20 73 77 69 74 63 | -mno-ap|cs switc|
|00001a50| 68 20 68 61 73 20 68 61 | 64 20 69 74 73 20 62 65 |h has ha|d its be|
|00001a60| 68 61 76 69 6f 75 72 20 | 74 69 64 69 65 64 20 75 |haviour |tidied u|
|00001a70| 70 2e 20 5b 69 6e 74 65 | 72 6e 61 6c 0a 20 20 20 |p. [inte|rnal. |
|00001a80| 20 20 20 20 20 65 66 66 | 65 63 74 20 6f 6e 6c 79 | eff|ect only|
|00001a90| 5d 0a 0a 38 29 20 20 20 | 20 20 20 50 72 6f 66 69 |]..8) | Profi|
|00001aa0| 6c 69 6e 67 20 61 74 74 | 65 6d 70 74 73 20 74 6f |ling att|empts to|
|00001ab0| 20 67 65 6e 65 72 61 74 | 65 20 73 6f 6d 65 74 68 | generat|e someth|
|00001ac0| 69 6e 67 20 72 65 61 73 | 6f 6e 61 62 6c 65 2e 0a |ing reas|onable..|
|00001ad0| 0a 0a 0a 0a 32 2e 34 2e | 35 20 28 72 32 29 20 2d |....2.4.|5 (r2) -|
|00001ae0| 3e 20 32 2e 34 2e 35 20 | 28 52 32 2e 31 29 0a 3d |> 2.4.5 |(R2.1).=|
|00001af0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00001b00| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0a 0a 4d 61 69 6e 6c |========|=..Mainl|
|00001b10| 79 20 66 69 78 65 73 20 | 66 6f 72 20 61 20 63 6f |y fixes |for a co|
|00001b20| 75 70 6c 65 20 6f 66 20 | 6d 69 6e 6f 72 20 62 75 |uple of |minor bu|
|00001b30| 67 73 20 2d 20 49 66 20 | 74 68 65 79 20 64 6f 6e |gs - If |they don|
|00001b40| 74 20 62 69 74 65 2c 20 | 79 6f 75 20 64 6f 6e 74 |t bite, |you dont|
|00001b50| 20 6e 65 65 64 0a 74 68 | 69 73 20 75 70 67 72 61 | need.th|is upgra|
|00001b60| 64 65 2e 0a 0a 31 29 20 | 20 20 20 20 20 50 72 6f |de...1) | Pro|
|00001b70| 62 6c 65 6d 73 20 77 69 | 74 68 20 70 61 73 73 69 |blems wi|th passi|
|00001b80| 6e 67 20 66 6c 6f 61 74 | 20 70 61 72 61 6d 65 74 |ng float| paramet|
|00001b90| 65 72 73 20 74 6f 20 73 | 6f 6d 65 20 66 75 6e 63 |ers to s|ome func|
|00001ba0| 74 69 6f 6e 73 20 2d 20 | 74 68 65 0a 20 20 20 20 |tions - |the. |
|00001bb0| 20 20 20 20 67 65 6e 65 | 72 61 74 65 64 20 63 6f | gene|rated co|
|00001bc0| 64 65 20 72 65 66 65 72 | 65 6e 63 65 73 20 61 6e |de refer|ences an|
|00001bd0| 20 75 6e 64 65 66 69 6e | 65 64 20 72 65 67 69 73 | undefin|ed regis|
|00001be0| 74 65 72 2e 20 54 68 69 | 73 20 77 61 73 20 72 65 |ter. Thi|s was re|
|00001bf0| 70 6f 72 74 65 64 0a 20 | 20 20 20 20 20 20 20 77 |ported. | w|
|00001c00| 68 65 6e 20 75 73 69 6e | 67 20 74 68 65 20 69 6f |hen usin|g the io|
|00001c10| 73 74 72 65 61 6d 20 6c | 69 62 72 61 72 79 20 61 |stream l|ibrary a|
|00001c20| 6e 64 20 74 68 65 20 3c | 3c 20 6f 70 65 72 61 74 |nd the <|< operat|
|00001c30| 6f 72 2e 0a 0a 32 29 20 | 20 20 20 20 20 57 68 65 |or...2) | Whe|
|00001c40| 6e 20 75 73 69 6e 67 20 | 43 2b 2b 2c 20 74 68 65 |n using |C++, the|
|00001c50| 20 6e 65 77 5f 68 61 6e | 64 6c 65 72 28 29 20 66 | new_han|dler() f|
|00001c60| 75 6e 63 74 69 6f 6e 73 | 20 72 65 71 75 69 72 65 |unctions| require|
|00001c70| 64 20 55 6e 69 78 4c 69 | 62 20 74 6f 20 62 65 0a |d UnixLi|b to be.|
|00001c80| 20 20 20 20 20 20 20 20 | 75 73 65 64 20 72 61 74 | |used rat|
|00001c90| 68 65 72 20 74 68 61 6e | 20 73 74 75 62 73 20 61 |her than| stubs a|
|00001ca0| 73 20 74 68 65 20 75 73 | 65 64 20 77 72 69 74 65 |s the us|ed write|
|00001cb0| 28 29 20 74 6f 20 72 65 | 70 6f 72 74 20 65 72 72 |() to re|port err|
|00001cc0| 6f 72 73 2e 20 49 20 6e | 6f 77 0a 20 20 20 20 20 |ors. I n|ow. |
|00001cd0| 20 20 20 75 73 65 20 4f | 53 5f 57 72 69 74 65 30 | use O|S_Write0|
|00001ce0| 20 74 6f 20 64 69 73 70 | 6c 79 20 74 68 65 20 65 | to disp|ly the e|
|00001cf0| 72 72 6f 72 20 6d 65 73 | 73 61 67 65 20 2d 20 74 |rror mes|sage - t|
|00001d00| 68 69 73 20 64 6f 65 73 | 20 6d 65 61 6e 20 74 68 |his does| mean th|
|00001d10| 61 74 0a 20 20 20 20 20 | 20 20 20 72 65 64 69 72 |at. | redir|
|00001d20| 65 63 74 69 6f 6e 20 6f | 66 20 73 74 64 65 72 72 |ection o|f stderr|
|00001d30| 20 77 69 6c 6c 20 6e 6f | 74 20 63 61 74 63 68 20 | will no|t catch |
|00001d40| 74 68 69 73 20 65 72 72 | 6f 72 20 6d 65 73 73 61 |this err|or messa|
|00001d50| 67 65 2e 0a 0a 33 29 20 | 20 20 20 20 20 47 43 43 |ge...3) | GCC|
|00001d60| 20 68 61 73 20 61 6e 20 | 69 6e 62 75 69 6c 74 20 | has an |inbuilt |
|00001d70| 61 6c 6c 6f 63 61 28 29 | 2c 20 77 68 69 63 68 20 |alloca()|, which |
|00001d80| 69 73 20 69 6e 63 6f 6d | 70 61 74 61 62 69 6c 65 |is incom|patabile|
|00001d90| 20 77 69 74 68 20 74 68 | 65 20 41 50 43 53 2d 52 | with th|e APCS-R|
|00001da0| 0a 20 20 20 20 20 20 20 | 20 6d 75 6c 74 69 2d 63 |. | multi-c|
|00001db0| 68 75 6e 6b 20 73 74 61 | 63 6b 2e 20 54 6f 20 75 |hunk sta|ck. To u|
|00001dc0| 73 65 20 61 6c 6c 6f 63 | 61 20 63 6f 72 72 65 63 |se alloc|a correc|
|00001dd0| 74 6c 79 2c 20 79 6f 75 | 20 4d 55 53 54 20 69 6e |tly, you| MUST in|
|00001de0| 63 6c 75 64 65 20 74 68 | 65 0a 20 20 20 20 20 20 |clude th|e. |
|00001df0| 20 20 66 69 6c 65 20 3c | 61 6c 6c 6f 63 61 2e 68 | file <|alloca.h|
|00001e00| 3e 20 62 65 66 6f 72 65 | 20 63 61 6c 6c 69 6e 67 |> before| calling|
|00001e10| 20 61 6c 6c 6f 63 61 28 | 29 2e 20 54 68 69 73 20 | alloca(|). This |
|00001e20| 69 73 20 64 75 65 20 74 | 6f 20 47 43 43 20 73 69 |is due t|o GCC si|
|00001e30| 6d 70 6c 79 0a 20 20 20 | 20 20 20 20 20 64 72 6f |mply. | dro|
|00001e40| 70 70 69 6e 67 20 74 68 | 65 20 73 74 61 63 6b 20 |pping th|e stack |
|00001e50| 70 6f 69 6e 74 65 72 20 | 77 69 74 68 6f 75 74 20 |pointer |without |
|00001e60| 63 68 65 63 6b 69 6e 67 | 20 66 6f 72 20 61 6e 79 |checking| for any|
|00001e70| 20 65 72 6f 72 72 73 2e | 20 55 6e 69 78 4c 69 62 | erorrs.| UnixLib|
|00001e80| 0a 20 20 20 20 20 20 20 | 20 75 73 65 73 20 6d 61 |. | uses ma|
|00001e90| 6c 6c 6f 63 28 29 20 61 | 6e 64 20 70 61 74 63 68 |lloc() a|nd patch|
|00001ea0| 65 73 20 74 68 65 20 72 | 65 74 75 72 6e 20 61 64 |es the r|eturn ad|
|00001eb0| 64 72 65 73 73 20 69 6e | 20 74 68 65 20 73 74 61 |dress in| the sta|
|00001ec0| 63 6b 20 74 6f 20 66 72 | 65 65 0a 20 20 20 20 20 |ck to fr|ee. |
|00001ed0| 20 20 20 74 68 65 20 6d | 65 6d 6f 72 79 20 6f 6e | the m|emory on|
|00001ee0| 20 66 75 6e 63 74 69 6f | 6e 20 72 65 74 75 72 6e | functio|n return|
|00001ef0| 2e 0a 0a 34 29 20 20 20 | 20 20 20 49 20 68 61 76 |...4) | I hav|
|00001f00| 65 20 66 69 6e 61 6c 6c | 79 20 73 6f 72 74 65 64 |e finall|y sorted|
|00001f10| 20 6f 75 74 20 74 68 65 | 20 70 72 6f 62 6c 65 6d | out the| problem|
|00001f20| 20 6f 66 20 72 65 67 69 | 73 74 65 72 20 6e 61 6d | of regi|ster nam|
|00001f30| 65 73 20 2d 20 41 53 20 | 6e 6f 77 0a 20 20 20 20 |es - AS |now. |
|00001f40| 20 20 20 20 63 6f 6e 74 | 61 69 6e 73 20 74 68 65 | cont|ains the|
|00001f50| 73 65 20 61 73 20 69 6e | 74 65 72 6e 61 6c 20 63 |se as in|ternal c|
|00001f60| 6f 6e 73 74 61 6e 74 73 | 2c 20 77 68 69 63 68 20 |onstants|, which |
|00001f70| 64 6f 20 6e 6f 74 20 63 | 6c 61 73 68 20 77 69 74 |do not c|lash wit|
|00001f80| 68 0a 20 20 20 20 20 20 | 20 20 76 61 72 69 61 62 |h. | variab|
|00001f90| 6c 65 73 20 6f 66 20 74 | 68 65 20 73 61 6d 65 20 |les of t|he same |
|00001fa0| 6e 61 6d 65 2e 0a 0a 20 | 20 20 20 20 20 20 20 54 |name... | T|
|00001fb0| 68 65 20 72 65 67 69 73 | 74 65 72 20 6e 61 6d 65 |he regis|ter name|
|00001fc0| 73 20 74 68 61 74 20 47 | 43 43 20 2f 20 41 53 20 |s that G|CC / AS |
|00001fd0| 72 65 63 6f 67 6e 69 73 | 65 73 20 61 72 65 20 3a |recognis|es are :|
|00001fe0| 0a 0a 20 20 20 20 20 20 | 20 20 72 30 20 72 31 20 |.. | r0 r1 |
|00001ff0| 72 32 20 72 33 20 72 34 | 20 72 35 20 72 36 20 72 |r2 r3 r4| r5 r6 r|
|00002000| 37 20 72 38 20 20 47 65 | 6e 65 72 61 6c 20 70 75 |7 r8 Ge|neral pu|
|00002010| 72 70 6f 73 65 20 72 65 | 67 69 73 74 65 72 73 0a |rpose re|gisters.|
|00002020| 20 20 20 20 20 20 20 20 | 72 66 70 20 73 6c 20 66 | |rfp sl f|
|00002030| 70 20 69 70 20 73 70 20 | 6c 72 20 70 63 20 20 20 |p ip sp |lr pc |
|00002040| 20 20 20 20 55 73 65 64 | 20 62 79 20 47 43 43 20 | Used| by GCC |
|00002050| 2d 20 74 61 6b 65 20 63 | 61 72 65 20 77 68 65 6e |- take c|are when|
|00002060| 20 75 73 69 6e 67 20 74 | 68 65 73 65 0a 20 20 20 | using t|hese. |
|00002070| 20 20 20 20 20 66 30 20 | 66 31 20 66 32 20 66 33 | f0 |f1 f2 f3|
|00002080| 20 66 34 20 66 35 20 66 | 36 20 66 37 20 20 20 20 | f4 f5 f|6 f7 |
|00002090| 20 46 6c 6f 61 74 69 6e | 67 20 70 6f 69 6e 74 20 | Floatin|g point |
|000020a0| 72 65 67 69 73 74 65 72 | 73 2e 0a 0a 20 20 20 20 |register|s... |
|000020b0| 20 20 20 20 4e 6f 74 65 | 20 2d 20 41 53 20 6f 6e | Note| - AS on|
|000020c0| 6c 79 20 72 65 63 6f 67 | 6e 69 73 65 73 20 74 68 |ly recog|nises th|
|000020d0| 65 73 65 20 77 68 65 6e | 20 62 65 69 6e 67 20 75 |ese when| being u|
|000020e0| 73 65 64 20 61 73 20 61 | 20 62 61 63 6b 65 6e 64 |sed as a| backend|
|000020f0| 20 74 6f 20 47 43 43 2c | 0a 20 20 20 20 20 20 20 | to GCC,|. |
|00002100| 20 69 66 20 75 73 69 6e | 67 20 41 53 20 69 6e 20 | if usin|g AS in |
|00002110| 73 74 61 6e 64 61 6c 6f | 6e 65 20 6d 6f 64 65 2c |standalo|ne mode,|
|00002120| 20 79 6f 75 20 73 74 69 | 6c 6c 20 68 61 76 65 20 | you sti|ll have |
|00002130| 74 6f 20 64 65 66 69 6e | 65 20 74 68 65 0a 20 20 |to defin|e the. |
|00002140| 20 20 20 20 20 20 72 65 | 67 69 73 74 65 72 73 20 | re|gisters |
|00002150| 79 6f 75 20 75 73 65 2e | 0a 0a 35 29 20 20 20 20 |you use.|..5) |
|00002160| 20 20 49 6e 74 65 72 6e | 61 6c 20 6c 61 62 65 6c | Intern|al label|
|00002170| 73 20 61 72 65 20 6e 6f | 77 20 70 72 65 63 65 64 |s are no|w preced|
|00002180| 65 64 20 62 79 20 61 20 | 27 2e 27 2c 20 77 68 69 |ed by a |'.', whi|
|00002190| 63 68 20 69 73 20 69 6c | 6c 65 67 61 6c 20 69 6e |ch is il|legal in|
|000021a0| 20 43 0a 20 20 20 20 20 | 20 20 20 76 61 72 69 61 | C. | varia|
|000021b0| 62 6c 65 73 2c 20 73 6f | 20 74 68 65 72 65 20 73 |bles, so| there s|
|000021c0| 68 6f 75 6c 64 20 62 65 | 20 6e 6f 20 63 6c 61 73 |hould be| no clas|
|000021d0| 68 65 73 2e 0a 0a 36 29 | 20 20 20 20 20 20 43 68 |hes...6)| Ch|
|000021e0| 61 6e 67 65 73 20 74 6f | 20 55 6e 69 78 4c 69 62 |anges to| UnixLib|
|000021f0| 20 68 61 76 65 20 6d 65 | 61 6e 74 20 74 68 61 74 | have me|ant that|
|00002200| 20 27 72 69 73 63 6f 73 | 27 20 64 6f 65 73 20 6e | 'riscos|' does n|
|00002210| 6f 74 20 68 61 76 65 20 | 74 6f 20 62 65 0a 20 20 |ot have |to be. |
|00002220| 20 20 20 20 20 20 75 6e | 64 65 66 69 6e 65 64 20 | un|defined |
|00002230| 77 68 65 6e 20 63 6f 6d | 70 69 6c 69 6e 67 20 77 |when com|piling w|
|00002240| 69 74 68 20 55 6e 69 78 | 4c 69 62 2e 0a 0a 0a 0a |ith Unix|Lib.....|
|00002250| 32 2e 34 2e 35 20 28 52 | 32 2e 31 29 20 2d 3e 20 |2.4.5 (R|2.1) -> |
|00002260| 32 2e 34 2e 35 20 28 52 | 32 2e 32 29 0a 3d 3d 3d |2.4.5 (R|2.2).===|
|00002270| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00002280| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0a 0a 59 65 74 20 61 |========|=..Yet a|
|00002290| 67 61 69 6e 2c 20 74 68 | 69 73 20 69 73 20 6f 6e |gain, th|is is on|
|000022a0| 6c 79 20 61 20 66 65 77 | 20 62 75 67 20 66 69 78 |ly a few| bug fix|
|000022b0| 65 73 2e 20 4d 79 20 63 | 75 72 72 65 6e 74 20 69 |es. My c|urrent i|
|000022c0| 6e 74 65 6e 74 69 6f 6e | 20 69 73 20 74 68 61 74 |ntention| is that|
|000022d0| 20 74 68 69 73 0a 77 69 | 6c 6c 20 62 65 20 74 68 | this.wi|ll be th|
|000022e0| 65 20 6c 61 73 74 20 72 | 65 6c 61 73 65 20 6f 66 |e last r|elase of|
|000022f0| 20 47 43 43 20 32 2e 34 | 2e 35 2c 20 61 6e 64 20 | GCC 2.4|.5, and |
|00002300| 74 68 65 20 6e 65 78 74 | 20 72 65 6c 65 61 73 65 |the next| release|
|00002310| 20 77 69 6c 6c 20 62 65 | 20 62 61 73 65 64 20 6f | will be| based o|
|00002320| 6e 0a 47 43 43 20 32 2e | 36 2e 78 20 28 70 72 6f |n.GCC 2.|6.x (pro|
|00002330| 62 61 62 6c 79 20 32 2e | 36 2e 31 29 2c 20 75 6e |bably 2.|6.1), un|
|00002340| 6c 65 73 73 20 61 6e 79 | 6f 6e 65 20 72 65 70 6f |less any|one repo|
|00002350| 72 74 73 20 61 6e 79 20 | 73 68 6f 77 20 73 74 6f |rts any |show sto|
|00002360| 70 65 72 20 62 75 67 73 | 2e 0a 0a 31 29 20 20 20 |per bugs|...1) |
|00002370| 20 20 20 54 68 65 20 62 | 61 63 6b 65 6e 64 20 61 | The b|ackend a|
|00002380| 73 73 65 6d 62 6c 65 72 | 20 68 61 73 20 62 65 65 |ssembler| has bee|
|00002390| 6e 20 69 6d 70 72 6f 76 | 65 64 20 74 6f 20 67 65 |n improv|ed to ge|
|000023a0| 6e 65 72 61 74 65 20 74 | 68 65 20 63 6f 72 72 65 |nerate t|he corre|
|000023b0| 63 74 0a 20 20 20 20 20 | 20 20 20 69 6e 73 74 72 |ct. | instr|
|000023c0| 75 63 74 69 6f 6e 73 20 | 66 6f 72 20 6c 6f 61 64 |uctions |for load|
|000023d0| 69 6e 67 20 2f 20 73 74 | 6f 72 69 6e 67 20 66 6c |ing / st|oring fl|
|000023e0| 6f 61 74 69 6e 67 20 70 | 6f 69 6e 74 20 76 61 6c |oating p|oint val|
|000023f0| 75 65 73 2c 20 77 69 74 | 68 0a 20 20 20 20 20 20 |ues, wit|h. |
|00002400| 20 20 70 6f 73 74 2d 69 | 6e 63 72 65 6d 65 6e 74 | post-i|ncrement|
|00002410| 20 77 72 69 74 65 20 62 | 61 63 6b 20 74 6f 20 74 | write b|ack to t|
|00002420| 68 65 20 62 61 73 65 20 | 72 65 67 69 73 74 65 72 |he base |register|
|00002430| 2e 20 54 68 69 73 20 6f | 6e 6c 79 20 63 61 75 73 |. This o|nly caus|
|00002440| 65 64 0a 20 20 20 20 20 | 20 20 20 65 72 72 6f 72 |ed. | error|
|00002450| 73 20 6f 6e 20 74 68 65 | 20 46 50 41 2c 20 61 6e |s on the| FPA, an|
|00002460| 64 20 6e 6f 74 20 6f 6e | 20 74 68 65 20 46 50 45 |d not on| the FPE|
|00002470| 2e 20 54 68 69 73 20 63 | 6f 72 72 65 63 74 69 6f |. This c|orrectio|
|00002480| 6e 20 69 73 20 61 6c 73 | 6f 20 69 6e 0a 20 20 20 |n is als|o in. |
|00002490| 20 20 20 20 20 21 41 53 | 20 56 31 2e 32 36 20 61 | !AS| V1.26 a|
|000024a0| 6e 64 20 6c 61 74 65 72 | 2e 0a 0a 32 29 20 20 20 |nd later|...2) |
|000024b0| 20 20 20 74 68 65 20 75 | 73 65 20 6f 66 20 6c 6f | the u|se of lo|
|000024c0| 6e 67 20 6c 6f 6e 67 20 | 76 61 72 69 61 62 6c 65 |ng long |variable|
|000024d0| 73 20 73 68 6f 75 6c 64 | 20 77 6f 72 6b 20 2d 20 |s should| work - |
|000024e0| 6d 6f 73 74 20 6f 66 20 | 74 68 65 20 6c 6f 6e 67 |most of |the long|
|000024f0| 20 6c 6f 6e 67 0a 20 20 | 20 20 20 20 20 20 6c 69 | long. | li|
|00002500| 62 72 61 72 79 20 63 6f | 64 65 20 77 61 73 20 6d |brary co|de was m|
|00002510| 69 73 73 69 6e 67 2e 0a | 0a 33 29 20 20 20 20 20 |issing..|.3) |
|00002520| 20 43 6f 6e 66 75 73 69 | 6f 6e 20 62 65 74 77 65 | Confusi|on betwe|
|00002530| 65 6e 20 64 69 66 66 65 | 72 65 6e 74 2c 20 69 6e |en diffe|rent, in|
|00002540| 63 6f 6d 70 61 74 69 62 | 6c 65 20 76 65 72 73 69 |compatib|le versi|
|00002550| 6f 6e 73 20 6f 66 20 21 | 41 53 20 62 65 69 6e 67 |ons of !|AS being|
|00002560| 20 69 6e 0a 20 20 20 20 | 20 20 20 20 74 68 65 20 | in. | the |
|00002570| 72 75 6e 20 70 61 74 68 | 20 68 61 73 20 62 65 65 |run path| has bee|
|00002580| 6e 20 63 6f 72 72 65 63 | 74 65 64 2c 20 47 43 43 |n correc|ted, GCC|
|00002590| 20 6e 6f 77 20 75 73 65 | 73 20 67 63 63 5f 61 73 | now use|s gcc_as|
|000025a0| 2e 20 54 68 69 73 20 69 | 73 0a 20 20 20 20 20 20 |. This i|s. |
|000025b0| 20 20 63 75 72 72 65 6e | 74 6c 79 20 61 20 73 74 | curren|tly a st|
|000025c0| 61 6e 64 61 72 64 20 56 | 31 2e 32 36 62 20 21 41 |andard V|1.26b !A|
|000025d0| 53 2c 20 6c 69 6e 6b 65 | 64 20 61 67 61 69 6e 73 |S, linke|d agains|
|000025e0| 74 20 74 68 65 20 53 68 | 61 72 65 64 20 43 0a 20 |t the Sh|ared C. |
|000025f0| 20 20 20 20 20 20 20 6c | 69 62 72 61 72 79 2c 20 | l|ibrary, |
|00002600| 74 68 6f 75 67 68 20 74 | 68 69 73 20 6d 61 79 20 |though t|his may |
|00002610| 64 72 69 66 74 20 69 6e | 20 74 68 65 20 66 75 74 |drift in| the fut|
|00002620| 75 72 65 2e 20 54 68 69 | 73 20 68 61 73 20 6d 65 |ure. Thi|s has me|
|00002630| 61 6e 74 20 74 68 65 20 | 74 68 65 0a 20 20 20 20 |ant the |the. |
|00002640| 20 20 20 20 62 69 6e 61 | 72 79 20 69 73 20 72 65 | bina|ry is re|
|00002650| 64 75 63 65 64 20 69 6e | 20 73 69 7a 65 2e 0a 0a |duced in| size...|
|00002660| 34 29 20 20 20 20 20 20 | 54 68 65 20 70 72 6f 62 |4) |The prob|
|00002670| 6c 65 6d 20 77 69 74 68 | 20 47 43 43 20 6e 6f 74 |lem with| GCC not|
|00002680| 20 63 6f 72 72 65 63 74 | 6c 79 20 72 65 61 64 69 | correct|ly readi|
|00002690| 6e 67 20 74 68 65 20 72 | 65 74 75 72 6e 20 63 6f |ng the r|eturn co|
|000026a0| 64 65 20 66 72 6f 6d 20 | 74 68 65 0a 20 20 20 20 |de from |the. |
|000026b0| 20 20 20 20 73 75 62 20 | 70 72 6f 67 72 61 6d 73 | sub |programs|
|000026c0| 20 69 74 20 69 6e 76 6f | 6b 65 73 20 68 61 73 20 | it invo|kes has |
|000026d0| 62 65 65 6e 20 63 75 72 | 65 64 2c 20 61 6e 64 20 |been cur|ed, and |
|000026e0| 65 72 72 6f 72 73 20 66 | 72 6f 6d 20 6f 6e 65 20 |errors f|rom one |
|000026f0| 72 75 6e 20 64 6f 0a 20 | 20 20 20 20 20 20 20 6e |run do. | n|
|00002700| 6f 74 20 61 66 66 65 63 | 74 20 74 68 65 20 6e 65 |ot affec|t the ne|
|00002710| 78 74 2e 0a 0a 35 29 20 | 20 20 20 20 20 43 61 6c |xt...5) | Cal|
|00002720| 6c 73 20 74 6f 20 61 6c | 6c 6f 63 61 28 29 20 61 |ls to al|loca() a|
|00002730| 72 65 20 63 6f 72 72 65 | 63 74 6c 79 20 68 61 6e |re corre|ctly han|
|00002740| 64 6c 65 64 20 62 79 20 | 47 43 43 20 6e 6f 77 2c |dled by |GCC now,|
|00002750| 20 61 6e 64 20 69 74 20 | 69 73 20 6e 6f 74 0a 20 | and it |is not. |
|00002760| 20 20 20 20 20 20 20 72 | 65 71 75 69 72 65 64 20 | r|equired |
|00002770| 74 6f 20 69 6e 63 6c 75 | 64 65 20 74 68 65 20 66 |to inclu|de the f|
|00002780| 69 6c 65 20 3c 61 6c 6c | 6f 63 61 2e 68 3e 2c 20 |ile <all|oca.h>, |
|00002790| 74 68 6f 75 67 68 20 69 | 74 20 69 73 20 72 65 63 |though i|t is rec|
|000027a0| 6f 6d 65 6e 64 65 64 2e | 0a 0a 36 29 20 20 20 20 |omended.|..6) |
|000027b0| 20 20 49 6e 63 6c 75 64 | 65 73 20 6f 66 20 74 68 | Includ|es of th|
|000027c0| 65 20 66 6f 72 6d 20 23 | 69 6e 63 6c 75 64 65 20 |e form #|include |
|000027d0| 22 50 61 74 68 3a 66 69 | 6c 65 2e 68 22 20 6e 6f |"Path:fi|le.h" no|
|000027e0| 77 20 77 6f 72 6b 20 63 | 6f 72 72 65 63 74 6c 79 |w work c|orrectly|
|000027f0| 2c 20 61 6e 64 0a 20 20 | 20 20 20 20 20 20 74 68 |, and. | th|
|00002800| 65 72 65 20 69 73 20 6e | 6f 20 6e 65 65 64 20 66 |ere is n|o need f|
|00002810| 6f 72 20 74 68 65 20 23 | 69 6e 63 6c 75 64 65 20 |or the #|include |
|00002820| 22 50 61 74 68 3a 2f 66 | 69 6c 65 2e 68 22 20 66 |"Path:/f|ile.h" f|
|00002830| 6f 72 6d 2e 0a 0a 37 29 | 20 20 20 20 20 20 50 72 |orm...7)| Pr|
|00002840| 6f 62 6c 65 6d 73 20 77 | 69 74 68 20 61 6e 20 27 |oblems w|ith an '|
|00002850| 65 78 74 65 72 6e 20 69 | 6e 74 27 20 73 74 61 74 |extern i|nt' stat|
|00002860| 65 6d 65 6e 74 20 62 65 | 69 6e 67 20 66 6f 6c 6c |ement be|ing foll|
|00002870| 6f 77 65 64 20 69 6d 6d | 65 64 69 61 74 65 6c 79 |owed imm|ediately|
|00002880| 0a 20 20 20 20 20 20 20 | 20 62 79 20 61 20 27 63 |. | by a 'c|
|00002890| 6f 6e 73 74 20 69 6e 74 | 27 20 73 74 61 74 65 6d |onst int|' statem|
|000028a0| 65 6e 74 20 63 61 73 75 | 69 6e 67 20 21 41 53 20 |ent casu|ing !AS |
|000028b0| 74 6f 20 63 6f 6d 70 6c | 61 69 6e 20 61 62 6f 75 |to compl|ain abou|
|000028c0| 74 20 20 61 74 74 65 6d | 70 74 69 6e 67 0a 20 20 |t attem|pting. |
|000028d0| 20 20 20 20 20 20 74 6f | 20 70 75 74 20 64 61 74 | to| put dat|
|000028e0| 61 20 69 6e 74 6f 20 61 | 20 6e 6f 6e 2d 69 6e 69 |a into a| non-ini|
|000028f0| 74 20 61 72 65 61 20 68 | 61 73 20 62 65 65 6e 20 |t area h|as been |
|00002900| 63 6c 65 61 72 65 64 20 | 2d 20 49 20 66 6f 72 67 |cleared |- I forg|
|00002910| 6f 74 20 74 6f 0a 20 20 | 20 20 20 20 20 20 63 68 |ot to. | ch|
|00002920| 61 6e 67 65 20 62 61 63 | 6b 20 74 6f 20 74 68 65 |ange bac|k to the|
|00002930| 20 63 6f 64 65 20 61 72 | 65 61 20 61 66 74 65 72 | code ar|ea after|
|00002940| 20 6f 75 74 70 75 74 69 | 6e 67 20 61 20 27 63 6f | outputi|ng a 'co|
|00002950| 6d 6d 6f 6e 27 20 61 72 | 65 61 2e 0a 0a 38 29 20 |mmon' ar|ea...8) |
|00002960| 20 20 20 20 20 41 74 20 | 74 68 65 20 72 65 71 75 | At |the requ|
|00002970| 65 73 74 20 6f 66 20 74 | 68 65 20 41 52 63 68 42 |est of t|he ARchB|
|00002980| 53 44 20 6d 6f 62 2c 20 | 47 43 43 20 73 68 6f 75 |SD mob, |GCC shou|
|00002990| 6c 64 20 6e 6f 77 20 68 | 61 6e 64 6c 65 20 66 69 |ld now h|andle fi|
|000029a0| 6c 65 6e 61 6d 65 73 0a | 20 20 20 20 20 20 20 20 |lenames.| |
|000029b0| 77 69 74 68 20 75 70 74 | 6f 20 35 35 20 63 68 61 |with upt|o 55 cha|
|000029c0| 72 61 63 74 65 72 73 20 | 69 6e 20 65 61 63 68 20 |racters |in each |
|000029d0| 70 61 74 68 20 65 6c 65 | 6d 65 6e 74 2e 0a 0a 39 |path ele|ment...9|
|000029e0| 29 20 20 20 20 20 20 67 | 63 63 20 6e 6f 77 20 63 |) g|cc now c|
|000029f0| 6f 6d 70 6c 61 69 6e 20 | 69 66 20 69 74 20 74 68 |omplain |if it th|
|00002a00| 69 6e 6b 73 20 69 74 20 | 64 6f 65 73 20 6e 6f 74 |inks it |does not|
|00002a10| 20 68 61 76 65 20 65 6e | 6f 75 67 68 20 6d 65 6d | have en|ough mem|
|00002a20| 6f 72 79 20 74 6f 20 72 | 75 6e 2e 0a 20 20 20 20 |ory to r|un.. |
|00002a30| 20 20 20 20 54 68 65 20 | 6d 69 6e 69 6d 75 6d 20 | The |minimum |
|00002a40| 77 69 6d 70 73 6c 6f 74 | 20 74 68 61 74 20 77 69 |wimpslot| that wi|
|00002a50| 6c 6c 20 61 6c 6c 6f 77 | 20 47 43 43 20 74 6f 20 |ll allow| GCC to |
|00002a60| 72 75 6e 20 69 73 20 6e | 6f 77 20 33 30 34 34 4b |run is n|ow 3044K|
|00002a70| 2e 20 49 66 20 74 68 65 | 0a 20 20 20 20 20 20 20 |. If the|. |
|00002a80| 20 73 6c 6f 74 20 69 73 | 20 73 6d 61 6c 6c 65 72 | slot is| smaller|
|00002a90| 2c 20 47 43 43 20 73 74 | 6f 70 73 20 77 69 74 68 |, GCC st|ops with|
|00002aa0| 20 61 20 66 61 74 61 6c | 20 65 72 72 6f 72 2e 0a | a fatal| error..|
|00002ab0| 46 69 6c 65 44 61 74 61 | 82 21 48 65 6c 70 00 05 |FileData|.!Help..|
|00002ac0| 03 00 0a 82 c8 09 00 00 | 45 ff ff ff 27 17 95 a0 |........|E...'...|
|00002ad0| 03 00 25 d3 20 20 20 20 | 20 20 20 20 20 20 20 20 |..%. | |
|00002ae0| 20 20 20 20 47 43 43 0a | 20 20 20 20 20 20 20 20 | GCC.| |
|00002af0| 20 20 20 20 20 20 20 20 | 3d 3d 3d 0a 0a 54 68 69 | |===..Thi|
|00002b00| 73 20 69 73 20 61 20 70 | 6f 72 74 20 6f 66 20 74 |s is a p|ort of t|
|00002b10| 68 65 20 47 4e 55 20 43 | 2f 43 2b 2b 20 63 6f 6d |he GNU C|/C++ com|
|00002b20| 70 69 6c 65 72 73 20 28 | 76 65 72 73 69 6f 6e 20 |pilers (|version |
|00002b30| 32 2e 34 2e 35 29 0a 74 | 6f 20 74 68 65 20 41 72 |2.4.5).t|o the Ar|
|00002b40| 63 68 69 6d 65 64 65 73 | 2c 20 72 75 6e 6e 69 6e |chimedes|, runnin|
|00002b50| 67 20 75 6e 64 65 72 20 | 52 49 53 43 2d 4f 53 2e |g under |RISC-OS.|
|00002b60| 20 41 73 20 73 75 63 68 | 2c 20 70 61 72 74 73 0a | As such|, parts.|
|00002b70| 6f 66 20 74 68 65 73 65 | 20 70 61 63 6b 61 67 65 |of these| package|
|00002b80| 20 61 72 65 20 63 6f 76 | 65 72 65 64 20 62 79 20 | are cov|ered by |
|00002b90| 74 68 65 20 46 53 46 20 | 47 65 6e 65 72 61 6c 20 |the FSF |General |
|00002ba0| 50 75 62 6c 69 63 0a 4c | 69 63 65 6e 73 65 20 28 |Public.L|icense (|
|00002bb0| 73 65 65 20 74 68 65 20 | 66 69 6c 65 73 20 44 6f |see the |files Do|
|00002bc0| 63 73 2e 43 6f 70 79 69 | 6e 67 20 61 6e 64 20 44 |cs.Copyi|ng and D|
|00002bd0| 6f 63 73 2e 43 6f 70 79 | 69 6e 67 4c 69 62 2c 0a |ocs.Copy|ingLib,.|
|00002be0| 61 6e 64 20 6c 61 74 65 | 72 20 66 6f 72 20 64 65 |and late|r for de|
|00002bf0| 74 61 69 6c 73 29 2e 0a | 0a 41 73 20 77 69 74 68 |tails)..|.As with|
|00002c00| 20 61 73 20 47 4e 55 20 | 70 72 6f 67 72 61 6d 73 | as GNU |programs|
|00002c10| 2c 20 54 48 45 52 45 20 | 49 53 20 4e 4f 20 57 41 |, THERE |IS NO WA|
|00002c20| 52 52 41 4e 54 59 20 4f | 46 20 41 4e 59 20 53 4f |RRANTY O|F ANY SO|
|00002c30| 52 54 0a 0a 41 73 20 77 | 69 74 68 20 61 6c 6c 20 |RT..As w|ith all |
|00002c40| 6c 61 72 67 65 20 70 72 | 6f 67 72 61 6d 73 2c 20 |large pr|ograms, |
|00002c50| 74 68 61 6e 6b 73 20 67 | 6f 20 74 6f 20 76 61 72 |thanks g|o to var|
|00002c60| 69 6f 75 73 20 70 65 6f | 70 6c 65 0a 66 6f 72 20 |ious peo|ple.for |
|00002c70| 74 68 65 20 68 65 6c 70 | 20 61 6e 64 20 61 73 73 |the help| and ass|
|00002c80| 69 73 74 61 6e 63 65 20 | 74 68 61 74 20 74 68 65 |istance |that the|
|00002c90| 79 20 68 61 76 65 20 67 | 69 76 65 6e 20 6d 65 2e |y have g|iven me.|
|00002ca0| 0a 54 68 65 73 65 20 61 | 72 65 20 3a 0a 0a 4d 69 |.These a|re :..Mi|
|00002cb0| 63 68 61 65 6c 20 42 65 | 6e 2d 47 65 72 73 68 6f |chael Be|n-Gersho|
|00002cc0| 6e 2c 20 50 69 65 74 72 | 20 53 63 68 6f 6e 6d 61 |n, Pietr| Schonma|
|00002cd0| 6b 65 72 20 61 6e 64 20 | 52 69 63 68 61 72 64 20 |ker and |Richard |
|00002ce0| 0a 45 61 72 6e 73 68 61 | 77 2c 20 66 6f 72 20 6d |.Earnsha|w, for m|
|00002cf0| 6f 73 74 20 6f 66 20 74 | 68 65 20 68 61 72 64 20 |ost of t|he hard |
|00002d00| 77 6f 72 6b 20 69 6e 76 | 6f 6c 76 65 64 20 69 6e |work inv|olved in|
|00002d10| 20 74 68 65 20 41 52 4d | 0a 62 61 63 6b 65 6e 64 | the ARM|.backend|
|00002d20| 2e 0a 0a 4e 69 6b 6c 61 | 73 20 52 d6 6a 65 6d 6f |...Nikla|s R.jemo|
|00002d30| 2c 20 66 6f 72 20 74 68 | 65 20 61 73 73 65 6d 62 |, for th|e assemb|
|00002d40| 6c 65 72 2e 0a 0a 48 75 | 77 20 52 6f 67 65 72 73 |ler...Hu|w Rogers|
|00002d50| 2c 20 66 6f 72 20 55 6e | 69 78 6c 69 62 2e 0a 0a |, for Un|ixlib...|
|00002d60| 0a 44 6f 63 75 6d 65 6e | 74 61 74 69 6f 6e 0a 3d |.Documen|tation.=|
|00002d70| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 0a 0a 46 6f |========|====..Fo|
|00002d80| 72 20 66 75 72 74 68 65 | 72 20 64 6f 63 75 6d 65 |r furthe|r docume|
|00002d90| 6e 74 61 74 69 6f 6e 2c | 20 73 65 65 20 74 68 65 |ntation,| see the|
|00002da0| 20 66 69 6c 65 73 20 21 | 43 68 61 6e 67 65 73 2c | files !|Changes,|
|00002db0| 20 21 49 6e 74 72 6f 2c | 20 61 6e 64 20 74 68 65 | !Intro,| and the|
|00002dc0| 20 66 69 6c 65 73 20 69 | 6e 0a 74 68 65 20 27 64 | files i|n.the 'd|
|00002dd0| 6f 63 73 27 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |ocs' dir|ectory..|
|00002de0| 0a 0a 49 6e 73 74 61 6c | 6c 61 74 69 6f 6e 0a 3d |..Instal|lation.=|
|00002df0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 0a 53 65 65 |========|===..See|
|00002e00| 20 21 49 6e 74 72 6f 20 | 66 6f 72 20 64 65 74 61 | !Intro |for deta|
|00002e10| 69 6c 73 0a 0a 0a 4b 6e | 6f 77 6e 20 70 72 6f 62 |ils...Kn|own prob|
|00002e20| 6c 65 6d 73 0a 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |lems.===|========|
|00002e30| 3d 3d 3d 0a 0a 4c 69 62 | 72 61 72 69 65 73 3a 20 |===..Lib|raries: |
|00002e40| 53 6f 6d 65 20 6f 66 20 | 74 68 65 20 6c 69 62 72 |Some of |the libr|
|00002e50| 61 72 69 65 73 20 66 6f | 72 20 74 68 65 20 41 72 |aries fo|r the Ar|
|00002e60| 63 68 69 6d 65 64 65 73 | 20 73 68 6f 77 20 61 20 |chimedes| show a |
|00002e70| 66 65 77 20 70 72 6f 62 | 6c 65 6d 73 20 77 69 74 |few prob|lems wit|
|00002e80| 68 0a 47 43 43 2f 47 2b | 2b 2e 0a 0a 4f 53 4c 69 |h.GCC/G+|+...OSLi|
|00002e90| 62 20 56 34 2e 32 0a 7e | 7e 7e 7e 7e 7e 7e 7e 7e |b V4.2.~|~~~~~~~~|
|00002ea0| 7e 0a 0a 53 6f 6d 65 20 | 6f 66 20 74 68 65 20 68 |~..Some |of the h|
|00002eb0| 65 61 64 65 72 73 20 75 | 73 65 20 43 2f 43 2b 2b |eaders u|se C/C++|
|00002ec0| 20 6b 65 79 77 6f 72 64 | 73 20 61 73 20 74 68 65 | keyword|s as the|
|00002ed0| 20 6e 61 6d 65 73 20 6f | 66 20 66 75 6e 63 74 69 | names o|f functi|
|00002ee0| 6f 6e 20 70 61 72 61 6d | 65 74 65 72 73 2c 0a 77 |on param|eters,.w|
|00002ef0| 68 69 63 68 20 63 61 75 | 73 65 73 20 27 70 61 72 |hich cau|ses 'par|
|00002f00| 73 65 20 65 72 72 6f 72 | 27 20 6d 65 73 73 61 67 |se error|' messag|
|00002f10| 65 73 2e 20 41 6c 73 6f | 2c 20 73 6f 6d 65 20 6e |es. Also|, some n|
|00002f20| 61 6d 65 73 20 61 72 65 | 20 72 65 2d 75 73 65 64 |ames are| re-used|
|00002f30| 20 77 69 74 68 69 6e 20 | 74 68 65 0a 73 61 6d 65 | within |the.same|
|00002f40| 20 64 65 63 6c 61 72 61 | 74 69 6f 6e 20 77 68 69 | declara|tion whi|
|00002f50| 63 68 20 63 61 75 73 65 | 73 20 27 72 65 64 65 63 |ch cause|s 'redec|
|00002f60| 6c 61 72 61 74 69 6f 6e | 20 6f 66 27 20 2f 20 27 |laration| of' / '|
|00002f70| 63 6f 6e 66 6c 69 63 74 | 69 6e 67 20 74 79 70 65 |conflict|ing type|
|00002f80| 73 20 66 6f 72 27 0a 65 | 72 72 6f 72 73 2e 0a 0a |s for'.e|rrors...|
|00002f90| 54 68 65 73 65 20 68 61 | 76 65 20 62 65 65 6e 20 |These ha|ve been |
|00002fa0| 72 65 70 6f 72 74 65 64 | 2c 20 61 6e 64 20 61 72 |reported|, and ar|
|00002fb0| 65 20 63 6c 65 61 72 65 | 64 20 69 6e 20 61 20 62 |e cleare|d in a b|
|00002fc0| 65 74 61 20 74 65 73 74 | 20 76 65 72 73 69 6f 6e |eta test| version|
|00002fd0| 20 6f 66 20 4f 53 4c 69 | 62 0a 56 34 2e 33 2e 0a | of OSLi|b.V4.3..|
|00002fe0| 0a 44 65 73 6b 4c 69 62 | 20 56 32 2e 31 30 0a 7e |.DeskLib| V2.10.~|
|00002ff0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 0a 0a 54 68 |~~~~~~~~|~~~~..Th|
|00003000| 69 73 20 68 61 73 20 73 | 69 6d 69 6c 61 72 20 70 |is has s|imilar p|
|00003010| 72 6f 62 6c 65 6d 73 20 | 74 6f 20 4f 53 4c 69 62 |roblems |to OSLib|
|00003020| 2c 20 61 6e 64 20 73 68 | 6f 75 6c 64 20 62 65 20 |, and sh|ould be |
|00003030| 66 69 78 65 64 20 69 6e | 20 74 68 65 20 6e 65 78 |fixed in| the nex|
|00003040| 74 20 72 65 6c 65 61 73 | 65 2e 0a 53 69 6e 63 65 |t releas|e..Since|
|00003050| 20 74 68 69 73 20 69 73 | 20 6e 6f 74 20 65 78 70 | this is| not exp|
|00003060| 65 63 74 65 64 20 66 6f | 72 20 73 6f 6d 65 20 74 |ected fo|r some t|
|00003070| 69 6d 65 2c 20 74 68 65 | 20 64 69 72 65 63 74 6f |ime, the| directo|
|00003080| 72 79 20 50 61 74 63 68 | 65 73 2e 44 65 73 6b 4c |ry Patch|es.DeskL|
|00003090| 49 62 0a 63 6f 6e 74 61 | 69 6e 73 20 73 6f 6d 65 |Ib.conta|ins some|
|000030a0| 20 63 6f 72 72 65 63 74 | 69 6f 6e 73 20 66 6f 72 | correct|ions for|
|000030b0| 20 74 68 65 73 65 20 70 | 72 6f 62 6c 65 6d 73 2e | these p|roblems.|
|000030c0| 0a 0a 4e 6f 72 63 72 6f | 66 74 20 43 20 56 34 0a |..Norcro|ft C V4.|
|000030d0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 0a 0a 54 |~~~~~~~~|~~~~~..T|
|000030e0| 68 65 72 65 20 61 72 65 | 20 61 20 66 65 77 20 70 |here are| a few p|
|000030f0| 72 6f 62 6c 65 6d 73 20 | 77 69 74 68 20 74 68 65 |roblems |with the|
|00003100| 20 73 74 61 6e 64 61 72 | 64 20 43 20 68 65 61 64 | standar|d C head|
|00003110| 65 72 20 66 69 6c 65 73 | 2c 20 62 75 74 20 74 68 |er files|, but th|
|00003120| 65 20 64 69 72 65 63 74 | 6f 72 79 0a 70 61 74 63 |e direct|ory.patc|
|00003130| 68 65 73 2e 4e 6f 72 63 | 72 6f 66 74 20 63 6f 6e |hes.Norc|roft con|
|00003140| 74 61 69 6e 73 20 73 6f | 6d 65 20 63 6f 72 72 65 |tains so|me corre|
|00003150| 63 74 69 6f 6e 73 2e 20 | 41 64 64 69 74 69 6f 6e |ctions. |Addition|
|00003160| 61 6c 79 2c 20 52 49 53 | 43 5f 4f 53 4c 69 62 20 |aly, RIS|C_OSLib |
|00003170| 68 61 73 0a 70 72 6f 62 | 6c 65 6d 73 20 77 68 69 |has.prob|lems whi|
|00003180| 63 68 20 70 72 65 76 65 | 6e 74 73 20 69 74 20 62 |ch preve|nts it b|
|00003190| 65 69 6e 67 20 75 73 65 | 64 20 66 72 6f 6d 20 43 |eing use|d from C|
|000031a0| 2b 2b 20 73 6f 75 72 63 | 65 73 2e 0a 0a 55 6e 69 |++ sourc|es...Uni|
|000031b0| 78 4c 69 62 20 56 33 2e | 36 65 0a 7e 7e 7e 7e 7e |xLib V3.|6e.~~~~~|
|000031c0| 7e 7e 7e 7e 7e 7e 7e 7e | 0a 0a 53 69 6e 63 65 20 |~~~~~~~~|..Since |
|000031d0| 74 68 65 20 6c 61 74 65 | 73 74 20 76 65 72 73 69 |the late|st versi|
|000031e0| 6f 6e 20 6f 66 20 74 68 | 69 73 20 77 61 73 20 64 |on of th|is was d|
|000031f0| 65 76 65 6c 6f 70 65 64 | 20 69 6e 20 70 61 72 72 |eveloped| in parr|
|00003200| 61 6c 6c 65 6c 20 77 69 | 74 68 20 47 43 43 2f 43 |allel wi|th GCC/C|
|00003210| 2b 2b 2c 0a 74 68 65 72 | 65 20 61 72 65 20 6e 6f |++,.ther|e are no|
|00003220| 20 6b 6e 6f 77 6e 20 70 | 72 6f 62 6c 65 6d 73 20 | known p|roblems |
|00003230| 77 69 74 68 20 63 6f 6d | 70 61 74 61 62 69 6c 69 |with com|patabili|
|00003240| 74 79 2e 0a 0a 0a 43 6f | 70 79 72 69 67 68 74 73 |ty....Co|pyrights|
|00003250| 0a 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 0a 0a 54 68 65 |.=======|===..The|
|00003260| 20 70 72 6f 67 72 61 6d | 73 20 67 63 63 2c 20 63 | program|s gcc, c|
|00003270| 70 70 2c 20 63 63 31 20 | 61 6e 64 20 63 63 31 70 |pp, cc1 |and cc1p|
|00003280| 6c 75 73 20 61 6e 64 20 | 70 61 72 74 73 20 6f 66 |lus and |parts of|
|00003290| 20 74 68 65 0a 67 63 63 | 20 6c 69 62 72 61 72 79 | the.gcc| library|
|000032a0| 20 28 6c 69 62 67 63 63 | 31 20 61 6e 64 20 6c 69 | (libgcc|1 and li|
|000032b0| 62 67 63 63 32 29 20 61 | 72 65 20 63 6f 76 65 72 |bgcc2) a|re cover|
|000032c0| 65 64 20 62 79 20 74 68 | 65 20 47 4e 55 0a 47 65 |ed by th|e GNU.Ge|
|000032d0| 6e 65 72 61 6c 20 50 75 | 62 6c 69 63 20 4c 69 63 |neral Pu|blic Lic|
|000032e0| 65 6e 73 65 2e 0a 0a 6c | 64 20 61 6e 64 20 6c 69 |ense...l|d and li|
|000032f0| 62 67 63 63 33 20 61 72 | 65 20 a9 20 31 39 39 33 |bgcc3 ar|e . 1993|
|00003300| 2c 20 53 69 6d 6f 6e 20 | 43 61 6c 6c 61 6e 2c 20 |, Simon |Callan, |
|00003310| 61 6e 64 20 61 72 65 20 | 61 6c 73 6f 0a 63 6f 76 |and are |also.cov|
|00003320| 65 72 65 64 20 62 79 20 | 74 68 65 20 47 50 4c 2e |ered by |the GPL.|
|00003330| 0a 0a 21 61 73 20 69 73 | 20 a9 20 4e 69 6b 6c 61 |..!as is| . Nikla|
|00003340| 73 20 52 d6 6a 65 6d 6f | 2e 20 41 67 61 69 6e 20 |s R.jemo|. Again |
|00003350| 54 48 49 53 20 49 53 20 | 4e 4f 54 20 47 4e 55 20 |THIS IS |NOT GNU |
|00003360| 53 4f 46 54 57 41 52 45 | 0a 41 4e 44 20 49 53 20 |SOFTWARE|.AND IS |
|00003370| 4e 4f 54 20 43 4f 56 45 | 52 45 44 20 42 59 20 54 |NOT COVE|RED BY T|
|00003380| 48 45 20 47 50 4c 21 21 | 0a 0a 0a 0a 43 6f 6e 74 |HE GPL!!|....Cont|
|00003390| 61 63 74 69 6e 67 20 6d | 65 0a 3d 3d 3d 3d 3d 3d |acting m|e.======|
|000033a0| 3d 3d 3d 3d 3d 3d 3d 0a | 0a 43 75 72 72 65 6e 74 |=======.|.Current|
|000033b0| 6c 79 20 49 20 63 61 6e | 20 62 65 20 63 6f 6e 74 |ly I can| be cont|
|000033c0| 61 63 74 65 64 20 61 73 | 20 3a 0a 45 2d 4d 61 69 |acted as| :.E-Mai|
|000033d0| 6c 20 2d 20 67 63 63 40 | 63 61 6c 6c 61 6e 2e 64 |l - gcc@|callan.d|
|000033e0| 65 6d 6f 6e 2e 63 6f 2e | 75 6b 0a 0a 50 6f 73 74 |emon.co.|uk..Post|
|000033f0| 20 2d 20 20 20 53 69 6d | 6f 6e 20 43 61 6c 6c 61 | - Sim|on Calla|
|00003400| 6e 0a 20 20 20 20 20 20 | 20 20 20 31 31 20 4e 6f |n. | 11 No|
|00003410| 72 74 68 6d 65 61 64 20 | 52 6f 61 64 0a 20 20 20 |rthmead |Road. |
|00003420| 20 20 20 20 20 20 52 65 | 64 68 69 6c 6c 0a 20 20 | Re|dhill. |
|00003430| 20 20 20 20 20 20 20 53 | 75 72 72 65 79 0a 20 20 | S|urrey. |
|00003440| 20 20 20 20 20 20 20 52 | 48 31 20 32 45 44 0a 0a | R|H1 2ED..|
|00003450| 4e 6f 74 65 2c 20 61 6e | 79 20 6d 61 69 6c 20 73 |Note, an|y mail s|
|00003460| 65 6e 74 20 68 65 72 65 | 20 77 69 6c 6c 20 62 65 |ent here| will be|
|00003470| 20 66 6f 72 77 61 72 64 | 65 64 20 74 6f 20 6d 65 | forward|ed to me|
|00003480| 2c 20 77 68 69 63 68 20 | 6d 61 79 20 74 61 6b 65 |, which |may take|
|00003490| 20 73 6f 6d 65 20 74 69 | 6d 65 2e 0a 46 69 6c 65 | some ti|me..File|
|000034a0| 44 61 74 61 82 21 49 6e | 74 72 6f 00 03 00 0a 82 |Data.!In|tro.....|
|000034b0| 6d 31 00 00 45 ff ff ff | ba f7 94 a0 03 00 26 64 |m1..E...|......&d|
|000034c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000034d0| 47 43 43 20 6f 6e 20 74 | 68 65 20 41 72 63 68 69 |GCC on t|he Archi|
|000034e0| 6d 65 64 65 73 20 2d 20 | 41 6e 20 69 6e 74 72 6f |medes - |An intro|
|000034f0| 64 75 63 74 69 6f 6e 0a | 20 20 20 20 20 20 20 20 |duction.| |
|00003500| 20 20 20 20 20 20 20 20 | 3d 3d 3d 3d 3d 3d 3d 3d | |========|
|00003510| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003520| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 0a |========|=======.|
|00003530| 0a 46 6f 6c 6c 6f 77 69 | 6e 67 20 61 20 6e 75 6d |.Followi|ng a num|
|00003540| 62 65 72 20 6f 66 20 6a | 75 73 74 69 66 69 61 62 |ber of j|ustifiab|
|00003550| 6c 65 20 63 6f 6d 70 6c | 61 69 6e 74 73 20 49 20 |le compl|aints I |
|00003560| 68 61 76 65 20 72 65 63 | 65 69 76 65 64 20 61 62 |have rec|eived ab|
|00003570| 6f 75 74 20 74 68 65 20 | 47 43 43 0a 64 6f 63 75 |out the |GCC.docu|
|00003580| 6d 65 6e 74 61 74 69 6f | 6e 2c 20 74 68 69 73 20 |mentatio|n, this |
|00003590| 69 73 20 61 6e 20 61 74 | 74 65 6d 70 74 20 74 6f |is an at|tempt to|
|000035a0| 20 65 78 70 6c 61 69 6e | 20 68 6f 77 20 74 6f 20 | explain| how to |
|000035b0| 75 73 65 20 47 43 43 2e | 20 4e 6f 74 65 20 74 68 |use GCC.| Note th|
|000035c0| 69 73 20 69 73 0a 6d 61 | 69 6e 6c 79 20 61 62 6f |is is.ma|inly abo|
|000035d0| 75 74 20 74 68 65 20 52 | 49 53 43 20 4f 53 20 73 |ut the R|ISC OS s|
|000035e0| 70 65 63 69 66 69 63 73 | 20 6f 66 20 47 43 43 20 |pecifics| of GCC |
|000035f0| 2d 20 69 66 20 79 6f 75 | 20 64 6f 6e 27 74 20 6b |- if you| don't k|
|00003600| 6e 6f 77 20 43 2c 20 43 | 2b 2b 20 6f 72 20 52 49 |now C, C|++ or RI|
|00003610| 53 43 0a 4f 53 2c 20 67 | 65 74 20 79 6f 75 73 65 |SC.OS, g|et youse|
|00003620| 6c 66 20 61 20 67 6f 6f | 64 20 62 6f 6f 6b 20 2d |lf a goo|d book -|
|00003630| 20 79 6f 75 20 57 49 4c | 4c 20 6e 65 65 64 20 69 | you WIL|L need i|
|00003640| 74 2e 0a 0a 49 4d 50 4f | 52 54 41 4e 54 3a 20 47 |t...IMPO|RTANT: G|
|00003650| 43 43 20 52 45 51 55 49 | 52 45 53 20 41 20 4c 4f |CC REQUI|RES A LO|
|00003660| 54 20 4f 46 20 4d 45 4d | 4f 52 59 2e 20 54 68 65 |T OF MEM|ORY. The|
|00003670| 20 77 69 6d 70 73 6c 6f | 74 20 6e 65 65 64 73 20 | wimpslo|t needs |
|00003680| 74 6f 20 62 65 20 61 74 | 20 6c 65 61 73 74 0a 33 |to be at| least.3|
|00003690| 30 34 34 4b 20 69 6e 20 | 73 69 7a 65 2e 2e 20 47 |044K in |size.. G|
|000036a0| 43 43 20 69 73 20 4e 4f | 54 20 63 61 70 61 62 6c |CC is NO|T capabl|
|000036b0| 65 20 6f 66 20 67 72 61 | 62 62 69 6e 67 20 65 78 |e of gra|bbing ex|
|000036c0| 74 72 61 20 6d 65 6d 6f | 72 79 2c 20 73 6f 20 74 |tra memo|ry, so t|
|000036d0| 68 65 20 69 6e 69 74 69 | 61 6c 0a 57 69 6d 70 53 |he initi|al.WimpS|
|000036e0| 6c 6f 74 20 73 65 74 73 | 20 74 68 65 20 6d 61 78 |lot sets| the max|
|000036f0| 69 6d 75 6d 20 6d 65 6d | 6f 72 79 20 61 76 61 69 |imum mem|ory avai|
|00003700| 6c 61 62 6c 65 2e 0a 0a | 54 68 69 73 20 64 6f 63 |lable...|This doc|
|00003710| 75 6d 65 6e 74 20 69 73 | 20 6e 6f 74 20 74 68 65 |ument is| not the|
|00003720| 20 73 61 6d 65 20 61 73 | 20 74 68 65 20 76 65 72 | same as| the ver|
|00003730| 73 69 6f 6e 20 70 6f 73 | 74 65 64 20 6f 6e 20 74 |sion pos|ted on t|
|00003740| 68 65 20 63 6f 6d 70 2e | 73 79 73 2e 61 63 6f 72 |he comp.|sys.acor|
|00003750| 6e 0a 6e 65 77 73 67 72 | 6f 75 70 20 2d 20 74 68 |n.newsgr|oup - th|
|00003760| 65 72 65 20 61 72 65 20 | 73 6f 6d 65 20 73 69 67 |ere are |some sig|
|00003770| 6e 69 66 69 63 61 6e 74 | 20 64 69 66 66 65 72 65 |nificant| differe|
|00003780| 6e 63 65 73 2e 0a 0a 49 | 6e 64 65 78 0a 7e 7e 7e |nces...I|ndex.~~~|
|00003790| 7e 7e 0a 0a 31 29 20 20 | 20 20 20 20 49 6e 73 74 |~~..1) | Inst|
|000037a0| 61 6c 6c 69 6e 67 20 47 | 43 43 0a 32 29 20 20 20 |alling G|CC.2) |
|000037b0| 20 20 20 46 69 6c 65 6e | 61 6d 65 73 0a 33 29 20 | Filen|ames.3) |
|000037c0| 20 20 20 20 20 53 69 6d | 70 6c 65 20 75 73 61 67 | Sim|ple usag|
|000037d0| 65 0a 34 29 20 20 20 20 | 20 20 4d 6f 72 65 20 63 |e.4) | More c|
|000037e0| 6f 6d 70 6c 69 63 61 74 | 65 64 20 75 73 61 67 65 |omplicat|ed usage|
|000037f0| 0a 35 29 20 20 20 20 20 | 20 55 73 69 6e 67 20 6f |.5) | Using o|
|00003800| 74 68 65 72 20 6c 69 62 | 72 61 72 69 65 73 0a 36 |ther lib|raries.6|
|00003810| 29 09 41 4d 55 20 61 6e | 64 20 6f 74 68 65 72 20 |).AMU an|d other |
|00003820| 62 69 74 73 0a 37 29 20 | 20 20 20 20 20 45 78 61 |bits.7) | Exa|
|00003830| 6d 70 6c 65 20 70 72 6f | 67 72 61 6d 73 0a 0a 0a |mple pro|grams...|
|00003840| 0a 31 29 20 20 20 20 20 | 20 49 6e 73 74 61 6c 6c |.1) | Install|
|00003850| 69 6e 67 20 47 43 43 0a | 20 20 20 20 20 20 20 20 |ing GCC.| |
|00003860| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 0a 0a |~~~~~~~~|~~~~~~..|
|00003870| 42 65 66 6f 72 65 20 69 | 6e 73 74 61 6c 6c 69 6e |Before i|nstallin|
|00003880| 67 20 47 43 43 2c 20 69 | 74 20 73 68 6f 75 6c 64 |g GCC, i|t should|
|00003890| 20 62 65 20 6e 6f 74 65 | 64 20 74 68 61 74 20 74 | be note|d that t|
|000038a0| 68 65 20 73 74 61 6e 64 | 61 72 64 20 47 43 43 20 |he stand|ard GCC |
|000038b0| 64 69 73 74 72 69 62 75 | 74 69 6f 6e 0a 69 73 20 |distribu|tion.is |
|000038c0| 6e 6f 74 20 63 6f 6d 70 | 6c 65 74 65 2c 20 61 6e |not comp|lete, an|
|000038d0| 64 20 6f 6e 6c 79 20 63 | 6f 6e 73 69 73 74 73 20 |d only c|onsists |
|000038e0| 6f 66 20 74 68 65 20 43 | 20 61 6e 64 20 43 2b 2b |of the C| and C++|
|000038f0| 20 63 6f 6d 70 69 6c 65 | 72 73 20 61 6e 64 20 61 | compile|rs and a|
|00003900| 20 66 65 77 0a 73 75 70 | 70 6f 72 74 20 70 72 6f | few.sup|port pro|
|00003910| 67 72 61 6d 73 2e 0a 0a | 49 6e 20 61 64 64 69 74 |grams...|In addit|
|00003920| 69 6f 6e 20 74 6f 20 47 | 43 43 2c 20 79 6f 75 20 |ion to G|CC, you |
|00003930| 77 69 6c 6c 20 6e 65 65 | 64 20 74 68 65 20 66 6f |will nee|d the fo|
|00003940| 6c 6c 6f 77 69 6e 67 20 | 3a 0a 0a 20 20 20 20 2a |llowing |:.. *|
|00003950| 20 20 20 4c 69 6e 6b 65 | 72 0a 20 20 20 20 20 20 | Linke|r. |
|00003960| 20 20 47 43 43 20 6d 61 | 79 20 62 65 20 75 73 65 | GCC ma|y be use|
|00003970| 64 20 77 69 74 68 20 65 | 69 74 68 65 72 20 74 68 |d with e|ither th|
|00003980| 65 20 41 63 6f 72 6e 20 | 6c 69 6e 6b 65 72 20 73 |e Acorn |linker s|
|00003990| 75 70 70 6c 69 65 64 20 | 77 69 74 68 20 74 68 65 |upplied |with the|
|000039a0| 0a 20 20 20 20 20 20 20 | 20 4e 6f 72 63 72 6f 66 |. | Norcrof|
|000039b0| 74 20 43 20 63 6f 6d 70 | 69 6c 65 72 20 6f 72 20 |t C comp|iler or |
|000039c0| 77 69 74 68 20 74 68 65 | 20 44 52 4c 69 6e 6b 20 |with the| DRLink |
|000039d0| 6c 69 6e 6b 65 72 2c 20 | 77 68 69 63 68 20 69 73 |linker, |which is|
|000039e0| 20 74 68 65 20 64 65 66 | 61 75 6c 74 0a 20 20 20 | the def|ault. |
|000039f0| 20 20 20 20 20 6c 69 6e | 6b 65 72 2e 0a 0a 20 20 | lin|ker... |
|00003a00| 20 20 2a 20 20 20 52 75 | 6e 74 69 6e 65 20 4c 69 | * Ru|ntine Li|
|00003a10| 62 72 61 72 79 0a 20 20 | 20 20 20 20 20 20 41 67 |brary. | Ag|
|00003a20| 61 69 6e 20 47 43 43 20 | 6d 61 79 20 62 65 20 75 |ain GCC |may be u|
|00003a30| 73 65 64 20 77 69 74 68 | 20 74 68 65 20 4e 6f 72 |sed with| the Nor|
|00003a40| 63 72 6f 66 74 20 6c 69 | 62 72 61 72 69 65 73 20 |croft li|braries |
|00003a50| 28 53 74 75 62 73 2c 20 | 41 6e 73 69 4c 69 62 29 |(Stubs, |AnsiLib)|
|00003a60| 0a 20 20 20 20 20 20 20 | 20 6f 72 20 77 69 74 68 |. | or with|
|00003a70| 20 55 6e 69 78 4c 69 62 | 2c 20 74 68 65 20 64 65 | UnixLib|, the de|
|00003a80| 66 61 75 6c 74 20 6c 69 | 62 72 61 72 79 2c 20 61 |fault li|brary, a|
|00003a90| 76 61 69 6c 61 62 6c 65 | 20 66 72 6f 6d 20 79 6f |vailable| from yo|
|00003aa0| 75 72 20 66 61 76 6f 72 | 69 74 65 0a 20 20 20 20 |ur favor|ite. |
|00003ab0| 20 20 20 20 46 54 50 20 | 73 69 74 65 2e 0a 0a 0a | FTP |site....|
|00003ac0| 0a 20 20 20 20 2a 20 20 | 20 56 69 72 74 75 61 6c |. * | Virtual|
|00003ad0| 0a 20 20 20 20 20 20 20 | 20 54 68 69 73 20 6d 61 |. | This ma|
|00003ae0| 79 20 6e 6f 74 20 62 65 | 20 6e 65 65 64 65 64 2c |y not be| needed,|
|00003af0| 20 69 66 20 79 6f 75 20 | 68 61 76 65 20 61 20 6c | if you |have a l|
|00003b00| 6f 74 20 6f 66 20 52 41 | 4d 20 28 69 2e 65 20 38 |ot of RA|M (i.e 8|
|00003b10| 4d 2b 29 2c 0a 20 20 20 | 20 20 20 20 20 6f 74 68 |M+),. | oth|
|00003b20| 65 72 77 69 73 65 20 69 | 74 20 69 73 20 61 6c 6d |erwise i|t is alm|
|00003b30| 6f 73 74 20 65 73 73 65 | 6e 74 69 61 6c 2e 0a 0a |ost esse|ntial...|
|00003b40| 6c 69 62 67 2b 2b 20 69 | 73 20 69 6e 63 6c 75 64 |libg++ i|s includ|
|00003b50| 65 64 20 69 6e 20 74 68 | 65 20 64 69 73 74 72 69 |ed in th|e distri|
|00003b60| 62 75 74 69 6f 6e 2e 0a | 0a 54 68 65 20 28 64 65 |bution..|.The (de|
|00003b70| 66 61 75 6c 74 29 20 69 | 6e 73 74 61 6c 6c 61 74 |fault) i|nstallat|
|00003b80| 69 6f 6e 20 6f 66 20 47 | 43 43 20 69 73 20 72 65 |ion of G|CC is re|
|00003b90| 6c 61 74 69 76 65 6c 79 | 20 73 69 6d 70 6c 65 20 |latively| simple |
|00003ba0| 3a 0a 0a 20 20 20 20 2a | 20 20 20 43 6f 70 79 20 |:.. *| Copy |
|00003bb0| 74 68 65 20 21 47 43 43 | 20 64 69 72 65 63 74 6f |the !GCC| directo|
|00003bc0| 72 79 2c 20 61 6e 64 20 | 69 74 73 20 66 69 6c 65 |ry, and |its file|
|00003bd0| 73 2c 20 6f 6e 74 6f 20 | 79 6f 75 72 20 68 61 72 |s, onto |your har|
|00003be0| 64 20 64 69 73 63 2e 0a | 20 20 20 20 2a 20 20 20 |d disc..| * |
|00003bf0| 49 66 20 79 6f 75 20 75 | 73 69 6e 67 20 74 68 65 |If you u|sing the|
|00003c00| 20 41 63 6f 72 6e 20 6c | 69 6e 6b 65 72 2c 53 68 | Acorn l|inker,Sh|
|00003c10| 69 66 74 2d 64 6f 75 62 | 6c 65 20 63 6c 69 63 6b |ift-doub|le click|
|00003c20| 20 6f 6e 20 74 68 65 20 | 21 47 43 43 20 69 63 6f | on the |!GCC ico|
|00003c30| 6e 2c 0a 20 20 20 20 20 | 20 20 20 61 6e 64 20 61 |n,. | and a|
|00003c40| 67 61 69 6e 20 6f 6e 20 | 74 68 65 20 66 69 6c 65 |gain on |the file|
|00003c50| 20 27 21 42 6f 6f 74 27 | 2c 20 74 6f 20 6c 6f 61 | '!Boot'|, to loa|
|00003c60| 64 20 69 74 20 69 6e 74 | 6f 20 61 6e 20 65 64 69 |d it int|o an edi|
|00003c70| 74 6f 72 2e 20 46 69 6e | 64 20 74 68 65 0a 20 20 |tor. Fin|d the. |
|00003c80| 20 20 20 20 20 20 6c 69 | 6e 65 20 27 7c 53 65 74 | li|ne '|Set|
|00003c90| 20 47 43 43 24 4c 69 6e | 6b 65 72 20 6c 69 6e 6b | GCC$Lin|ker link|
|00003ca0| 27 2c 20 61 6e 64 20 72 | 65 6d 6f 76 65 20 74 68 |', and r|emove th|
|00003cb0| 65 20 6c 65 61 64 69 6e | 67 20 27 7c 27 20 63 68 |e leadin|g '|' ch|
|00003cc0| 61 72 61 63 74 65 72 2e | 0a 20 20 20 20 20 20 20 |aracter.|. |
|00003cd0| 20 53 61 76 65 20 74 68 | 65 20 66 69 6c 65 20 62 | Save th|e file b|
|00003ce0| 61 63 6b 20 74 6f 20 69 | 74 73 20 6f 72 69 67 69 |ack to i|ts origi|
|00003cf0| 6e 61 6c 20 70 6c 61 63 | 65 2e 20 52 65 70 65 61 |nal plac|e. Repea|
|00003d00| 74 20 77 69 74 68 20 74 | 68 65 20 21 52 75 6e 20 |t with t|he !Run |
|00003d10| 66 69 6c 65 0a 20 20 20 | 20 2a 20 20 20 45 6e 73 |file. | * Ens|
|00003d20| 75 72 65 20 74 68 61 74 | 20 74 68 65 20 66 69 6c |ure that| the fil|
|00003d30| 65 20 21 47 63 63 2e 21 | 62 6f 6f 74 20 69 73 20 |e !Gcc.!|boot is |
|00003d40| 72 75 6e 20 64 75 72 69 | 6e 67 20 79 6f 75 72 20 |run duri|ng your |
|00003d50| 62 6f 6f 74 20 75 70 0a | 20 20 20 20 20 20 20 20 |boot up.| |
|00003d60| 70 72 6f 63 65 64 75 72 | 65 2e 20 54 68 69 73 20 |procedur|e. This |
|00003d70| 77 69 6c 6c 20 73 65 74 | 75 70 20 61 6c 6c 20 74 |will set|up all t|
|00003d80| 68 65 20 70 61 74 68 73 | 20 72 65 71 75 69 72 65 |he paths| require|
|00003d90| 64 20 62 79 20 47 43 43 | 2e 0a 0a 4e 6f 74 65 20 |d by GCC|...Note |
|00003da0| 74 68 61 74 20 74 68 65 | 20 66 69 72 73 74 20 73 |that the| first s|
|00003db0| 74 61 67 65 20 77 69 6c | 6c 20 64 69 66 66 65 72 |tage wil|l differ|
|00003dc0| 20 73 6c 69 67 68 74 6c | 79 2c 20 64 65 70 65 6e | slightl|y, depen|
|00003dd0| 64 69 6e 67 20 6f 6e 20 | 77 68 65 72 65 20 79 6f |ding on |where yo|
|00003de0| 75 0a 6f 62 74 61 69 6e | 65 64 20 47 43 43 2c 20 |u.obtain|ed GCC, |
|00003df0| 61 6e 64 20 74 68 65 20 | 64 69 73 74 72 69 62 75 |and the |distribu|
|00003e00| 74 69 6f 6e 20 66 6f 72 | 6d 61 74 2e 20 41 63 63 |tion for|mat. Acc|
|00003e10| 6f 6d 70 61 6e 79 69 6e | 67 20 65 61 63 68 20 64 |ompanyin|g each d|
|00003e20| 69 73 74 72 69 62 75 74 | 69 6f 6e 0a 73 68 6f 75 |istribut|ion.shou|
|00003e30| 6c 64 20 62 65 20 61 20 | 66 69 6c 65 20 63 61 6c |ld be a |file cal|
|00003e40| 6c 65 64 20 21 47 43 43 | 55 6e 70 61 63 6b 20 77 |led !GCC|Unpack w|
|00003e50| 69 74 68 20 6d 6f 72 65 | 20 73 70 65 63 69 66 69 |ith more| specifi|
|00003e60| 63 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 2e 0a |c instru|ctions..|
|00003e70| 0a 49 66 20 79 6f 75 20 | 77 69 73 68 20 74 6f 20 |.If you |wish to |
|00003e80| 73 65 70 61 72 61 74 65 | 20 74 68 65 20 64 69 73 |separate| the dis|
|00003e90| 74 72 69 62 75 74 69 6f | 6e 20 28 6e 6f 74 20 72 |tributio|n (not r|
|00003ea0| 65 63 6f 6d 6d 65 6e 64 | 65 64 29 2c 20 74 68 65 |ecommend|ed), the|
|00003eb0| 20 66 69 6c 65 73 20 69 | 6e 0a 21 47 63 63 2e 62 | files i|n.!Gcc.b|
|00003ec0| 69 6e 20 73 68 6f 75 6c | 64 20 62 65 20 63 6f 70 |in shoul|d be cop|
|00003ed0| 69 65 64 20 73 6f 20 74 | 68 61 74 20 74 68 65 79 |ied so t|hat they|
|00003ee0| 20 61 72 65 20 69 6e 20 | 79 6f 75 72 20 72 75 6e | are in |your run|
|00003ef0| 20 70 61 74 68 2c 20 77 | 68 69 6c 65 20 47 43 43 | path, w|hile GCC|
|00003f00| 24 50 61 74 68 0a 61 6e | 64 20 47 50 50 24 50 61 |$Path.an|d GPP$Pa|
|00003f10| 74 68 20 73 68 6f 75 6c | 64 20 70 6f 69 6e 74 20 |th shoul|d point |
|00003f20| 74 6f 20 74 68 65 20 47 | 43 43 20 61 6e 64 20 47 |to the G|CC and G|
|00003f30| 50 50 20 64 69 72 65 63 | 74 6f 72 69 65 73 20 72 |PP direc|tories r|
|00003f40| 65 73 70 65 63 74 69 76 | 65 6c 79 2e 0a 0a 57 68 |espectiv|ely...Wh|
|00003f50| 65 6e 20 69 6e 73 74 61 | 6c 6c 69 6e 67 20 55 6e |en insta|lling Un|
|00003f60| 69 78 4c 69 62 2c 20 66 | 6f 6c 6c 6f 77 20 74 68 |ixLib, f|ollow th|
|00003f70| 65 20 69 6e 73 74 72 75 | 63 74 69 6f 6e 73 20 73 |e instru|ctions s|
|00003f80| 75 70 70 6c 69 65 64 20 | 77 69 74 68 20 74 68 65 |upplied |with the|
|00003f90| 6d 2e 0a 0a 6c 69 62 67 | 2b 2b 20 69 73 20 69 6e |m...libg|++ is in|
|00003fa0| 73 74 61 6c 6c 65 64 20 | 62 79 20 63 6f 70 79 69 |stalled |by copyi|
|00003fb0| 6e 67 20 74 68 65 20 66 | 69 6c 65 20 27 63 2b 2b |ng the f|ile 'c++|
|00003fc0| 27 20 74 6f 20 74 68 65 | 20 64 69 72 65 63 74 6f |' to the| directo|
|00003fd0| 72 79 20 27 21 47 43 43 | 2e 67 70 70 2e 6f 27 2c |ry '!GCC|.gpp.o',|
|00003fe0| 0a 77 68 69 6c 65 20 74 | 68 65 20 27 68 27 20 64 |.while t|he 'h' d|
|00003ff0| 69 72 65 63 74 6f 72 79 | 20 69 73 20 63 6f 70 69 |irectory| is copi|
|00004000| 65 64 20 74 6f 20 74 68 | 65 20 27 21 47 43 43 2e |ed to th|e '!GCC.|
|00004010| 67 70 70 27 20 64 69 72 | 65 63 74 6f 72 79 2e 0a |gpp' dir|ectory..|
|00004020| 0a 49 66 20 79 6f 75 20 | 68 61 76 65 20 61 6e 20 |.If you |have an |
|00004030| 6f 6c 64 20 76 65 72 73 | 69 6f 6e 20 6f 66 20 47 |old vers|ion of G|
|00004040| 43 43 2c 20 77 68 69 63 | 68 20 79 6f 75 20 61 72 |CC, whic|h you ar|
|00004050| 65 20 75 73 69 6e 67 20 | 77 69 74 68 20 44 52 4c |e using |with DRL|
|00004060| 69 6e 6b 2c 20 74 68 65 | 20 6f 6c 64 0a 69 6e 73 |ink, the| old.ins|
|00004070| 74 61 6c 6c 61 74 69 6f | 6e 20 72 65 71 75 69 72 |tallatio|n requir|
|00004080| 65 64 20 27 64 72 6c 69 | 6e 6b 27 20 74 6f 20 62 |ed 'drli|nk' to b|
|00004090| 65 20 72 65 6e 61 6d 65 | 64 20 74 6f 20 27 6c 69 |e rename|d to 'li|
|000040a0| 6e 6b 27 2e 20 47 43 43 | 20 6e 6f 77 20 64 65 66 |nk'. GCC| now def|
|000040b0| 61 75 6c 74 73 20 74 6f | 0a 75 73 69 6e 67 20 44 |aults to|.using D|
|000040c0| 52 4c 69 6e 6b 2c 20 61 | 6e 64 20 74 68 65 20 66 |RLink, a|nd the f|
|000040d0| 69 6c 65 20 73 68 6f 75 | 6c 64 20 62 65 20 72 65 |ile shou|ld be re|
|000040e0| 6e 61 6d 65 64 20 62 61 | 63 6b 20 74 6f 20 44 52 |named ba|ck to DR|
|000040f0| 4c 69 6e 6b 2e 0a 0a 54 | 68 69 73 20 63 6f 6d 70 |Link...T|his comp|
|00004100| 6c 65 74 65 73 20 74 68 | 65 20 69 6e 73 74 61 6c |letes th|e instal|
|00004110| 6c 61 74 69 6f 6e 20 6f | 66 20 47 43 43 2e 0a 0a |lation o|f GCC...|
|00004120| 0a 0a 32 29 20 20 20 20 | 20 20 46 69 6c 65 6e 61 |..2) | Filena|
|00004130| 6d 65 73 0a 20 20 20 20 | 20 20 20 20 7e 7e 7e 7e |mes. | ~~~~|
|00004140| 7e 7e 7e 7e 7e 0a 0a 44 | 75 65 20 74 6f 20 74 68 |~~~~~..D|ue to th|
|00004150| 65 20 6e 61 6d 69 6e 67 | 20 63 6f 6e 76 65 6e 74 |e naming| convent|
|00004160| 69 6f 6e 73 20 75 73 65 | 64 20 6f 6e 20 55 4e 49 |ions use|d on UNI|
|00004170| 58 20 73 79 73 74 65 6d | 73 2c 20 61 6e 64 20 74 |X system|s, and t|
|00004180| 68 65 20 75 73 65 20 6f | 66 20 27 2e 27 20 61 73 |he use o|f '.' as|
|00004190| 0a 74 68 65 20 64 69 72 | 65 63 74 6f 72 79 20 73 |.the dir|ectory s|
|000041a0| 65 70 65 72 61 74 6f 72 | 20 69 6e 20 52 49 53 43 |eperator| in RISC|
|000041b0| 20 4f 53 2c 20 74 68 65 | 20 66 69 6c 65 6e 61 6d | OS, the| filenam|
|000041c0| 65 73 20 75 73 65 64 20 | 66 6f 72 20 73 6f 75 72 |es used |for sour|
|000041d0| 63 65 73 20 61 72 65 20 | 61 0a 6c 69 74 74 6c 65 |ces are |a.little|
|000041e0| 20 6f 64 64 2e 0a 0a 4f | 6e 20 55 4e 49 58 20 73 | odd...O|n UNIX s|
|000041f0| 79 73 74 65 6d 2c 20 74 | 68 65 20 74 79 70 65 20 |ystem, t|he type |
|00004200| 6f 66 20 61 20 66 69 6c | 65 20 28 43 2c 20 43 2b |of a fil|e (C, C+|
|00004210| 2b 2c 20 68 65 61 64 65 | 72 20 66 69 6c 65 20 65 |+, heade|r file e|
|00004220| 74 63 29 20 69 73 20 69 | 6e 64 69 63 61 74 65 64 |tc) is i|ndicated|
|00004230| 20 62 79 0a 70 6f 73 74 | 66 69 78 69 6e 67 20 61 | by.post|fixing a|
|00004240| 20 66 69 6c 65 20 65 78 | 74 65 6e 73 69 6f 6e 2e | file ex|tension.|
|00004250| 20 46 6f 72 20 43 20 61 | 6e 64 20 43 2b 2b 20 70 | For C a|nd C++ p|
|00004260| 72 6f 67 72 61 6d 73 2c | 20 74 68 65 73 65 20 65 |rograms,| these e|
|00004270| 78 74 65 6e 73 69 6f 6e | 73 20 61 72 65 20 3a 0a |xtension|s are :.|
|00004280| 0a 20 20 20 20 20 20 20 | 20 2e 63 20 20 20 20 20 |. | .c |
|00004290| 20 43 20 73 6f 75 72 63 | 65 73 0a 20 20 20 20 20 | C sourc|es. |
|000042a0| 20 20 20 2e 63 63 20 20 | 20 20 20 43 2b 2b 20 73 | .cc | C++ s|
|000042b0| 6f 75 72 63 65 73 0a 20 | 20 20 20 20 20 20 20 2e |ources. | .|
|000042c0| 68 20 20 20 20 20 20 68 | 65 61 64 65 72 20 66 69 |h h|eader fi|
|000042d0| 6c 65 73 0a 20 20 20 20 | 20 20 20 20 2e 6f 20 20 |les. | .o |
|000042e0| 20 20 20 20 6f 62 6a 65 | 63 74 20 66 69 6c 65 73 | obje|ct files|
|000042f0| 20 28 63 6f 6d 70 69 6c | 65 64 20 73 6f 75 72 63 | (compil|ed sourc|
|00004300| 65 73 29 0a 0a 44 75 65 | 20 74 6f 20 74 68 65 20 |es)..Due| to the |
|00004310| 77 61 79 20 74 68 61 74 | 20 41 44 46 53 20 77 6f |way that| ADFS wo|
|00004320| 72 6b 73 2c 20 69 74 20 | 69 73 20 6e 6f 74 20 70 |rks, it |is not p|
|00004330| 6f 73 73 69 62 6c 65 20 | 74 6f 20 75 73 65 20 74 |ossible |to use t|
|00004340| 68 65 73 65 20 65 78 74 | 65 6e 73 69 6f 6e 73 0a |hese ext|ensions.|
|00004350| 61 73 20 74 68 65 20 27 | 2e 27 20 63 61 75 73 65 |as the '|.' cause|
|00004360| 73 20 70 72 6f 62 6c 65 | 6d 73 2e 20 54 68 65 20 |s proble|ms. The |
|00004370| 77 6f 72 6b 20 61 72 6f | 75 6e 64 20 69 73 20 74 |work aro|und is t|
|00004380| 6f 20 73 74 6f 72 65 20 | 74 68 65 20 66 69 6c 65 |o store |the file|
|00004390| 73 20 69 6e 0a 73 75 62 | 64 69 72 65 63 74 6f 72 |s in.sub|director|
|000043a0| 69 65 73 20 6f 66 20 74 | 68 65 20 73 61 6d 65 20 |ies of t|he same |
|000043b0| 6e 61 6d 65 20 28 27 63 | 27 2c 20 27 63 63 27 2c |name ('c|', 'cc',|
|000043c0| 20 27 68 27 20 61 6e 64 | 20 27 6f 27 29 2e 0a 0a | 'h' and| 'o')...|
|000043d0| 54 68 75 73 20 74 68 65 | 20 73 6f 75 72 63 65 20 |Thus the| source |
|000043e0| 66 69 6c 65 20 27 48 65 | 6c 6c 6f 57 2e 63 27 20 |file 'He|lloW.c' |
|000043f0| 77 6f 75 6c 64 20 62 65 | 20 73 74 6f 72 65 64 20 |would be| stored |
|00004400| 61 73 20 74 68 65 20 66 | 69 6c 65 20 27 48 65 6c |as the f|ile 'Hel|
|00004410| 6c 6f 57 27 20 69 6e 20 | 74 68 65 0a 64 69 72 65 |loW' in |the.dire|
|00004420| 63 74 6f 72 79 20 27 63 | 27 2e 20 53 65 65 20 74 |ctory 'c|'. See t|
|00004430| 68 65 20 66 6f 6c 6c 6f | 77 69 6e 67 20 74 61 62 |he follo|wing tab|
|00004440| 6c 65 20 66 6f 72 20 6d | 6f 72 65 20 65 78 61 6d |le for m|ore exam|
|00004450| 70 6c 65 73 2e 0a 0a 20 | 20 20 20 20 20 20 20 55 |ples... | U|
|00004460| 4e 49 58 20 6e 61 6d 65 | 20 20 20 20 20 20 20 41 |NIX name| A|
|00004470| 63 74 75 61 6c 20 6e 61 | 6d 65 0a 20 20 20 20 20 |ctual na|me. |
|00004480| 20 20 20 7e 7e 7e 7e 7e | 7e 7e 7e 7e 20 20 20 20 | ~~~~~|~~~~ |
|00004490| 20 20 20 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 0a 0a | ~~~~~|~~~~~~..|
|000044a0| 20 20 20 20 20 20 20 20 | 48 65 6c 6c 6f 57 2e 63 | |HelloW.c|
|000044b0| 20 20 20 20 20 20 20 20 | 63 2e 48 65 6c 6c 6f 57 | |c.HelloW|
|000044c0| 0a 20 20 20 20 20 20 20 | 20 69 6e 63 6c 75 64 65 |. | include|
|000044d0| 2e 68 20 20 20 20 20 20 | 20 68 2e 69 6e 63 6c 75 |.h | h.inclu|
|000044e0| 64 65 0a 20 20 20 20 20 | 20 20 20 48 65 6c 6c 6f |de. | Hello|
|000044f0| 57 2e 63 63 20 20 20 20 | 20 20 20 63 63 2e 48 65 |W.cc | cc.He|
|00004500| 6c 6c 6f 57 0a 20 20 20 | 20 20 20 20 20 6f 62 6a |lloW. | obj|
|00004510| 65 63 74 2e 6f 20 20 20 | 20 20 20 20 20 6f 2e 6f |ect.o | o.o|
|00004520| 62 6a 65 63 74 0a 20 20 | 20 20 20 20 20 20 61 73 |bject. | as|
|00004530| 6d 2e 73 20 20 20 20 20 | 20 20 20 20 20 20 73 2e |m.s | s.|
|00004540| 61 73 6d 0a 0a 44 65 73 | 70 69 74 65 20 74 68 69 |asm..Des|pite thi|
|00004550| 73 20 61 72 72 61 6e 67 | 65 6d 65 6e 74 2c 20 61 |s arrang|ement, a|
|00004560| 6c 6c 20 74 68 65 20 66 | 69 6c 65 73 20 61 72 65 |ll the f|iles are|
|00004570| 20 73 74 69 6c 6c 20 72 | 65 66 65 72 72 65 64 20 | still r|eferred |
|00004580| 74 6f 20 62 79 20 74 68 | 65 69 72 20 55 4e 49 58 |to by th|eir UNIX|
|00004590| 0a 6e 61 6d 65 73 2e 0a | 0a 0a 0a 33 29 20 20 20 |.names..|...3) |
|000045a0| 20 20 20 53 69 6d 70 6c | 65 20 75 73 61 67 65 0a | Simpl|e usage.|
|000045b0| 20 20 20 20 20 20 20 20 | 7e 7e 7e 7e 7e 7e 7e 7e | |~~~~~~~~|
|000045c0| 7e 7e 7e 7e 0a 0a 46 6f | 72 20 73 69 6d 70 6c 65 |~~~~..Fo|r simple|
|000045d0| 20 75 73 61 67 65 2c 20 | 70 72 6f 67 72 61 6d 73 | usage, |programs|
|000045e0| 20 6d 61 79 20 62 65 20 | 63 6f 6d 70 69 6c 65 64 | may be |compiled|
|000045f0| 20 61 6e 64 20 6c 69 6e | 6b 65 64 20 73 69 6d 70 | and lin|ked simp|
|00004600| 6c 79 20 62 79 20 69 6e | 76 6f 6b 69 6e 67 20 47 |ly by in|voking G|
|00004610| 43 43 0a 77 69 74 68 20 | 74 68 65 20 73 6f 75 72 |CC.with |the sour|
|00004620| 63 65 73 20 6c 69 73 74 | 65 64 20 61 73 20 70 61 |ces list|ed as pa|
|00004630| 72 74 20 6f 66 20 74 68 | 65 20 63 6f 6d 6d 61 6e |rt of th|e comman|
|00004640| 64 20 6c 69 6e 65 2e 20 | 46 6f 72 20 65 78 61 6d |d line. |For exam|
|00004650| 70 6c 65 2c 20 74 68 65 | 0a 70 72 6f 67 72 61 6d |ple, the|.program|
|00004660| 20 27 48 65 6c 6c 6f 57 | 2e 63 27 20 63 61 6e 20 | 'HelloW|.c' can |
|00004670| 62 65 20 63 6f 6d 70 69 | 6c 65 64 20 61 6e 64 20 |be compi|led and |
|00004680| 6c 69 6e 6b 65 64 20 62 | 79 20 74 79 70 69 6e 67 |linked b|y typing|
|00004690| 20 3a 0a 0a 20 20 20 20 | 20 20 20 20 67 63 63 20 | :.. | gcc |
|000046a0| 2d 76 20 48 65 6c 6c 6f | 57 2e 63 0a 0a 54 68 69 |-v Hello|W.c..Thi|
|000046b0| 73 20 77 69 6c 6c 20 70 | 72 6f 64 75 63 65 20 74 |s will p|roduce t|
|000046c0| 68 65 20 66 69 6c 65 20 | 21 52 75 6e 49 6d 61 67 |he file |!RunImag|
|000046d0| 65 2c 20 77 68 69 63 68 | 20 63 61 6e 20 62 65 20 |e, which| can be |
|000046e0| 72 75 6e 20 69 6d 6d 65 | 64 69 61 74 65 6c 79 2e |run imme|diately.|
|000046f0| 20 52 65 65 6d 62 65 72 | 0a 79 6f 75 20 77 69 6c | Reember|.you wil|
|00004700| 6c 20 6e 65 65 64 20 33 | 4d 2b 20 6f 66 20 6d 65 |l need 3|M+ of me|
|00004710| 6d 6f 72 79 20 69 6e 20 | 74 68 65 20 43 55 52 52 |mory in |the CURR|
|00004720| 45 4e 54 20 77 69 6d 70 | 73 6c 6f 74 2e 0a 0a 49 |ENT wimp|slot...I|
|00004730| 66 20 74 68 65 20 70 72 | 6f 67 72 61 6d 20 69 73 |f the pr|ogram is|
|00004740| 20 73 70 6c 69 74 20 6f | 76 65 72 20 73 65 76 65 | split o|ver seve|
|00004750| 72 61 6c 20 73 6f 75 72 | 63 65 20 66 69 6c 65 73 |ral sour|ce files|
|00004760| 2c 20 74 68 65 73 65 20 | 6d 61 79 20 62 65 20 63 |, these |may be c|
|00004770| 6f 6d 70 69 6c 65 64 20 | 61 6e 64 0a 6c 69 6e 6b |ompiled |and.link|
|00004780| 65 64 20 77 69 74 68 20 | 61 20 73 69 6d 69 6c 61 |ed with |a simila|
|00004790| 72 20 63 6f 6d 6d 61 6e | 64 20 3a 0a 0a 20 20 20 |r comman|d :.. |
|000047a0| 20 20 20 20 20 67 63 63 | 20 2d 76 20 45 78 61 6d | gcc| -v Exam|
|000047b0| 70 6c 65 31 61 2e 63 20 | 45 78 61 6d 70 6c 65 31 |ple1a.c |Example1|
|000047c0| 62 2e 63 20 45 78 61 6d | 70 6c 65 31 63 2e 63 0a |b.c Exam|ple1c.c.|
|000047d0| 0a 57 68 69 63 68 20 77 | 69 6c 6c 20 61 67 61 69 |.Which w|ill agai|
|000047e0| 6e 20 70 72 6f 64 75 63 | 65 20 21 52 75 6e 49 6d |n produc|e !RunIm|
|000047f0| 61 67 65 2e 0a 0a 57 68 | 65 6e 20 63 6f 6d 70 69 |age...Wh|en compi|
|00004800| 6c 69 6e 67 20 43 2b 2b | 20 70 72 6f 67 72 61 6d |ling C++| program|
|00004810| 73 20 74 68 61 74 20 75 | 73 65 20 74 68 65 20 49 |s that u|se the I|
|00004820| 4f 53 54 52 45 41 4d 20 | 6c 69 62 72 61 72 79 2c |OSTREAM |library,|
|00004830| 20 74 68 65 20 73 77 69 | 74 63 68 0a 27 2d 6c 63 | the swi|tch.'-lc|
|00004840| 2b 2b 27 20 73 68 6f 75 | 6c 64 20 62 65 20 61 70 |++' shou|ld be ap|
|00004850| 70 65 6e 64 65 64 20 74 | 6f 20 74 68 65 20 63 6f |pended t|o the co|
|00004860| 6d 6d 61 6e 64 20 6c 69 | 6e 65 3a 0a 0a 09 67 63 |mmand li|ne:...gc|
|00004870| 63 20 2d 76 20 48 65 6c | 6c 6f 57 2b 2b 2e 63 63 |c -v Hel|loW++.cc|
|00004880| 20 2d 6c 63 2b 2b 0a 0a | 54 68 65 20 2d 76 20 73 | -lc++..|The -v s|
|00004890| 77 69 74 63 68 20 63 61 | 6e 20 62 65 20 6f 6d 69 |witch ca|n be omi|
|000048a0| 74 74 65 64 20 69 66 20 | 79 6f 75 20 64 6f 6e 74 |tted if |you dont|
|000048b0| 20 77 61 6e 74 20 74 68 | 65 20 65 78 74 72 61 6e | want th|e extran|
|000048c0| 65 6f 75 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |eous inf|ormation|
|000048d0| 2e 0a 0a 34 29 20 20 20 | 20 20 20 4d 6f 72 65 20 |...4) | More |
|000048e0| 63 6f 6d 70 6c 69 63 61 | 74 65 64 20 75 73 61 67 |complica|ted usag|
|000048f0| 65 0a 20 20 20 20 20 20 | 20 20 7e 7e 7e 7e 7e 7e |e. | ~~~~~~|
|00004900| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00004910| 0a 0a 47 43 43 27 73 20 | 62 65 68 61 76 69 6f 75 |..GCC's |behaviou|
|00004920| 72 20 63 61 6e 20 62 65 | 20 63 6f 6e 74 72 6f 6c |r can be| control|
|00004930| 6c 65 64 20 62 79 20 76 | 61 72 69 6f 75 73 20 73 |led by v|arious s|
|00004940| 77 69 74 63 68 65 73 20 | 6f 6e 20 74 68 65 20 63 |witches |on the c|
|00004950| 6f 6d 6d 61 6e 64 20 6c | 69 6e 65 2e 0a 54 68 65 |ommand l|ine..The|
|00004960| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 73 77 69 74 63 | followi|ng switc|
|00004970| 68 65 73 20 61 72 65 20 | 74 68 6f 73 65 20 6d 6f |hes are |those mo|
|00004980| 73 74 20 6c 69 6b 65 6c | 79 20 74 6f 20 62 65 20 |st likel|y to be |
|00004990| 75 73 65 66 75 6c 2e 0a | 0a 20 20 20 20 2d 53 20 |useful..|. -S |
|000049a0| 20 43 6f 6d 70 69 6c 65 | 20 74 6f 20 61 73 73 65 | Compile| to asse|
|000049b0| 6d 62 6c 65 72 20 63 6f | 64 65 2e 20 42 79 20 64 |mbler co|de. By d|
|000049c0| 65 66 61 75 6c 74 2c 20 | 74 68 65 20 6f 75 74 70 |efault, |the outp|
|000049d0| 75 74 20 69 73 20 70 6c | 61 63 65 64 20 69 6e 20 |ut is pl|aced in |
|000049e0| 74 68 65 0a 20 20 20 20 | 20 20 20 20 27 73 27 20 |the. | 's' |
|000049f0| 64 69 72 65 63 74 6f 72 | 79 2e 0a 0a 20 20 20 20 |director|y... |
|00004a00| 2d 63 20 20 43 6f 6d 70 | 69 6c 65 2c 20 62 75 74 |-c Comp|ile, but|
|00004a10| 20 64 6f 20 6e 6f 74 20 | 6c 69 6e 6b 2e 20 42 79 | do not |link. By|
|00004a20| 20 64 65 66 61 75 6c 74 | 2c 20 74 68 65 20 6f 62 | default|, the ob|
|00004a30| 6a 65 63 74 20 66 69 6c | 65 20 69 73 20 70 6c 61 |ject fil|e is pla|
|00004a40| 63 65 64 20 69 6e 74 6f | 0a 20 20 20 20 20 20 20 |ced into|. |
|00004a50| 20 74 68 65 20 27 6f 27 | 20 64 69 72 65 63 74 6f | the 'o'| directo|
|00004a60| 72 79 2e 0a 0a 20 20 20 | 20 2d 6d 61 6d 75 0a 20 |ry... | -mamu. |
|00004a70| 20 20 20 20 20 20 20 54 | 68 69 73 20 69 73 20 69 | T|his is i|
|00004a80| 6e 74 65 6e 64 65 64 20 | 66 6f 72 20 75 73 65 20 |ntended |for use |
|00004a90| 77 69 74 68 20 27 61 6d | 75 27 2e 20 49 74 20 67 |with 'am|u'. It g|
|00004aa0| 65 6e 65 72 61 74 65 73 | 20 74 68 65 20 21 44 65 |enerates| the !De|
|00004ab0| 70 65 6e 64 20 66 69 6c | 65 0a 20 20 20 20 20 20 |pend fil|e. |
|00004ac0| 20 20 74 68 61 74 20 41 | 4d 55 20 75 73 65 73 20 | that A|MU uses |
|00004ad0| 66 6f 72 20 69 74 73 20 | 27 64 79 6e 61 6d 69 63 |for its |'dynamic|
|00004ae0| 20 64 65 70 65 6e 64 65 | 6e 63 69 65 73 27 2e 20 | depende|ncies'. |
|00004af0| 54 68 69 73 20 69 73 20 | 6e 6f 77 20 64 65 70 72 |This is |now depr|
|00004b00| 65 63 61 74 65 64 2c 0a | 20 20 20 20 20 20 20 20 |ecated,.| |
|00004b10| 74 68 6f 75 67 68 20 49 | 20 64 6f 6e 27 74 20 79 |though I| don't y|
|00004b20| 65 74 20 6b 6e 6f 77 20 | 77 68 61 74 20 77 69 6c |et know |what wil|
|00004b30| 6c 20 72 65 70 6c 61 63 | 65 20 69 74 20 2d 20 6d |l replac|e it - m|
|00004b40| 79 20 66 69 72 73 74 20 | 6f 70 74 69 6f 6e 0a 20 |y first |option. |
|00004b50| 20 20 20 20 20 20 20 66 | 61 69 6c 65 64 20 62 61 | f|ailed ba|
|00004b60| 64 6c 79 2e 0a 0a 20 20 | 20 20 2d 6d 73 74 75 62 |dly... | -mstub|
|00004b70| 73 0a 20 20 20 20 20 20 | 20 20 54 68 69 73 20 63 |s. | This c|
|00004b80| 61 75 73 65 73 20 47 43 | 43 20 74 6f 20 75 73 65 |auses GC|C to use|
|00004b90| 20 74 68 65 20 6e 6f 72 | 63 72 6f 66 74 20 43 20 | the nor|croft C |
|00004ba0| 68 65 61 64 65 72 20 66 | 69 6c 65 73 20 61 6e 64 |header f|iles and|
|00004bb0| 20 74 68 65 20 73 68 61 | 72 65 64 20 43 0a 20 20 | the sha|red C. |
|00004bc0| 20 20 20 20 20 20 6c 69 | 62 72 61 72 79 20 73 74 | li|brary st|
|00004bd0| 75 62 73 2e 20 54 6f 20 | 75 73 65 20 74 68 69 73 |ubs. To |use this|
|00004be0| 2c 20 74 68 65 79 20 6d | 75 73 74 20 62 65 20 73 |, they m|ust be s|
|00004bf0| 65 74 20 75 70 20 61 73 | 20 66 6f 72 20 6e 6f 72 |et up as| for nor|
|00004c00| 63 72 6f 66 74 2c 0a 20 | 20 20 20 20 20 20 20 77 |croft,. | w|
|00004c10| 69 74 68 20 43 24 50 61 | 74 68 20 70 6f 69 6e 74 |ith C$Pa|th point|
|00004c20| 69 6e 67 20 74 6f 20 74 | 68 65 20 61 70 70 72 6f |ing to t|he appro|
|00004c30| 70 72 69 61 74 65 20 64 | 69 72 65 63 74 6f 72 79 |priate d|irectory|
|00004c40| 2e 20 54 68 69 73 20 69 | 73 20 6e 6f 77 0a 20 20 |. This i|s now. |
|00004c50| 20 20 20 20 20 20 64 65 | 70 72 65 63 61 74 65 64 | de|precated|
|00004c60| 20 2d 20 73 65 65 20 27 | 55 73 69 6e 67 20 6f 74 | - see '|Using ot|
|00004c70| 68 65 72 20 4c 69 62 72 | 61 72 69 65 73 27 20 66 |her Libr|aries' f|
|00004c80| 6f 72 20 74 68 65 20 72 | 65 63 6f 6d 6d 65 6e 64 |or the r|ecommend|
|00004c90| 65 64 0a 20 20 20 20 20 | 20 20 20 70 72 6f 63 65 |ed. | proce|
|00004ca0| 64 75 72 65 2e 0a 0a 20 | 20 20 20 2d 6f 20 3c 66 |dure... | -o <f|
|00004cb0| 69 6c 65 3e 0a 20 20 20 | 20 20 20 20 20 54 68 69 |ile>. | Thi|
|00004cc0| 73 20 64 69 72 65 63 74 | 73 20 47 43 43 20 74 6f |s direct|s GCC to|
|00004cd0| 20 70 6c 61 63 65 20 74 | 68 65 20 6f 75 74 70 75 | place t|he outpu|
|00004ce0| 74 20 66 69 6c 65 20 69 | 6e 20 3c 66 69 6c 65 3e |t file i|n <file>|
|00004cf0| 0a 0a 20 20 20 20 2d 4f | 2f 2d 4f 32 0a 20 20 20 |.. -O|/-O2. |
|00004d00| 20 20 20 20 20 4f 70 74 | 69 6d 69 73 65 20 74 68 | Opt|imise th|
|00004d10| 65 20 67 65 6e 65 72 61 | 74 65 64 20 63 6f 64 65 |e genera|ted code|
|00004d20| 2e 20 2d 4f 32 20 64 6f | 65 73 20 6d 6f 72 65 20 |. -O2 do|es more |
|00004d30| 6f 70 74 69 6d 73 61 74 | 69 6f 6e 73 2c 20 62 75 |optimsat|ions, bu|
|00004d40| 74 0a 20 20 20 20 20 20 | 20 20 72 65 71 75 69 72 |t. | requir|
|00004d50| 65 73 20 6d 6f 72 65 20 | 6d 65 6d 6f 72 79 2c 20 |es more |memory, |
|00004d60| 61 6e 64 20 6d 6f 72 65 | 20 74 69 6d 65 2e 0a 0a |and more| time...|
|00004d70| 49 74 20 73 68 6f 75 6c | 64 20 62 65 20 6e 6f 74 |It shoul|d be not|
|00004d80| 65 64 20 74 68 61 74 20 | 74 68 65 20 2d 6d 73 74 |ed that |the -mst|
|00004d90| 75 62 73 20 61 6e 64 20 | 2d 6d 61 6d 75 20 73 77 |ubs and |-mamu sw|
|00004da0| 69 74 63 68 65 73 20 61 | 72 65 20 6c 69 6b 65 6c |itches a|re likel|
|00004db0| 79 20 64 69 73 61 70 70 | 65 61 72 0a 69 6e 20 74 |y disapp|ear.in t|
|00004dc0| 68 65 20 32 2e 36 2e 78 | 20 76 65 72 73 69 6f 6e |he 2.6.x| version|
|00004dd0| 2e 20 54 68 65 72 65 20 | 6d 61 79 20 62 65 20 61 |. There |may be a|
|00004de0| 20 63 68 61 6e 67 65 20 | 6f 76 65 72 20 70 65 72 | change |over per|
|00004df0| 69 6f 64 20 69 6e 20 77 | 68 69 63 68 20 74 68 65 |iod in w|hich the|
|00004e00| 79 20 73 74 69 6c 6c 0a | 65 78 69 73 74 2e 0a 0a |y still.|exist...|
|00004e10| 54 68 65 72 65 20 61 72 | 65 20 73 6f 6d 65 20 6f |There ar|e some o|
|00004e20| 74 68 65 72 2c 20 6d 6f | 72 65 20 73 70 65 63 69 |ther, mo|re speci|
|00004e30| 61 6c 69 73 65 64 2c 20 | 73 77 69 74 63 68 65 73 |alised, |switches|
|00004e40| 2c 20 62 75 74 20 74 68 | 65 73 65 20 61 72 65 20 |, but th|ese are |
|00004e50| 6f 6e 6c 79 20 6c 69 6b | 65 6c 79 0a 74 6f 20 62 |only lik|ely.to b|
|00004e60| 65 20 75 73 65 66 75 6c | 20 75 6e 64 65 72 20 76 |e useful| under v|
|00004e70| 65 72 79 20 72 61 72 65 | 20 63 69 72 63 75 6d 73 |ery rare| circums|
|00004e80| 74 61 6e 63 65 73 2c 20 | 61 6e 64 20 79 6f 75 20 |tances, |and you |
|00004e90| 73 68 6f 75 6c 64 20 63 | 6f 6e 74 61 63 74 20 6d |should c|ontact m|
|00004ea0| 65 20 66 6f 72 0a 6d 6f | 72 65 20 64 65 74 61 69 |e for.mo|re detai|
|00004eb0| 6c 73 2e 0a 0a 20 20 20 | 20 2d 6d 6e 6f 2d 61 70 |ls... | -mno-ap|
|00004ec0| 63 73 0a 20 20 20 20 20 | 20 20 20 44 6f 20 6e 6f |cs. | Do no|
|00004ed0| 74 20 75 73 65 20 74 68 | 65 20 41 50 43 53 2d 52 |t use th|e APCS-R|
|00004ee0| 20 63 61 6c 6c 69 6e 67 | 20 73 74 61 6e 64 61 72 | calling| standar|
|00004ef0| 64 2e 0a 0a 20 20 20 20 | 2d 6d 6e 6f 2d 66 75 6e |d... |-mno-fun|
|00004f00| 63 74 69 6f 6e 2d 6e 61 | 6d 65 0a 20 20 20 20 20 |ction-na|me. |
|00004f10| 20 20 20 44 6f 20 6e 6f | 74 20 65 6d 62 65 64 20 | Do no|t embed |
|00004f20| 66 75 6e 63 74 69 6f 6e | 20 6e 61 6d 65 73 20 69 |function| names i|
|00004f30| 6e 20 74 68 65 20 63 6f | 64 65 2e 0a 0a 20 20 20 |n the co|de... |
|00004f40| 20 2d 6d 66 70 61 0a 20 | 20 20 20 20 20 20 20 50 | -mfpa. | P|
|00004f50| 65 72 66 6f 72 6d 20 73 | 6f 6d 65 20 73 63 68 65 |erform s|ome sche|
|00004f60| 64 75 6c 69 6e 67 20 6f | 66 20 66 6c 6f 61 74 69 |duling o|f floati|
|00004f70| 6e 67 20 70 6f 69 6e 74 | 20 69 6e 73 74 72 75 63 |ng point| instruc|
|00004f80| 74 69 6f 6e 73 2e 0a 0a | 20 20 20 20 2d 6d 6e 6f |tions...| -mno|
|00004f90| 2d 73 74 61 63 6b 2d 63 | 68 65 63 6b 0a 20 20 20 |-stack-c|heck. |
|00004fa0| 20 20 20 20 20 44 6f 20 | 6e 6f 74 20 70 65 72 66 | Do |not perf|
|00004fb0| 6f 72 6d 20 73 74 61 63 | 6b 20 63 68 65 63 6b 69 |orm stac|k checki|
|00004fc0| 6e 67 2e 0a 0a 0a 0a 35 | 29 20 20 20 20 20 20 55 |ng.....5|) U|
|00004fd0| 73 69 6e 67 20 6f 74 68 | 65 72 20 6c 69 62 72 61 |sing oth|er libra|
|00004fe0| 72 69 65 73 0a 20 20 20 | 20 20 20 20 20 7e 7e 7e |ries. | ~~~|
|00004ff0| 7e 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |~~~~~~~~|~~~~~~~~|
|00005000| 7e 7e 0a 0a 42 79 20 64 | 65 66 61 75 6c 74 2c 20 |~~..By d|efault, |
|00005010| 47 43 43 20 75 73 65 73 | 20 74 68 65 20 55 6e 69 |GCC uses| the Uni|
|00005020| 78 4c 69 62 20 72 75 6e | 2d 74 69 6d 65 20 6c 69 |xLib run|-time li|
|00005030| 62 72 61 72 79 2c 20 62 | 75 74 20 6f 74 68 65 72 |brary, b|ut other|
|00005040| 20 6c 69 62 72 61 72 69 | 65 73 20 63 61 6e 0a 62 | librari|es can.b|
|00005050| 65 20 75 73 65 64 2e 0a | 0a 4c 69 62 72 61 72 69 |e used..|.Librari|
|00005060| 65 73 20 63 61 6e 20 62 | 65 20 73 70 6c 69 74 20 |es can b|e split |
|00005070| 69 6e 74 6f 20 74 77 6f | 20 74 79 70 65 73 20 3a |into two| types :|
|00005080| 0a 0a 4c 61 6e 67 75 61 | 67 65 20 73 75 70 70 6f |..Langua|ge suppo|
|00005090| 72 74 20 6c 69 62 72 61 | 72 69 65 73 2c 20 77 68 |rt libra|ries, wh|
|000050a0| 69 63 68 20 73 75 70 70 | 6c 79 20 74 68 65 20 62 |ich supp|ly the b|
|000050b0| 61 73 69 63 20 66 75 6e | 63 74 69 6f 6e 73 20 66 |asic fun|ctions f|
|000050c0| 6f 72 20 74 68 65 0a 6c | 61 6e 67 75 61 67 65 2c |or the.l|anguage,|
|000050d0| 20 73 75 63 68 20 61 73 | 20 49 2f 4f 20 61 6e 64 | such as| I/O and|
|000050e0| 20 6d 61 74 68 73 20 72 | 6f 75 74 69 6e 65 73 2e | maths r|outines.|
|000050f0| 20 54 68 65 20 63 75 72 | 72 65 6e 74 6c 79 20 61 | The cur|rently a|
|00005100| 76 61 69 6c 61 62 6c 65 | 20 6c 69 62 72 61 72 69 |vailable| librari|
|00005110| 65 73 0a 6f 66 20 74 68 | 69 73 20 74 79 70 65 20 |es.of th|is type |
|00005120| 61 72 65 20 55 6e 69 78 | 4c 69 62 20 61 6e 64 20 |are Unix|Lib and |
|00005130| 74 68 65 20 4e 6f 72 63 | 72 6f 66 74 20 6c 69 62 |the Norc|roft lib|
|00005140| 72 61 72 69 65 73 20 28 | 53 74 75 62 73 20 61 6e |raries (|Stubs an|
|00005150| 64 20 41 4e 53 49 4c 69 | 62 29 2e 20 4f 6e 65 0a |d ANSILi|b). One.|
|00005160| 6f 66 20 74 68 65 73 65 | 20 6c 69 62 72 61 72 69 |of these| librari|
|00005170| 65 73 20 4d 55 53 54 20 | 62 65 20 75 73 65 64 2e |es MUST |be used.|
|00005180| 0a 0a 27 41 70 70 6c 69 | 63 61 74 69 6f 6e 27 20 |..'Appli|cation' |
|00005190| 6c 69 62 72 61 72 69 65 | 73 2e 20 54 68 65 73 65 |librarie|s. These|
|000051a0| 20 70 72 6f 76 69 64 65 | 20 65 78 74 72 61 20 66 | provide| extra f|
|000051b0| 61 63 69 6c 69 74 69 65 | 73 20 74 6f 20 74 68 65 |acilitie|s to the|
|000051c0| 20 6c 61 6e 67 75 61 67 | 65 20 62 75 74 0a 61 72 | languag|e but.ar|
|000051d0| 65 20 6e 6f 74 20 70 61 | 72 74 20 6f 66 20 74 68 |e not pa|rt of th|
|000051e0| 65 20 6c 61 6e 67 75 61 | 67 65 2e 20 45 78 61 6d |e langua|ge. Exam|
|000051f0| 70 6c 65 73 20 61 72 65 | 20 52 49 53 43 5f 4f 53 |ples are| RISC_OS|
|00005200| 4c 69 62 2c 20 44 65 73 | 6b 4c 69 62 2c 20 53 70 |Lib, Des|kLib, Sp|
|00005210| 69 72 69 74 20 61 6e 64 | 0a 4f 53 4c 69 62 0a 0a |irit and|.OSLib..|
|00005220| 54 6f 20 75 73 65 20 61 | 6e 20 61 70 70 6c 69 63 |To use a|n applic|
|00005230| 61 74 69 6f 6e 20 6c 69 | 62 72 61 72 79 2c 20 74 |ation li|brary, t|
|00005240| 68 65 20 27 2d 49 27 2c | 20 27 2d 6c 27 2c 20 61 |he '-I',| '-l', a|
|00005250| 6e 64 20 27 2d 4c 27 20 | 73 77 69 74 63 68 65 73 |nd '-L' |switches|
|00005260| 20 61 72 65 20 75 73 65 | 64 3a 0a 0a 20 20 20 20 | are use|d:.. |
|00005270| 2d 49 3c 64 69 72 3e 0a | 20 20 20 20 20 20 20 20 |-I<dir>.| |
|00005280| 54 68 69 73 20 74 65 6c | 6c 20 47 43 43 20 77 68 |This tel|l GCC wh|
|00005290| 65 72 65 20 74 6f 20 66 | 69 6e 64 20 74 68 65 20 |ere to f|ind the |
|000052a0| 68 65 61 64 65 72 20 28 | 27 2e 68 27 29 20 66 69 |header (|'.h') fi|
|000052b0| 6c 65 73 20 66 6f 72 20 | 74 68 65 20 6c 69 62 72 |les for |the libr|
|000052c0| 61 72 79 2e 0a 20 20 20 | 20 20 20 20 20 54 68 69 |ary.. | Thi|
|000052d0| 73 20 73 68 6f 75 6c 64 | 20 62 65 20 74 68 65 20 |s should| be the |
|000052e0| 64 69 72 65 63 74 6f 72 | 79 20 41 42 4f 56 45 20 |director|y ABOVE |
|000052f0| 74 68 65 20 27 68 27 20 | 64 69 72 65 63 74 6f 72 |the 'h' |director|
|00005300| 79 20 74 68 61 74 20 74 | 68 65 20 68 65 61 64 65 |y that t|he heade|
|00005310| 72 0a 20 20 20 20 20 20 | 20 20 66 69 6c 65 73 20 |r. | files |
|00005320| 61 72 65 20 6b 65 70 74 | 20 69 6e 2e 20 49 2e 65 |are kept| in. I.e|
|00005330| 20 2d 49 4f 53 4c 69 62 | 3a 20 74 65 6c 6c 73 20 | -IOSLib|: tells |
|00005340| 47 43 43 20 74 6f 20 6c | 6f 6f 6b 20 69 6e 20 74 |GCC to l|ook in t|
|00005350| 68 65 20 4f 53 4c 49 42 | 3a 68 0a 20 20 20 20 20 |he OSLIB|:h. |
|00005360| 20 20 20 64 69 72 65 63 | 74 6f 72 79 20 66 6f 72 | direc|tory for|
|00005370| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 2e 0a 0a | header |files...|
|00005380| 20 20 20 20 2d 6c 3c 6c | 69 62 3e 0a 20 20 20 20 | -l<l|ib>. |
|00005390| 20 20 20 20 54 68 69 73 | 20 73 70 65 63 69 66 69 | This| specifi|
|000053a0| 65 73 20 74 68 65 20 6e | 61 6d 65 20 6f 66 20 61 |es the n|ame of a|
|000053b0| 20 6c 69 62 72 61 72 79 | 20 74 6f 20 6c 69 6e 6b | library| to link|
|000053c0| 20 61 67 61 69 6e 73 74 | 2e 20 54 68 69 73 20 6d | against|. This m|
|000053d0| 61 79 0a 20 20 20 20 20 | 20 20 20 65 69 74 68 65 |ay. | eithe|
|000053e0| 72 20 62 65 20 74 68 65 | 20 63 6f 6d 70 6c 65 74 |r be the| complet|
|000053f0| 65 20 70 61 74 68 20 74 | 6f 20 74 68 65 20 6c 69 |e path t|o the li|
|00005400| 62 72 61 72 79 20 28 69 | 65 2e 20 27 2d 6c 4f 53 |brary (i|e. '-lOS|
|00005410| 4c 69 62 3a 6f 2e 4f 53 | 4c 69 62 27 29 0a 20 20 |Lib:o.OS|Lib'). |
|00005420| 20 20 20 20 20 20 6f 72 | 2c 20 69 6e 20 63 6f 6e | or|, in con|
|00005430| 6a 75 6e 63 74 69 6f 6e | 20 77 69 74 68 20 2d 4c |junction| with -L|
|00005440| 2c 20 6a 75 73 74 20 74 | 68 65 20 6c 65 61 66 20 |, just t|he leaf |
|00005450| 6e 61 6d 65 20 6f 66 20 | 74 68 65 20 6c 69 62 72 |name of |the libr|
|00005460| 61 72 79 20 28 69 65 2e | 0a 20 20 20 20 20 20 20 |ary (ie.|. |
|00005470| 20 27 2d 6c 4f 53 4c 69 | 62 27 29 2e 0a 0a 20 20 | '-lOSLi|b')... |
|00005480| 20 20 2d 4c 3c 64 69 72 | 3e 0a 20 20 20 20 20 20 | -L<dir|>. |
|00005490| 20 20 54 68 69 73 20 73 | 70 65 63 69 66 65 73 20 | This s|pecifes |
|000054a0| 61 20 64 69 72 65 63 74 | 6f 72 79 20 74 68 61 74 |a direct|ory that|
|000054b0| 20 47 43 43 20 73 68 6f | 75 6c 64 20 65 78 61 6d | GCC sho|uld exam|
|000054c0| 69 6e 65 20 77 68 69 6c | 65 20 6c 6f 6f 6b 69 6e |ine whil|e lookin|
|000054d0| 67 20 66 6f 72 0a 20 20 | 20 20 20 20 20 20 6c 69 |g for. | li|
|000054e0| 62 72 61 72 69 65 73 2e | 20 4e 6f 74 65 2c 20 74 |braries.| Note, t|
|000054f0| 68 69 73 20 73 68 6f 75 | 6c 64 20 62 65 20 74 68 |his shou|ld be th|
|00005500| 65 20 64 69 72 65 63 74 | 6f 72 79 20 41 42 4f 56 |e direct|ory ABOV|
|00005510| 45 20 74 68 65 20 27 6f | 27 0a 20 20 20 20 20 20 |E the 'o|'. |
|00005520| 20 20 64 69 72 65 63 74 | 6f 72 79 20 74 68 61 74 | direct|ory that|
|00005530| 20 74 68 65 20 6c 69 62 | 72 61 72 79 20 72 65 73 | the lib|rary res|
|00005540| 69 64 65 73 20 69 6e 2e | 20 49 2e 65 20 27 2d 4c |ides in.| I.e '-L|
|00005550| 4f 53 4c 69 62 3a 27 20 | 74 65 6c 6c 20 47 43 43 |OSLib:' |tell GCC|
|00005560| 20 74 6f 0a 20 20 20 20 | 20 20 20 20 6c 6f 6f 6b | to. | look|
|00005570| 20 69 6e 20 74 68 65 20 | 27 4f 53 4c 69 62 3a 6f | in the |'OSLib:o|
|00005580| 27 20 64 69 72 65 63 74 | 6f 72 79 20 66 6f 72 20 |' direct|ory for |
|00005590| 6c 69 62 72 61 72 79 20 | 66 69 6c 65 73 2e 0a 0a |library |files...|
|000055a0| 4d 75 6c 74 69 70 6c 65 | 20 27 2d 49 27 2c 20 27 |Multiple| '-I', '|
|000055b0| 2d 6c 27 20 61 6e 64 20 | 27 2d 4c 27 20 73 77 69 |-l' and |'-L' swi|
|000055c0| 74 63 68 65 73 20 6d 61 | 79 20 62 65 20 75 73 65 |tches ma|y be use|
|000055d0| 64 2c 20 61 6e 64 20 47 | 43 43 20 77 69 6c 6c 20 |d, and G|CC will |
|000055e0| 73 65 61 72 63 68 0a 74 | 68 72 6f 75 67 68 20 74 |search.t|hrough t|
|000055f0| 68 65 73 65 20 74 6f 20 | 66 69 6e 64 20 74 68 65 |hese to |find the|
|00005600| 20 61 70 70 72 6f 70 72 | 69 61 74 65 20 68 65 61 | appropr|iate hea|
|00005610| 64 65 72 20 66 69 6c 65 | 73 20 61 6e 64 20 6c 69 |der file|s and li|
|00005620| 62 72 61 72 69 65 73 2e | 20 47 43 43 20 77 69 6c |braries.| GCC wil|
|00005630| 6c 0a 73 65 61 72 63 68 | 20 74 68 65 20 64 69 72 |l.search| the dir|
|00005640| 65 63 74 6f 72 69 65 73 | 20 69 6e 20 74 68 65 20 |ectories| in the |
|00005650| 73 70 65 63 69 66 69 65 | 64 20 6f 72 64 65 72 2e |specifie|d order.|
|00005660| 0a 0a 49 65 2e 20 74 68 | 65 20 73 77 69 74 63 68 |..Ie. th|e switch|
|00005670| 65 73 20 27 2d 49 41 3a | 20 2d 49 42 3a 20 2d 4c |es '-IA:| -IB: -L|
|00005680| 41 3a 20 2d 4c 42 3a 20 | 2d 6c 61 20 2d 6c 62 27 |A: -LB: |-la -lb'|
|00005690| 20 77 69 6c 6c 20 63 75 | 61 73 65 20 47 43 43 20 | will cu|ase GCC |
|000056a0| 74 6f 20 6c 6f 6f 6b 20 | 69 6e 20 74 68 65 0a 27 |to look |in the.'|
|000056b0| 41 3a 68 27 20 61 6e 64 | 20 27 42 3a 68 27 20 64 |A:h' and| 'B:h' d|
|000056c0| 69 72 65 63 74 6f 72 69 | 65 73 20 66 6f 72 20 68 |irectori|es for h|
|000056d0| 65 61 64 65 72 20 66 69 | 6c 65 73 20 75 6e 74 69 |eader fi|les unti|
|000056e0| 6c 20 69 74 20 66 69 6e | 64 73 20 74 68 65 20 73 |l it fin|ds the s|
|000056f0| 70 65 63 69 66 69 65 64 | 0a 66 69 6c 65 2c 20 61 |pecified|.file, a|
|00005700| 6e 64 20 69 74 20 77 69 | 6c 6c 20 73 65 61 72 63 |nd it wi|ll searc|
|00005710| 68 20 66 6f 72 20 74 68 | 65 20 6c 69 62 72 61 72 |h for th|e librar|
|00005720| 69 65 73 20 27 41 3a 6f | 2e 41 27 20 27 42 3a 6f |ies 'A:o|.A' 'B:o|
|00005730| 2e 41 27 20 27 41 3a 6f | 2e 42 27 20 27 42 3a 6f |.A' 'A:o|.B' 'B:o|
|00005740| 2e 42 27 0a 0a 41 73 20 | 61 6e 20 65 78 61 6d 70 |.B'..As |an examp|
|00005750| 6c 65 2c 20 74 68 65 20 | 4f 53 4c 69 62 20 6c 69 |le, the |OSLib li|
|00005760| 62 72 61 72 79 20 77 6f | 75 6c 64 2c 20 61 73 73 |brary wo|uld, ass|
|00005770| 75 6d 65 69 6e 67 20 4f | 53 4c 69 62 24 50 61 74 |umeing O|SLib$Pat|
|00005780| 68 20 70 6f 69 6e 74 73 | 20 74 6f 20 74 68 65 0a |h points| to the.|
|00005790| 4f 53 4c 69 62 20 64 69 | 72 65 63 74 6f 72 79 2c |OSLib di|rectory,|
|000057a0| 20 62 65 20 75 73 65 64 | 20 61 73 20 66 6f 6c 6c | be used| as foll|
|000057b0| 6f 77 73 2e 0a 0a 20 20 | 20 20 20 20 20 20 67 63 |ows... | gc|
|000057c0| 63 20 3c 70 72 6f 67 3e | 20 2d 49 4f 53 4c 69 62 |c <prog>| -IOSLib|
|000057d0| 3a 20 2d 6c 4f 53 4c 49 | 42 3a 6f 2e 4f 53 4c 69 |: -lOSLI|B:o.OSLi|
|000057e0| 62 0a 0a 6f 72 0a 0a 20 | 20 20 20 20 20 20 20 67 |b..or.. | g|
|000057f0| 63 63 20 3c 70 72 6f 67 | 3e 20 2d 49 4f 53 4c 49 |cc <prog|> -IOSLI|
|00005800| 42 3a 20 2d 6c 4f 53 4c | 69 62 20 2d 4c 4f 53 4c |B: -lOSL|ib -LOSL|
|00005810| 69 62 3a 0a 0a 49 66 20 | 79 6f 75 20 77 69 73 68 |ib:..If |you wish|
|00005820| 20 74 6f 20 72 65 70 6c | 61 63 65 20 74 68 65 20 | to repl|ace the |
|00005830| 6c 61 6e 67 75 61 67 65 | 20 73 75 70 70 6f 72 74 |language| support|
|00005840| 20 6c 69 62 72 61 72 79 | 20 28 55 6e 69 78 4c 69 | library| (UnixLi|
|00005850| 62 29 2c 20 74 68 65 20 | 70 72 6f 63 65 64 75 72 |b), the |procedur|
|00005860| 65 0a 69 73 20 73 6c 69 | 67 68 74 6c 79 20 6d 6f |e.is sli|ghtly mo|
|00005870| 72 65 20 63 6f 6d 70 6c | 69 63 61 74 65 64 2e 20 |re compl|icated. |
|00005880| 49 66 20 79 6f 75 20 61 | 72 65 20 75 73 69 6e 67 |If you a|re using|
|00005890| 20 74 68 65 20 27 6c 69 | 62 67 2b 2b 27 20 49 4f | the 'li|bg++' IO|
|000058a0| 53 54 45 41 4d 53 20 6c | 69 62 72 61 72 79 2c 0a |STEAMS l|ibrary,.|
|000058b0| 79 6f 75 20 4d 55 53 54 | 20 6c 69 6e 6b 20 61 67 |you MUST| link ag|
|000058c0| 61 69 6e 73 74 20 55 6e | 69 78 4c 69 62 2c 20 74 |ainst Un|ixLib, t|
|000058d0| 68 65 72 65 66 6f 72 65 | 20 74 68 69 73 20 70 72 |herefore| this pr|
|000058e0| 6f 63 65 64 75 72 65 20 | 73 68 6f 75 6c 64 20 6f |ocedure |should o|
|000058f0| 6e 6c 79 20 62 65 20 75 | 73 65 64 0a 66 6f 72 20 |nly be u|sed.for |
|00005900| 43 20 70 72 6f 67 72 61 | 6d 73 2c 20 6e 6f 74 20 |C progra|ms, not |
|00005910| 43 2b 2b 2e 0a 0a 54 6f | 20 72 65 70 6c 61 63 65 |C++...To| replace|
|00005920| 20 74 68 65 20 6c 61 6e | 67 75 61 67 65 20 6c 69 | the lan|guage li|
|00005930| 62 72 61 72 79 2c 20 74 | 68 65 20 66 6f 6c 6c 6f |brary, t|he follo|
|00005940| 77 69 6e 67 20 73 77 69 | 74 63 68 65 73 20 61 72 |wing swi|tches ar|
|00005950| 65 20 75 73 65 64 3a 0a | 0a 20 20 2d 6e 6f 73 74 |e used:.|. -nost|
|00005960| 64 69 6e 63 20 2d 49 3c | 61 70 70 3e 20 2d 49 47 |dinc -I<|app> -IG|
|00005970| 43 43 3a 20 2d 49 3c 6c | 61 6e 67 3e 20 2d 6e 6f |CC: -I<l|ang> -no|
|00005980| 73 74 64 6c 69 62 20 2d | 6c 47 43 43 3a 6f 2e 67 |stdlib -|lGCC:o.g|
|00005990| 63 63 20 3c 6c 69 62 2d | 73 70 65 63 73 3e 0a 0a |cc <lib-|specs>..|
|000059a0| 74 68 65 20 27 2d 49 3c | 61 70 70 3e 27 20 61 6e |the '-I<|app>' an|
|000059b0| 64 20 27 2d 49 3c 6c 61 | 6e 67 3e 27 20 73 68 6f |d '-I<la|ng>' sho|
|000059c0| 75 6c 64 20 62 65 20 72 | 65 70 6c 61 63 65 64 20 |uld be r|eplaced |
|000059d0| 62 79 20 74 68 65 20 61 | 70 70 72 6f 70 72 69 61 |by the a|ppropria|
|000059e0| 74 65 20 27 2d 49 27 0a | 73 77 69 74 63 68 65 73 |te '-I'.|switches|
|000059f0| 20 66 6f 72 20 74 68 65 | 20 61 70 70 6c 69 63 61 | for the| applica|
|00005a00| 74 69 6f 6e 20 61 6e 64 | 20 6c 61 6e 67 75 61 67 |tion and| languag|
|00005a10| 65 20 6c 69 62 72 61 72 | 69 65 73 20 72 65 73 70 |e librar|ies resp|
|00005a20| 65 63 74 69 76 65 6c 79 | 2e 20 4e 6f 74 65 2c 20 |ectively|. Note, |
|00005a30| 74 68 65 0a 27 2d 49 3c | 6c 61 6e 67 3e 27 20 4d |the.'-I<|lang>' M|
|00005a40| 55 53 54 20 67 6f 20 61 | 66 74 65 72 20 74 68 65 |UST go a|fter the|
|00005a50| 20 27 2d 49 47 43 43 3a | 27 0a 0a 3c 6c 69 62 2d | '-IGCC:|'..<lib-|
|00005a60| 73 70 65 63 73 3e 20 73 | 68 6f 75 6c 64 20 62 65 |specs> s|hould be|
|00005a70| 20 74 68 65 20 61 70 70 | 72 6f 70 72 69 61 74 65 | the app|ropriate|
|00005a80| 20 27 2d 6c 27 20 61 6e | 64 20 27 2d 4c 27 20 73 | '-l' an|d '-L' s|
|00005a90| 77 69 74 63 68 65 73 2e | 20 41 73 20 61 6e 20 65 |witches.| As an e|
|00005aa0| 78 61 6d 70 6c 65 2c 0a | 77 68 65 6e 20 75 73 69 |xample,.|when usi|
|00005ab0| 6e 67 20 74 68 65 20 73 | 68 61 72 65 64 20 43 20 |ng the s|hared C |
|00005ac0| 6c 69 62 72 61 72 79 2c | 20 74 68 65 20 66 6f 6c |library,| the fol|
|00005ad0| 6c 6f 77 69 6e 67 20 63 | 6f 6d 6d 61 6e 64 20 6c |lowing c|ommand l|
|00005ae0| 69 6e 65 20 69 73 20 61 | 70 70 72 6f 70 72 69 61 |ine is a|ppropria|
|00005af0| 74 65 2e 0a 0a 20 20 20 | 20 20 20 20 20 67 63 63 |te... | gcc|
|00005b00| 20 3c 70 72 6f 67 3e 20 | 2d 6e 6f 73 74 64 69 6e | <prog> |-nostdin|
|00005b10| 63 20 2d 49 47 43 43 3a | 20 2d 49 43 3a 20 2d 6e |c -IGCC:| -IC: -n|
|00005b20| 6f 73 74 64 6c 69 62 20 | 2d 6c 47 43 43 3a 6f 2e |ostdlib |-lGCC:o.|
|00005b30| 67 63 63 20 2d 6c 43 3a | 6f 2e 73 74 75 62 73 0a |gcc -lC:|o.stubs.|
|00005b40| 0a 54 68 69 73 20 61 73 | 73 75 6d 65 73 20 74 68 |.This as|sumes th|
|00005b50| 61 74 20 43 24 50 61 74 | 68 20 69 73 20 73 65 74 |at C$Pat|h is set|
|00005b60| 20 75 70 20 63 6f 72 72 | 65 63 74 6c 79 2e 0a 0a | up corr|ectly...|
|00005b70| 4e 6f 74 65 2c 20 74 68 | 61 74 20 77 68 65 6e 20 |Note, th|at when |
|00005b80| 73 70 65 63 69 66 69 6e | 67 20 69 6e 63 6c 75 64 |specifin|g includ|
|00005b90| 65 20 70 61 74 68 73 20 | 61 6e 64 20 6c 69 62 72 |e paths |and libr|
|00005ba0| 61 72 69 65 73 2c 20 79 | 6f 75 20 68 61 76 65 20 |aries, y|ou have |
|00005bb0| 74 6f 20 62 65 20 76 65 | 72 79 0a 63 61 72 65 66 |to be ve|ry.caref|
|00005bc0| 75 6c 20 77 69 74 68 20 | 74 68 65 20 6f 72 64 65 |ul with |the orde|
|00005bd0| 72 69 6e 67 2e 20 46 6f | 72 20 69 6e 63 6c 75 64 |ring. Fo|r includ|
|00005be0| 65 20 70 61 74 68 73 2c | 20 74 68 65 20 6f 72 64 |e paths,| the ord|
|00005bf0| 65 72 20 69 73 20 6d 65 | 6e 74 69 6f 6e 65 64 20 |er is me|ntioned |
|00005c00| 61 62 6f 76 65 2c 0a 77 | 68 69 6c 65 20 66 6f 72 |above,.w|hile for|
|00005c10| 20 6c 69 62 72 61 72 69 | 65 73 20 74 68 65 20 6f | librari|es the o|
|00005c20| 72 64 65 72 69 6e 67 20 | 69 73 20 3a 0a 0a 20 20 |rdering |is :.. |
|00005c30| 20 20 20 20 20 20 41 70 | 70 6c 69 63 61 74 69 6f | Ap|plicatio|
|00005c40| 6e 20 6c 69 62 72 61 72 | 79 0a 20 20 20 20 20 20 |n librar|y. |
|00005c50| 20 20 49 4f 53 54 52 45 | 41 4d 20 6c 69 62 72 61 | IOSTRE|AM libra|
|00005c60| 72 79 20 28 69 66 20 75 | 73 65 64 29 0a 20 20 20 |ry (if u|sed). |
|00005c70| 20 20 20 20 20 67 63 63 | 20 6c 69 62 72 61 72 79 | gcc| library|
|00005c80| 20 28 67 63 63 3a 6f 2e | 67 63 63 29 0a 20 20 20 | (gcc:o.|gcc). |
|00005c90| 20 20 20 20 20 6c 61 6e | 67 75 61 67 65 20 6c 69 | lan|guage li|
|00005ca0| 62 72 61 72 79 20 28 55 | 6e 69 78 3a 6f 2e 55 6e |brary (U|nix:o.Un|
|00005cb0| 69 78 6c 69 62 2c 20 65 | 74 63 29 0a 0a 49 66 20 |ixlib, e|tc)..If |
|00005cc0| 79 6f 75 20 77 69 74 68 | 20 74 6f 20 75 73 65 20 |you with| to use |
|00005cd0| 6f 74 68 65 72 20 6c 69 | 62 72 61 72 69 65 73 20 |other li|braries |
|00005ce0| 77 69 74 68 20 47 43 43 | 2c 20 74 68 65 72 65 20 |with GCC|, there |
|00005cf0| 61 72 65 20 61 20 63 6f | 75 70 6c 65 20 6f 66 20 |are a co|uple of |
|00005d00| 70 6f 69 6e 74 73 0a 74 | 68 61 74 20 68 61 76 65 |points.t|hat have|
|00005d10| 20 74 6f 20 62 65 20 6c | 6f 6f 6b 65 64 20 61 74 | to be l|ooked at|
|00005d20| 2e 0a 0a 46 6f 72 20 47 | 43 43 20 61 6e 64 20 47 |...For G|CC and G|
|00005d30| 2b 2b 2c 20 74 68 65 72 | 65 20 61 72 65 20 66 65 |++, ther|e are fe|
|00005d40| 77 20 65 78 74 72 61 20 | 6b 65 79 77 6f 72 64 73 |w extra |keywords|
|00005d50| 2c 20 74 68 61 74 20 63 | 61 6e 6e 6f 74 20 62 65 |, that c|annot be|
|00005d60| 20 75 73 65 64 20 66 6f | 72 0a 76 61 72 69 61 62 | used fo|r.variab|
|00005d70| 6c 65 20 6e 61 6d 65 73 | 20 2d 20 74 68 65 73 65 |le names| - these|
|00005d80| 20 61 72 65 20 27 6e 65 | 77 27 2c 20 27 64 65 6c | are 'ne|w', 'del|
|00005d90| 65 74 65 27 2c 20 27 74 | 68 69 73 27 2c 20 27 74 |ete', 't|his', 't|
|00005da0| 65 6d 70 6c 61 74 65 27 | 2c 20 27 61 73 6d 27 20 |emplate'|, 'asm' |
|00005db0| 28 61 6e 64 0a 70 72 6f | 62 61 62 6c 79 20 61 20 |(and.pro|bably a |
|00005dc0| 66 65 77 20 6f 74 68 65 | 72 73 20 49 27 76 65 20 |few othe|rs I've |
|00005dd0| 6d 65 73 73 65 64 29 2e | 20 59 6f 75 20 77 69 6c |messed).| You wil|
|00005de0| 6c 20 73 6f 6f 6e 20 6e | 6f 74 69 63 65 20 69 66 |l soon n|otice if|
|00005df0| 20 74 68 65 73 65 20 61 | 72 65 20 75 73 65 64 2e | these a|re used.|
|00005e00| 0a 0a 54 6f 20 70 72 6f | 76 69 64 65 20 74 79 70 |..To pro|vide typ|
|00005e10| 65 20 73 61 66 65 20 6c | 69 6e 6b 61 67 65 2c 20 |e safe l|inkage, |
|00005e20| 43 2b 2b 20 27 6d 61 6e | 67 6c 65 73 27 20 66 75 |C++ 'man|gles' fu|
|00005e30| 6e 63 74 69 6f 6e 20 6e | 61 6d 65 73 20 74 6f 20 |nction n|ames to |
|00005e40| 69 6e 63 6c 75 64 65 20 | 74 68 65 0a 74 79 70 65 |include |the.type|
|00005e50| 73 20 6f 66 20 74 68 65 | 20 70 61 72 61 6d 65 74 |s of the| paramet|
|00005e60| 65 72 73 2e 20 54 6f 20 | 70 72 65 76 65 6e 74 20 |ers. To |prevent |
|00005e70| 43 2b 2b 20 66 72 6f 6d | 20 6d 61 6e 67 6c 69 6e |C++ from| manglin|
|00005e80| 67 20 43 20 66 75 6e 63 | 74 69 6f 6e 20 6e 61 6d |g C func|tion nam|
|00005e90| 65 73 2c 20 74 68 65 0a | 64 75 6e 63 74 69 6f 6e |es, the.|dunction|
|00005ea0| 20 69 73 20 64 65 63 6c | 61 72 65 64 20 61 73 20 | is decl|ared as |
|00005eb0| 61 20 43 20 66 75 6e 63 | 74 69 6f 6e 20 62 79 20 |a C func|tion by |
|00005ec0| 70 72 65 63 65 64 69 6e | 67 20 74 68 65 20 64 65 |precedin|g the de|
|00005ed0| 63 6c 61 72 61 74 69 6f | 6e 20 77 69 74 68 0a 27 |claratio|n with.'|
|00005ee0| 65 78 74 65 72 6e 20 22 | 43 22 27 2c 20 69 65 2e |extern "|C"', ie.|
|00005ef0| 0a 0a 65 78 74 65 72 6e | 20 22 43 22 20 66 72 65 |..extern| "C" fre|
|00005f00| 64 28 69 6e 74 20 6a 69 | 6d 29 3b 0a 0a 46 6f 72 |d(int ji|m);..For|
|00005f10| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 2c 20 74 | header |files, t|
|00005f20| 68 65 20 73 74 61 6e 64 | 61 72 64 20 74 65 63 68 |he stand|ard tech|
|00005f30| 6e 69 71 75 65 20 69 73 | 20 74 6f 20 62 72 61 63 |nique is| to brac|
|00005f40| 6b 65 74 20 74 68 65 20 | 64 65 63 6c 61 72 61 74 |ket the |declarat|
|00005f50| 69 6f 6e 73 20 62 79 0a | 74 68 65 20 66 6f 6c 6c |ions by.|the foll|
|00005f60| 6f 77 69 6e 67 3a 0a 0a | 23 69 66 64 65 66 20 5f |owing:..|#ifdef _|
|00005f70| 5f 63 70 6c 75 73 70 6c | 75 73 0a 65 78 74 65 72 |_cpluspl|us.exter|
|00005f80| 6e 20 22 43 22 20 7b 0a | 23 65 6e 64 69 66 0a 0a |n "C" {.|#endif..|
|00005f90| 2e 2e 2e 0a 0a 23 69 66 | 64 65 66 20 5f 5f 63 70 |.....#if|def __cp|
|00005fa0| 6c 75 73 70 6c 75 73 0a | 20 20 20 20 20 20 20 20 |lusplus.| |
|00005fb0| 7d 0a 23 65 6e 64 69 66 | 0a 0a 49 74 20 69 73 20 |}.#endif|..It is |
|00005fc0| 70 6f 73 73 69 62 6c 65 | 20 74 68 61 74 20 79 6f |possible| that yo|
|00005fd0| 75 20 6c 69 62 72 61 72 | 79 20 64 6f 65 73 20 6e |u librar|y does n|
|00005fe0| 6f 74 20 68 61 76 65 20 | 74 68 65 73 65 20 69 6e |ot have |these in|
|00005ff0| 20 74 68 65 20 68 65 61 | 64 65 72 20 66 69 6c 65 | the hea|der file|
|00006000| 73 2c 20 62 75 74 0a 74 | 68 65 73 65 20 6d 61 79 |s, but.t|hese may|
|00006010| 20 62 65 20 65 61 73 69 | 6c 79 20 61 64 64 65 64 | be easi|ly added|
|00006020| 2e 0a 0a 0a 54 68 65 20 | 6e 6f 72 6d 61 6c 20 66 |....The |normal f|
|00006030| 6f 72 6d 61 74 20 6f 66 | 20 68 65 61 64 65 72 20 |ormat of| header |
|00006040| 66 69 6c 65 73 20 69 73 | 20 3a 0a 0a 23 69 66 6e |files is| :..#ifn|
|00006050| 64 65 66 20 47 55 41 52 | 44 0a 23 64 65 66 69 6e |def GUAR|D.#defin|
|00006060| 65 20 47 55 41 52 44 0a | 0a 23 69 6e 63 6c 75 64 |e GUARD.|.#includ|
|00006070| 65 20 3c 2e 2e 2e 3e 0a | 0a 3c 64 65 63 6c 61 72 |e <...>.|.<declar|
|00006080| 61 74 69 6f 6e 73 3e 0a | 0a 23 65 6e 64 69 66 0a |ations>.|.#endif.|
|00006090| 0a 54 68 69 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |.This sh|ould be |
|000060a0| 63 68 61 6e 67 65 64 20 | 74 6f 3a 0a 0a 23 69 66 |changed |to:..#if|
|000060b0| 6e 64 65 66 20 47 55 41 | 52 44 0a 23 64 65 66 69 |ndef GUA|RD.#defi|
|000060c0| 6e 65 20 47 55 41 52 44 | 0a 0a 23 69 6e 63 6c 75 |ne GUARD|..#inclu|
|000060d0| 64 65 20 3c 2e 2e 2e 3e | 0a 0a 23 69 66 64 65 66 |de <...>|..#ifdef|
|000060e0| 20 5f 5f 63 70 6c 75 73 | 70 6c 75 73 0a 65 78 74 | __cplus|plus.ext|
|000060f0| 65 72 6e 20 22 43 22 20 | 7b 0a 23 65 6e 64 69 66 |ern "C" |{.#endif|
|00006100| 0a 0a 3c 64 65 63 6c 61 | 72 61 74 69 6f 6e 73 3e |..<decla|rations>|
|00006110| 0a 0a 23 69 66 64 65 66 | 20 5f 5f 63 70 6c 75 73 |..#ifdef| __cplus|
|00006120| 70 6c 75 73 0a 20 20 20 | 20 20 20 20 20 7d 0a 23 |plus. | }.#|
|00006130| 65 6e 64 69 66 0a 0a 23 | 65 6e 64 69 66 0a 0a 0a |endif..#|endif...|
|00006140| 0a 20 20 20 20 20 20 20 | 20 0a 36 29 09 41 4d 55 |. | .6).AMU|
|00006150| 20 61 6e 64 20 6f 74 68 | 65 72 20 62 69 74 73 0a | and oth|er bits.|
|00006160| 09 7e 7e 7e 7e 7e 7e 7e | 7e 7e 7e 7e 7e 7e 7e 7e |.~~~~~~~|~~~~~~~~|
|00006170| 7e 7e 7e 0a 0a 47 43 43 | 20 77 6f 72 6b 73 20 71 |~~~..GCC| works q|
|00006180| 75 69 74 65 20 77 65 6c | 6c 20 77 69 74 68 20 41 |uite wel|l with A|
|00006190| 4d 55 2c 20 74 68 6f 75 | 67 68 20 74 68 65 72 65 |MU, thou|gh there|
|000061a0| 20 61 72 65 20 61 20 66 | 65 77 20 70 72 6f 62 6c | are a f|ew probl|
|000061b0| 65 6d 73 20 2d 20 41 4d | 55 20 64 6f 65 73 20 6e |ems - AM|U does n|
|000061c0| 6f 74 0a 70 72 6f 70 65 | 72 6c 79 20 68 61 6e 64 |ot.prope|rly hand|
|000061d0| 6c 65 20 74 68 65 20 27 | 2e 63 63 27 20 65 78 74 |le the '|.cc' ext|
|000061e0| 65 6e 73 69 6f 6e 2c 20 | 61 6e 64 20 69 6e 20 74 |ension, |and in t|
|000061f0| 68 65 20 64 65 70 65 6e | 64 65 6e 63 69 65 73 20 |he depen|dencies |
|00006200| 6c 69 73 74 73 2c 20 79 | 6f 75 20 68 61 76 65 0a |lists, y|ou have.|
|00006210| 74 6f 20 73 70 65 63 69 | 66 79 20 74 68 65 20 27 |to speci|fy the '|
|00006220| 63 63 27 20 61 73 20 61 | 20 70 72 65 66 69 78 20 |cc' as a| prefix |
|00006230| 2d 20 73 65 65 20 74 68 | 65 20 65 78 61 6d 70 6c |- see th|e exampl|
|00006240| 65 20 4d 61 6b 65 66 69 | 6c 65 2e 0a 0a 49 66 20 |e Makefi|le...If |
|00006250| 79 6f 75 20 61 72 65 20 | 64 6f 69 6e 67 20 73 65 |you are |doing se|
|00006260| 70 65 72 61 74 65 20 63 | 6f 6d 70 69 6c 61 74 69 |perate c|ompilati|
|00006270| 6f 6e 20 2f 20 6c 69 6e | 6b 20 73 74 61 67 65 73 |on / lin|k stages|
|00006280| 2c 20 74 68 65 72 65 20 | 61 72 65 20 74 77 6f 20 |, there |are two |
|00006290| 77 61 79 73 20 74 6f 20 | 64 6f 0a 74 68 65 20 6c |ways to |do.the l|
|000062a0| 69 6e 6b 69 6e 67 2e 20 | 59 6f 75 20 63 61 6e 20 |inking. |You can |
|000062b0| 65 69 74 68 65 72 20 6c | 65 74 20 47 43 43 20 77 |either l|et GCC w|
|000062c0| 6f 72 6b 20 69 74 20 6f | 75 74 2c 20 6f 72 20 75 |ork it o|ut, or u|
|000062d0| 73 65 20 74 68 65 20 4c | 44 20 70 72 6f 67 72 61 |se the L|D progra|
|000062e0| 6d 2e 0a 0a 54 6f 20 75 | 73 65 20 47 43 43 2c 20 |m...To u|se GCC, |
|000062f0| 61 6c 6c 20 6e 65 65 64 | 20 74 6f 20 74 79 70 65 |all need| to type|
|00006300| 20 69 73 0a 0a 09 67 63 | 63 20 2d 6f 20 3c 6f 75 | is...gc|c -o <ou|
|00006310| 74 70 75 74 2d 6e 61 6d | 65 3e 20 3c 66 69 6c 65 |tput-nam|e> <file|
|00006320| 31 3e 2e 6f 20 3c 66 69 | 6c 65 32 3e 2e 6f 20 2e |1>.o <fi|le2>.o .|
|00006330| 2e 2e 0a 0a 70 6f 73 73 | 69 62 6c 79 20 77 69 74 |....poss|ibly wit|
|00006340| 68 20 74 68 65 20 2d 6c | 63 2b 2b 20 73 77 69 74 |h the -l|c++ swit|
|00006350| 63 68 20 69 66 20 75 73 | 69 6e 67 20 69 6f 73 74 |ch if us|ing iost|
|00006360| 72 65 61 6d 73 2e 0a 0a | 41 6c 74 65 72 6e 61 74 |reams...|Alternat|
|00006370| 69 76 65 6c 79 2c 20 79 | 6f 75 20 63 61 6e 20 64 |ively, y|ou can d|
|00006380| 69 72 65 63 74 6c 79 20 | 75 73 65 20 74 68 65 20 |irectly |use the |
|00006390| 27 6c 64 27 20 63 6f 6d | 6d 61 6e 64 2e 20 54 68 |'ld' com|mand. Th|
|000063a0| 69 73 20 69 73 20 61 20 | 66 72 6f 6e 74 20 65 6e |is is a |front en|
|000063b0| 64 20 74 6f 0a 6c 69 6e | 6b 20 2f 20 44 72 6c 69 |d to.lin|k / Drli|
|000063c0| 6e 6b 20 77 68 69 63 68 | 20 63 6f 6e 76 65 72 74 |nk which| convert|
|000063d0| 73 20 74 68 65 20 27 2d | 4c 27 20 61 6e 64 20 27 |s the '-|L' and '|
|000063e0| 2d 6c 27 20 73 77 69 74 | 63 68 20 74 6f 20 74 68 |-l' swit|ch to th|
|000063f0| 65 20 66 6f 72 6d 61 74 | 20 72 65 71 75 69 72 65 |e format| require|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.