home *** CD-ROM | disk | FTP | other *** search
open in:
MacOS 8.1
|
Win98
|
DOS
browse contents |
view JSON data
|
view as text
This file was processed as: ArcFS Archive
(archive/arcFS).
Confidence | Program | Detection | Match Type | Support
|
---|
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 | fc 00 00 00 5c 01 00 00 |Archive.|....\...|
|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 52 69 73 63 4f 53 00 | 6f 67 00 00 ff ff ff ff |.RiscOS.|og......|
|00000070| 45 fd ff ff c5 73 c3 43 | 00 00 00 00 ff ff ff ff |E....s.C|........|
|00000080| d8 00 00 80 82 63 68 61 | 6e 67 65 64 2f 52 42 00 |.....cha|nged/RB.|
|00000090| 54 0f 00 00 44 ff ff ff | 01 90 12 c4 33 00 1e ac |T...D...|....3...|
|000000a0| 54 0f 00 00 24 00 00 00 | 82 63 68 61 6e 67 65 6c |T...$...|.changel|
|000000b0| 6f 67 00 00 a8 0e 00 00 | 44 ff ff ff 94 90 12 c4 |og......|D.......|
|000000c0| 33 00 c3 2f a8 0e 00 00 | 9c 0f 00 00 82 46 41 51 |3../....|.....FAQ|
|000000d0| 73 00 65 6c 6f 67 00 00 | e8 10 00 00 45 ff ff ff |s.elog..|....E...|
|000000e0| 37 ac 0c ee 03 00 6b 9b | e8 10 00 00 68 1e 00 00 |7.....k.|....h...|
|000000f0| 82 52 65 61 64 6d 65 2f | 52 42 00 00 08 5e 00 00 |.Readme/|RB...^..|
|00000100| 44 ff ff ff 4f 92 12 c4 | 33 00 13 0c 08 5e 00 00 |D...O...|3....^..|
|00000110| 74 2f 00 00 00 52 65 61 | 64 6d 65 2f 52 42 00 00 |t/...Rea|dme/RB..|
|00000120| 08 5e 00 00 44 ff ff ff | 4f 92 12 c4 33 0d 13 0c |.^..D...|O...3...|
|00000130| 28 2e 00 00 24 00 00 00 | 00 00 00 00 00 00 00 00 |(...$...|........|
|00000140| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000150| 00 00 00 00 00 00 00 00 | f8 01 00 00 46 69 6c 65 |........|....File|
|00000160| 44 61 74 61 82 63 68 61 | 6e 67 65 64 2f 52 42 00 |Data.cha|nged/RB.|
|00000170| 54 0f 00 00 44 ff ff ff | 01 90 12 c4 03 00 1e ac |T...D...|........|
|00000180| 57 68 61 74 20 68 61 73 | 20 63 68 61 6e 67 65 64 |What has| changed|
|00000190| 20 73 69 6e 63 65 20 66 | 69 72 73 74 20 72 65 6c | since f|irst rel|
|000001a0| 65 61 73 65 20 6f 66 20 | 67 63 63 20 32 2e 33 2e |ease of |gcc 2.3.|
|000001b0| 33 20 66 6f 72 20 52 49 | 53 43 2d 4f 53 20 28 73 |3 for RI|SC-OS (s|
|000001c0| 65 65 20 61 6c 73 6f 20 | 63 68 61 6e 67 65 6c 6f |ee also |changelo|
|000001d0| 67 29 0a 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |g).-----|--------|
|000001e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|000001f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000200| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000210| 0a 0a 0a 6f 76 65 72 61 | 6c 6c 0a 2d 2d 2d 2d 2d |...overa|ll.-----|
|00000220| 2d 2d 0a 0a 2d 20 6c 61 | 6e 67 75 61 67 65 20 63 |--..- la|nguage c|
|00000230| 68 61 6e 67 65 64 20 74 | 6f 20 45 6e 67 6c 69 73 |hanged t|o Englis|
|00000240| 68 20 28 73 6f 72 72 79 | 2c 20 47 65 72 6d 61 6e |h (sorry|, German|
|00000250| 20 73 70 65 61 6b 69 6e | 67 20 70 65 6f 70 6c 65 | speakin|g people|
|00000260| 20 3a 2d 29 29 0a 0a 0a | 0a 4c 69 6e 6b 65 72 0a | :-))...|.Linker.|
|00000270| 2d 2d 2d 2d 2d 2d 0a 0a | 2d 20 2d 2b 20 6f 70 74 |------..|- -+ opt|
|00000280| 69 6f 6e 20 66 69 78 65 | 64 20 28 77 6f 72 6b 73 |ion fixe|d (works|
|00000290| 20 6e 6f 77 20 77 69 74 | 68 20 66 70 72 69 6e 74 | now wit|h fprint|
|000002a0| 66 20 61 6e 64 20 74 68 | 65 20 6c 69 6b 65 20 74 |f and th|e like t|
|000002b0| 6f 6f 29 0a 2d 20 65 6e | 68 61 6e 63 65 64 20 73 |oo).- en|hanced s|
|000002c0| 70 65 65 64 0a 2d 20 6f | 70 74 69 6f 6e 20 2d 3d |peed.- o|ption -=|
|000002d0| 3c 6e 61 6d 65 3e 3d 3c | 76 61 6c 75 65 3e 20 61 |<name>=<|value> a|
|000002e0| 64 64 65 64 20 28 65 2e | 67 2e 20 79 6f 75 20 63 |dded (e.|g. you c|
|000002f0| 61 6e 20 64 65 66 69 6e | 65 20 73 79 6d 62 6f 6c |an defin|e symbol|
|00000300| 20 74 65 6e 0a 20 20 61 | 73 20 66 6f 6c 6c 6f 77 | ten. a|s follow|
|00000310| 73 3a 20 2d 3d 74 65 6e | 3d 31 30 29 0a 2d 20 73 |s: -=ten|=10).- s|
|00000320| 6f 6d 65 20 6d 69 6e 6f | 72 20 69 6e 74 65 72 6e |ome mino|r intern|
|00000330| 61 6c 20 6d 6f 64 69 66 | 69 63 61 74 69 6f 6e 73 |al modif|ications|
|00000340| 20 61 6e 64 20 62 75 67 | 20 66 69 78 65 73 0a 0a | and bug| fixes..|
|00000350| 0a 41 4f 46 63 6f 6e 76 | 65 72 74 0a 2d 2d 2d 2d |.AOFconv|ert.----|
|00000360| 2d 2d 2d 2d 2d 2d 0a 0a | 2d 20 64 6f 65 73 20 6e |------..|- does n|
|00000370| 6f 77 20 77 6f 72 6b 20 | 62 65 74 74 65 72 2e 20 |ow work |better. |
|00000380| 45 73 70 65 63 69 61 6c | 6c 79 20 74 68 65 72 65 |Especial|ly there|
|00000390| 20 61 72 65 20 6e 6f 20 | 6d 6f 72 65 20 64 6f 75 | are no |more dou|
|000003a0| 62 6c 65 20 64 65 66 69 | 6e 65 64 20 65 78 74 65 |ble defi|ned exte|
|000003b0| 72 6e 61 6c 28 73 29 0a | 20 20 43 24 24 43 6f 64 |rnal(s).| C$$Cod|
|000003c0| 65 20 2e 2e 2e 20 59 6f | 75 20 73 68 6f 75 6c 64 |e ... Yo|u should|
|000003d0| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 63 6f 6e 76 | be able| to conv|
|000003e0| 65 72 74 20 45 56 45 52 | 59 20 6c 69 62 72 61 72 |ert EVER|Y librar|
|000003f0| 79 20 77 69 74 68 6f 75 | 74 20 61 6e 79 20 73 6f |y withou|t any so|
|00000400| 75 72 63 65 20 66 69 6c | 65 0a 20 20 63 68 61 6e |urce fil|e. chan|
|00000410| 67 65 73 20 28 54 68 6f | 75 67 68 20 79 6f 75 20 |ges (Tho|ugh you |
|00000420| 6e 65 65 64 20 6e 6f 74 | 20 63 6f 6e 76 65 72 74 |need not| convert|
|00000430| 20 61 6e 79 20 6c 69 62 | 72 61 72 79 20 69 6e 20 | any lib|rary in |
|00000440| 66 75 74 75 72 65 29 2e | 0a 0a 0a 47 43 43 0a 2d |future).|...GCC.-|
|00000450| 2d 2d 0a 0a 2d 20 64 6f | 65 73 20 61 75 74 6f 6d |--..- do|es autom|
|00000460| 61 74 69 63 61 6c 6c 79 | 20 69 6e 76 6f 6b 65 20 |atically| invoke |
|00000470| 6c 69 6e 6b 65 72 20 28 | 69 66 20 6e 65 63 65 73 |linker (|if neces|
|00000480| 73 61 72 79 20 2d 20 2d | 63 20 6f 70 74 69 6f 6e |sary - -|c option|
|00000490| 20 6e 6f 74 20 73 70 65 | 63 69 66 69 65 64 29 3a | not spe|cified):|
|000004a0| 0a 20 20 6d 75 6c 69 6e | 6b 2f 6c 69 6e 6b 20 64 |. mulin|k/link d|
|000004b0| 65 70 65 6e 64 69 6e 67 | 20 6f 6e 20 77 65 74 68 |epending| on weth|
|000004c0| 65 72 20 6f 72 20 6e 6f | 74 20 79 6f 75 20 73 70 |er or no|t you sp|
|000004d0| 65 63 69 66 79 20 2d 61 | 6f 66 0a 2d 20 64 6f 65 |ecify -a|of.- doe|
|000004e0| 73 20 6f 75 74 70 75 74 | 20 61 6e 20 65 72 72 6f |s output| an erro|
|000004f0| 72 20 6d 65 73 73 61 67 | 65 20 69 66 20 6e 6f 74 |r messag|e if not|
|00000500| 20 65 6e 6f 75 67 68 20 | 6d 65 6d 6f 72 79 0a 2d | enough |memory.-|
|00000510| 20 6e 65 77 20 6f 70 74 | 69 6f 6e 3a 20 2d 61 6f | new opt|ion: -ao|
|00000520| 66 3a 20 75 73 65 20 61 | 6f 66 20 66 6f 72 6d 61 |f: use a|of forma|
|00000530| 74 20 66 6f 72 20 6f 62 | 6a 65 63 74 20 66 69 6c |t for ob|ject fil|
|00000540| 65 73 20 69 6e 73 74 65 | 61 64 20 6f 66 0a 20 20 |es inste|ad of. |
|00000550| 6d 75 70 72 6f 73 20 66 | 6f 72 6d 61 74 2e 20 52 |mupros f|ormat. R|
|00000560| 65 6d 65 6d 62 65 72 20 | 74 68 61 74 20 79 6f 75 |emember |that you|
|00000570| 20 61 62 73 6f 6c 75 74 | 65 6c 79 20 6d 75 73 74 | absolut|ely must|
|00000580| 20 6c 69 6e 6b 20 63 6c | 69 62 3a 6f 2e 67 63 63 | link cl|ib:o.gcc|
|00000590| 65 78 74 0a 20 20 69 66 | 20 75 73 69 6e 67 20 41 |ext. if| using A|
|000005a0| 4f 46 20 28 61 6e 64 20 | 2d 20 6f 66 20 63 6f 75 |OF (and |- of cou|
|000005b0| 72 73 65 20 2d 20 74 68 | 65 20 41 4f 46 20 6c 69 |rse - th|e AOF li|
|000005c0| 62 72 61 72 69 65 73 2f | 73 74 75 62 73 29 0a 2d |braries/|stubs).-|
|000005d0| 20 61 64 64 65 64 20 69 | 6e 69 74 69 61 6c 69 7a | added i|nitializ|
|000005e0| 61 74 69 6f 6e 20 28 63 | 6f 6e 73 74 72 75 63 74 |ation (c|onstruct|
|000005f0| 6f 72 20 63 61 6c 6c 73 | 29 20 6f 66 20 67 6c 6f |or calls|) of glo|
|00000600| 62 61 6c 20 6f 62 6a 65 | 63 74 73 2e 0a 20 20 63 |bal obje|cts.. c|
|00000610| 61 6c 6c 20 5f 69 6e 69 | 74 5f 67 6c 6f 62 61 6c |all _ini|t_global|
|00000620| 73 28 29 20 61 74 20 74 | 68 65 20 62 65 67 69 6e |s() at t|he begin|
|00000630| 6e 69 6e 67 20 6f 66 20 | 6d 61 69 6e 28 29 20 70 |ning of |main() p|
|00000640| 72 6f 63 65 64 75 72 65 | 0a 20 20 63 61 6c 6c 20 |rocedure|. call |
|00000650| 5f 6b 69 6c 6c 5f 67 6c | 6f 62 61 6c 73 28 29 20 |_kill_gl|obals() |
|00000660| 61 74 20 74 68 65 20 65 | 6e 64 20 6f 66 20 6d 61 |at the e|nd of ma|
|00000670| 69 6e 28 29 20 70 72 6f | 63 65 64 75 72 65 0a 20 |in() pro|cedure. |
|00000680| 20 28 64 6f 65 73 20 6e | 6f 74 20 77 6f 72 6b 20 | (does n|ot work |
|00000690| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 29 0a 2d |automati|cally).-|
|000006a0| 20 64 65 62 75 67 67 69 | 6e 67 3a 20 77 68 65 6e | debuggi|ng: when|
|000006b0| 20 2d 67 20 6f 70 74 69 | 6f 6e 20 69 73 20 73 70 | -g opti|on is sp|
|000006c0| 65 63 69 66 69 65 64 20 | 67 63 63 20 64 6f 65 73 |ecified |gcc does|
|000006d0| 20 69 6e 73 65 72 74 20 | 6c 69 6e 65 20 61 6e 64 | insert |line and|
|000006e0| 20 73 6f 75 72 63 65 20 | 66 69 6c 65 0a 20 20 69 | source |file. i|
|000006f0| 6e 66 6f 20 69 6e 74 6f | 20 6f 62 6a 65 63 74 20 |nfo into| object |
|00000700| 66 69 6c 65 73 2e 20 54 | 68 69 73 20 61 6c 6c 6f |files. T|his allo|
|00000710| 77 73 20 72 65 73 74 72 | 69 63 74 65 64 20 73 6f |ws restr|icted so|
|00000720| 75 72 63 65 20 6c 65 76 | 65 6c 20 64 65 62 75 67 |urce lev|el debug|
|00000730| 67 69 6e 67 20 77 69 74 | 68 0a 20 20 41 53 44 20 |ging wit|h. ASD |
|00000740| 28 74 68 65 72 65 20 69 | 73 20 4e 4f 20 69 6e 66 |(there i|s NO inf|
|00000750| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 70 |ormation| about p|
|00000760| 72 6f 63 65 64 75 72 65 | 73 2c 20 76 61 72 69 61 |rocedure|s, varia|
|00000770| 62 6c 65 73 20 61 6e 64 | 20 74 68 65 20 6c 69 6b |bles and| the lik|
|00000780| 65 29 2e 0a 20 20 44 44 | 54 20 44 4f 45 53 20 4e |e).. DD|T DOES N|
|00000790| 4f 54 20 41 43 43 45 50 | 54 20 4c 49 4e 45 20 49 |OT ACCEP|T LINE I|
|000007a0| 4e 46 4f 52 4d 41 54 49 | 4f 4e 20 49 4e 53 45 52 |NFORMATI|ON INSER|
|000007b0| 54 45 44 20 42 59 20 47 | 43 43 20 28 77 69 74 68 |TED BY G|CC (with|
|000007c0| 20 73 6f 6d 65 20 65 78 | 63 65 70 74 69 6f 6e 73 | some ex|ceptions|
|000007d0| 29 0a 2d 20 6f 70 74 69 | 6f 6e 20 6a 75 73 74 2d |).- opti|on just-|
|000007e0| 73 68 6f 77 3a 20 73 68 | 6f 77 73 20 74 68 65 20 |show: sh|ows the |
|000007f0| 63 6f 6d 6d 61 6e 64 73 | 20 67 63 63 20 77 6f 75 |commands| gcc wou|
|00000800| 6c 64 20 69 6e 76 6f 6b | 65 20 69 66 20 6f 70 74 |ld invok|e if opt|
|00000810| 69 6f 6e 20 77 65 72 65 | 20 6e 6f 74 0a 20 20 67 |ion were| not. g|
|00000820| 69 76 65 6e 20 28 6a 75 | 73 74 20 74 68 65 20 63 |iven (ju|st the c|
|00000830| 6f 6d 6d 61 6e 64 73 20 | 69 6e 20 6f 70 70 6f 73 |ommands |in oppos|
|00000840| 69 74 69 6f 6e 20 74 6f | 20 2d 76 29 0a 2d 20 27 |ition to| -v).- '|
|00000850| 52 65 6c 6f 63 61 74 69 | 6f 6e 20 65 72 72 6f 72 |Relocati|on error|
|00000860| 2e 2e 2e 27 20 66 69 78 | 65 64 0a 2d 20 65 72 72 |...' fix|ed.- err|
|00000870| 6f 72 20 69 6e 20 66 6c | 6f 61 74 69 6e 67 20 70 |or in fl|oating p|
|00000880| 6f 69 6e 74 20 73 79 73 | 2e 20 66 69 78 65 64 20 |oint sys|. fixed |
|00000890| 28 65 2e 67 2e 20 31 2e | 30 2d 28 64 6f 75 62 6c |(e.g. 1.|0-(doubl|
|000008a0| 65 29 62 6c 61 20 64 69 | 64 20 70 72 6f 64 75 63 |e)bla di|d produc|
|000008b0| 65 20 61 20 6c 69 6e 65 | 0a 20 20 6f 66 20 6e 6f |e a line|. of no|
|000008c0| 6e 73 65 6e 73 65 20 69 | 6e 20 61 73 73 65 6d 62 |nsense i|n assemb|
|000008d0| 6c 65 72 20 66 69 6c 65 | 29 0a 2d 20 61 20 66 65 |ler file|).- a fe|
|000008e0| 77 20 69 6e 74 65 72 6e | 61 6c 20 6d 6f 64 69 66 |w intern|al modif|
|000008f0| 69 63 61 74 69 6f 6e 73 | 0a 0a 0a 0a 41 73 73 65 |ications|....Asse|
|00000900| 6d 62 6c 65 72 0a 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |mbler.--|-------.|
|00000910| 0a 2d 20 6e 65 77 20 64 | 69 72 65 63 74 69 76 65 |.- new d|irective|
|00000920| 73 3a 0a 0a 20 20 2e 69 | 6e 69 74 20 3c 73 79 6d |s:.. .i|nit <sym|
|00000930| 62 6f 6c 3e 20 20 20 20 | 20 69 6e 73 65 72 74 20 |bol> | insert |
|00000940| 61 20 63 6f 6e 73 74 72 | 75 63 74 6f 72 20 69 6e |a constr|uctor in|
|00000950| 74 6f 20 69 6e 69 74 20 | 61 72 65 61 0a 20 20 20 |to init |area. |
|00000960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000970| 20 20 28 69 6e 69 74 20 | 61 72 65 61 20 69 73 20 | (init |area is |
|00000980| 73 63 61 6e 6e 65 64 20 | 62 79 20 5f 69 6e 69 74 |scanned |by _init|
|00000990| 5f 67 6c 6f 62 61 6c 73 | 28 29 2f 5f 6b 69 6c 6c |_globals|()/_kill|
|000009a0| 5f 67 6c 6f 62 61 6c 73 | 28 29 29 0a 20 20 2e 6b |_globals|()). .k|
|000009b0| 69 6c 6c 20 3c 73 79 6d | 62 6f 6c 3e 20 20 20 20 |ill <sym|bol> |
|000009c0| 20 69 6e 73 65 72 74 20 | 61 20 64 65 73 74 72 75 | insert |a destru|
|000009d0| 63 74 6f 72 20 69 6e 74 | 6f 20 69 6e 69 74 20 61 |ctor int|o init a|
|000009e0| 72 65 61 0a 20 20 2e 66 | 69 6c 65 20 3c 66 69 6c |rea. .f|ile <fil|
|000009f0| 65 6e 61 6d 65 3e 20 20 | 20 73 70 65 63 69 66 69 |ename> | specifi|
|00000a00| 65 73 20 74 68 65 20 73 | 6f 75 72 63 65 20 66 69 |es the s|ource fi|
|00000a10| 6c 65 20 6e 61 6d 65 20 | 28 2d 3e 20 73 6f 75 72 |le name |(-> sour|
|00000a20| 63 65 20 6c 65 76 65 6c | 20 64 65 62 75 67 67 69 |ce level| debuggi|
|00000a30| 6e 67 29 0a 20 20 2e 6c | 69 6e 65 20 3c 6c 69 6e |ng). .l|ine <lin|
|00000a40| 65 6e 75 6d 62 65 72 3e | 20 73 70 65 63 69 66 69 |enumber>| specifi|
|00000a50| 65 73 20 74 68 65 20 73 | 6f 75 72 63 65 20 66 69 |es the s|ource fi|
|00000a60| 6c 65 20 6e 75 6d 62 65 | 72 20 28 64 74 6f 2e 29 |le numbe|r (dto.)|
|00000a70| 0a 20 20 2e 66 72 61 67 | 20 20 20 20 20 20 20 20 |. .frag| |
|00000a80| 20 20 20 20 20 20 62 65 | 67 69 6e 20 6e 65 77 20 | be|gin new |
|00000a90| 6c 69 6e 65 20 69 6e 66 | 6f 20 66 72 61 67 6d 65 |line inf|o fragme|
|00000aa0| 6e 74 20 28 73 68 6f 75 | 6c 64 20 6e 6f 74 20 62 |nt (shou|ld not b|
|00000ab0| 65 20 75 73 65 64 29 0a | 20 20 2e 6f 62 6c 69 67 |e used).| .oblig|
|00000ac0| 61 74 6f 72 79 20 20 20 | 20 20 20 20 20 74 6f 20 |atory | to |
|00000ad0| 6d 61 6b 65 20 74 68 65 | 20 63 75 72 72 65 6e 74 |make the| current|
|00000ae0| 6c 79 20 61 73 73 65 6d | 62 6c 65 64 20 61 72 65 |ly assem|bled are|
|00000af0| 61 20 61 6e 20 27 6f 62 | 6c 69 67 61 74 6f 72 79 |a an 'ob|ligatory|
|00000b00| 20 6c 69 6e 6b 20 61 72 | 65 61 27 0a 20 20 20 20 | link ar|ea'. |
|00000b10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000b20| 20 28 64 6f 65 73 20 6e | 6f 74 20 77 6f 72 6b 20 | (does n|ot work |
|00000b30| 77 69 74 68 20 41 4f 46 | 29 0a 20 20 2e 6f 70 74 |with AOF|). .opt|
|00000b40| 69 6f 6e 61 6c 6c 79 20 | 20 20 20 20 20 20 20 74 |ionally | t|
|00000b50| 6f 20 6d 61 6b 65 20 74 | 68 65 20 63 75 72 72 65 |o make t|he curre|
|00000b60| 6e 74 6c 79 20 61 73 73 | 65 6d 62 6c 65 64 20 61 |ntly ass|embled a|
|00000b70| 72 65 61 20 61 6e 20 27 | 6f 70 74 69 6f 6e 61 6c |rea an '|optional|
|00000b80| 6c 79 20 6c 69 6e 6b 20 | 61 72 65 61 27 0a 20 20 |ly link |area'. |
|00000b90| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00000ba0| 20 20 20 28 64 6f 65 73 | 20 6e 6f 74 20 77 6f 72 | (does| not wor|
|00000bb0| 6b 20 77 69 74 68 20 41 | 4f 46 29 0a 20 20 2e 69 |k with A|OF). .i|
|00000bc0| 67 6e 6f 72 65 6c 69 6e | 65 20 20 20 20 20 20 20 |gnorelin|e |
|00000bd0| 20 69 67 6e 6f 72 65 20 | 2e 6c 69 6e 65 20 64 69 | ignore |.line di|
|00000be0| 72 65 63 74 69 76 65 73 | 0a 20 20 2e 72 65 73 75 |rectives|. .resu|
|00000bf0| 6d 65 6c 69 6e 65 20 20 | 20 20 20 20 20 20 73 65 |meline | se|
|00000c00| 6c 66 20 65 78 70 6c 61 | 69 6e 69 6e 67 0a 0a 2d |lf expla|ining..-|
|00000c10| 20 2d 64 20 6f 70 74 69 | 6f 6e 20 61 64 64 65 64 | -d opti|on added|
|00000c20| 2e 20 69 66 20 2d 64 20 | 6f 70 74 69 6f 6e 20 73 |. if -d |option s|
|00000c30| 70 65 63 69 66 69 65 64 | 20 61 73 20 63 72 65 61 |pecified| as crea|
|00000c40| 74 65 73 20 61 20 64 65 | 62 75 67 20 61 72 65 61 |tes a de|bug area|
|00000c50| 20 63 6f 6e 74 61 69 6e | 69 6e 67 20 74 68 65 0a | contain|ing the.|
|00000c60| 20 20 73 6f 75 72 63 65 | 20 6c 65 76 65 6c 20 64 | source| level d|
|00000c70| 65 62 75 67 67 69 6e 67 | 20 64 61 74 61 20 69 6e |ebugging| data in|
|00000c80| 73 65 72 74 65 64 20 62 | 79 20 2e 66 69 6c 65 2c |serted b|y .file,|
|00000c90| 20 2e 6c 69 6e 65 2c 20 | 2e 66 72 61 67 0a 20 20 | .line, |.frag. |
|00000ca0| 69 66 20 2d 64 20 6f 70 | 74 69 6f 6e 20 69 73 20 |if -d op|tion is |
|00000cb0| 6e 6f 74 20 73 70 65 63 | 69 66 69 65 64 20 74 68 |not spec|ified th|
|00000cc0| 65 73 65 20 63 6f 6d 6d | 61 6e 64 73 20 61 72 65 |ese comm|ands are|
|00000cd0| 20 69 67 6e 6f 72 65 64 | 0a 2d 20 2d 41 20 6f 70 | ignored|.- -A op|
|00000ce0| 74 69 6f 6e 20 61 64 64 | 65 64 20 28 6d 61 6b 65 |tion add|ed (make|
|00000cf0| 73 20 61 73 73 65 6d 62 | 6c 65 72 20 6f 75 74 70 |s assemb|ler outp|
|00000d00| 75 74 20 74 68 65 20 6f | 62 6a 65 63 74 20 66 69 |ut the o|bject fi|
|00000d10| 6c 65 20 69 6e 20 41 4f | 46 20 66 6f 72 6d 61 74 |le in AO|F format|
|00000d20| 29 0a 2d 20 76 61 72 69 | 6f 75 73 20 62 75 67 20 |).- vari|ous bug |
|00000d30| 66 69 78 65 73 20 28 73 | 75 63 68 20 61 73 20 74 |fixes (s|uch as t|
|00000d40| 68 65 20 27 6c 64 72 2f | 73 74 72 20 66 72 6f 6d |he 'ldr/|str from|
|00000d50| 2f 74 6f 20 61 6e 20 75 | 6e 61 6c 69 67 6e 65 64 |/to an u|naligned|
|00000d60| 20 61 64 64 72 65 73 73 | 27 20 65 72 72 6f 72 20 | address|' error |
|00000d70| 77 68 69 63 68 0a 20 20 | 69 73 20 69 6e 20 66 61 |which. |is in fa|
|00000d80| 63 74 20 6e 6f 74 20 61 | 6e 20 65 72 72 6f 72 29 |ct not a|n error)|
|00000d90| 0a 2d 20 68 61 6e 64 6c | 69 6e 67 20 6f 66 20 6c |.- handl|ing of l|
|00000da0| 6f 63 61 6c 20 6c 61 62 | 65 6c 73 20 66 69 78 65 |ocal lab|els fixe|
|00000db0| 64 2e 20 41 73 20 64 69 | 64 20 74 72 65 61 74 20 |d. As di|d treat |
|00000dc0| 65 76 65 72 79 20 6c 61 | 62 65 6c 20 62 65 67 69 |every la|bel begi|
|00000dd0| 6e 6e 69 6e 67 20 77 69 | 74 68 20 27 4c 27 20 74 |nning wi|th 'L' t|
|00000de0| 72 65 61 74 0a 20 20 61 | 73 20 6c 6f 63 61 6c 20 |reat. a|s local |
|00000df0| 6c 61 62 65 6c 20 65 76 | 65 6e 20 69 66 20 69 74 |label ev|en if it|
|00000e00| 20 77 61 73 20 6f 62 76 | 69 6f 75 73 6c 79 20 6e | was obv|iously n|
|00000e10| 6f 74 20 28 2e 67 6c 6f | 62 61 6c 20 4c 2e 2e 2e |ot (.glo|bal L...|
|00000e20| 29 2e 0a 2d 20 64 6f 65 | 73 20 6f 75 74 70 75 74 |)..- doe|s output|
|00000e30| 20 73 65 70 61 72 61 74 | 65 64 20 63 6f 64 65 20 | separat|ed code |
|00000e40| 61 6e 64 20 64 61 74 61 | 20 61 72 65 61 73 20 28 |and data| areas (|
|00000e50| 41 4f 46 20 66 6f 72 6d | 61 74 20 6f 6e 6c 79 29 |AOF form|at only)|
|00000e60| 0a 0a 0a 0a 6c 69 62 72 | 61 72 69 65 73 0a 2d 2d |....libr|aries.--|
|00000e70| 2d 2d 2d 2d 2d 2d 2d 0a | 0a 2d 20 5f 5f 66 69 78 |-------.|.- __fix|
|00000e80| 73 66 73 69 20 61 6e 64 | 20 5f 5f 66 69 78 64 66 |sfsi and| __fixdf|
|00000e90| 73 69 20 61 64 64 65 64 | 20 74 6f 20 73 74 75 62 |si added| to stub|
|00000ea0| 73 6d 75 28 6d 75 70 72 | 6f 73 29 2f 67 63 63 65 |smu(mupr|os)/gcce|
|00000eb0| 78 74 28 41 4f 46 29 0a | 2d 20 78 66 65 72 73 65 |xt(AOF).|- xferse|
|00000ec0| 6e 64 20 72 65 70 6c 61 | 63 65 64 20 28 73 6f 6c |nd repla|ced (sol|
|00000ed0| 69 64 20 73 70 72 69 74 | 65 20 64 72 61 67 67 69 |id sprit|e draggi|
|00000ee0| 6e 67 29 2e 20 41 4f 46 | 20 75 73 65 72 73 20 68 |ng). AOF| users h|
|00000ef0| 61 76 65 20 74 6f 20 72 | 65 70 6c 61 63 65 20 69 |ave to r|eplace i|
|00000f00| 74 20 69 6e 0a 20 20 52 | 49 53 43 5f 4f 53 4c 49 |t in. R|ISC_OSLI|
|00000f10| 42 20 6d 61 6e 75 61 6c | 6c 79 20 28 75 73 65 20 |B manual|ly (use |
|00000f20| 6c 69 62 66 69 6c 65 29 | 0a 2d 20 73 6f 6d 65 20 |libfile)|.- some |
|00000f30| 77 69 6d 70 20 63 6c 61 | 73 73 65 73 20 63 72 65 |wimp cla|sses cre|
|00000f40| 61 74 65 64 20 28 74 65 | 73 74 20 76 65 72 73 69 |ated (te|st versi|
|00000f50| 6f 6e 21 29 2e 20 48 61 | 76 65 20 61 20 6c 6f 6f |on!). Ha|ve a loo|
|00000f60| 6b 20 61 74 20 21 73 62 | 63 6f 6e 66 69 67 20 74 |k at !sb|config t|
|00000f70| 6f 20 73 65 65 0a 20 20 | 68 6f 77 20 74 68 65 79 |o see. |how they|
|00000f80| 20 61 72 65 20 75 73 65 | 64 0a 2d 20 41 49 46 20 | are use|d.- AIF |
|00000f90| 68 65 61 64 65 72 20 61 | 64 64 65 64 20 74 6f 20 |header a|dded to |
|00000fa0| 73 74 75 62 73 6d 75 20 | 28 64 6f 65 73 20 6e 6f |stubsmu |(does no|
|00000fb0| 74 20 74 6f 75 63 68 20 | 41 4f 46 20 75 73 65 72 |t touch |AOF user|
|00000fc0| 73 29 0a 2d 20 69 6e 69 | 74 20 61 72 65 61 20 68 |s).- ini|t area h|
|00000fd0| 61 6e 64 6c 65 72 73 20 | 61 64 64 65 64 20 74 6f |andlers |added to|
|00000fe0| 20 73 74 75 62 73 6d 75 | 2f 67 63 63 65 78 74 0a | stubsmu|/gccext.|
|00000ff0| 2d 20 27 64 69 76 2d 66 | 61 73 74 27 20 63 6f 64 |- 'div-f|ast' cod|
|00001000| 65 20 72 65 6d 6f 76 65 | 64 2e 20 73 74 75 62 73 |e remove|d. stubs|
|00001010| 20 78 24 64 69 76 69 64 | 65 20 69 73 20 66 61 73 | x$divid|e is fas|
|00001020| 74 65 72 21 0a 2d 20 74 | 68 61 6e 6b 73 20 74 6f |ter!.- t|hanks to|
|00001030| 20 46 65 72 64 69 6e 61 | 6e 64 20 4f 65 69 6e 63 | Ferdina|nd Oeinc|
|00001040| 6b 20 74 68 65 20 27 69 | 6f 73 74 72 65 61 6d 27 |k the 'i|ostream'|
|00001050| 20 70 61 72 74 20 6f 66 | 20 74 68 65 20 6c 69 62 | part of| the lib|
|00001060| 67 2b 2b 0a 20 20 6c 69 | 62 72 61 72 79 20 69 73 |g++. li|brary is|
|00001070| 20 69 6e 63 6c 75 64 65 | 64 0a 0a 0a 0a 54 68 6f | include|d....Tho|
|00001080| 6d 61 73 20 41 65 62 79 | 0a 47 72 61 65 66 66 65 |mas Aeby|.Graeffe|
|00001090| 74 20 34 30 36 0a 31 37 | 33 35 20 47 69 66 66 65 |t 406.17|35 Giffe|
|000010a0| 72 73 0a 54 65 6c 2e 3a | 20 30 33 37 20 33 38 20 |rs.Tel.:| 037 38 |
|000010b0| 31 36 20 30 30 0a 45 4d | 61 69 6c 3a 20 61 65 62 |16 00.EM|ail: aeb|
|000010c0| 79 40 75 72 6f 70 61 78 | 2e 63 6f 6e 74 72 69 62 |y@uropax|.contrib|
|000010d0| 2e 64 65 0a 46 69 6c 65 | 44 61 74 61 82 63 68 61 |.de.File|Data.cha|
|000010e0| 6e 67 65 6c 6f 67 00 00 | a8 0e 00 00 44 ff ff ff |ngelog..|....D...|
|000010f0| 94 90 12 c4 03 00 c3 2f | 43 68 61 6e 67 65 6c 6f |......./|Changelo|
|00001100| 67 20 28 52 49 53 43 2d | 4f 53 20 56 65 72 73 69 |g (RISC-|OS Versi|
|00001110| 6f 6e 29 0a 2d 2d 2d 2d | 2d 2d 2d 2d 2d 0a 0a 0a |on).----|-----...|
|00001120| 2e 2e 2e 0a 0a 20 20 32 | 39 2e 30 35 2e 39 33 20 |..... 2|9.05.93 |
|00001130| 28 54 68 6f 6d 61 73 20 | 41 65 62 79 29 20 6d 75 |(Thomas |Aeby) mu|
|00001140| 6c 69 6e 6b 2e 63 3a 20 | 2d 2b 20 6f 70 74 69 6f |link.c: |-+ optio|
|00001150| 6e 20 66 69 78 65 64 0a | 0a 20 20 32 39 2e 30 35 |n fixed.|. 29.05|
|00001160| 2e 39 33 20 28 54 68 6f | 6d 61 73 20 41 65 62 79 |.93 (Tho|mas Aeby|
|00001170| 29 20 72 69 73 63 5f 6f | 73 6c 69 62 2f 77 69 6d |) risc_o|slib/wim|
|00001180| 70 63 6c 61 73 73 3a 20 | 78 66 65 72 73 65 6e 64 |pclass: |xfersend|
|00001190| 20 6d 6f 64 69 66 69 65 | 64 20 28 73 6f 6c 69 64 | modifie|d (solid|
|000011a0| 20 73 70 72 69 74 65 20 | 64 72 61 67 67 69 6e 67 | sprite |dragging|
|000011b0| 29 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |). | |
|000011c0| 20 20 20 20 20 20 20 20 | 20 20 20 61 6e 64 20 6d | | and m|
|000011d0| 6f 76 65 64 20 74 6f 20 | 77 69 6d 70 63 6c 61 73 |oved to |wimpclas|
|000011e0| 73 20 74 6f 20 6b 65 65 | 70 20 6f 73 6c 69 62 5f |s to kee|p oslib_|
|000011f0| 6d 75 20 66 72 65 65 20 | 6f 66 20 6d 6f 64 69 66 |mu free |of modif|
|00001200| 69 65 64 20 63 6f 64 65 | 2c 0a 20 20 20 20 20 20 |ied code|,. |
|00001210| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001220| 20 20 20 64 62 6f 78 2a | 20 72 65 6d 6f 76 65 64 | dbox*| removed|
|00001230| 20 66 72 6f 6d 20 72 69 | 73 63 5f 6f 73 6c 69 62 | from ri|sc_oslib|
|00001240| 0a 0a 20 20 30 31 2e 30 | 36 2e 39 33 20 28 54 68 |.. 01.0|6.93 (Th|
|00001250| 6f 6d 61 73 20 41 65 62 | 79 29 20 77 69 6e 64 6f |omas Aeb|y) windo|
|00001260| 77 3a 3a 63 72 65 61 74 | 65 20 66 69 78 65 64 3a |w::creat|e fixed:|
|00001270| 20 41 64 64 69 74 69 6f | 6e 61 6c 20 74 65 6d 70 | Additio|nal temp|
|00001280| 6c 61 74 65 5f 63 6f 70 | 79 2e 0a 20 20 20 20 20 |late_cop|y.. |
|00001290| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000012a0| 20 20 20 20 77 69 6e 64 | 6f 77 3a 3a 7e 77 69 6e | wind|ow::~win|
|000012b0| 64 6f 77 3a 20 66 72 65 | 65 20 74 65 6d 70 6c 61 |dow: fre|e templa|
|000012c0| 74 65 5f 73 74 72 20 61 | 6e 64 20 77 6f 72 6b 73 |te_str a|nd works|
|000012d0| 70 61 63 65 0a 0a 20 20 | 30 38 2e 30 36 2e 39 33 |pace.. |08.06.93|
|000012e0| 20 28 54 68 6f 6d 61 73 | 20 41 65 62 79 29 20 6d | (Thomas| Aeby) m|
|000012f0| 75 6c 69 6e 6b 3a 20 62 | 69 6e 61 72 79 20 73 65 |ulink: b|inary se|
|00001300| 61 72 63 68 20 66 6f 72 | 20 72 65 73 6f 6c 76 69 |arch for| resolvi|
|00001310| 6e 67 20 72 65 66 65 72 | 65 6e 63 65 73 20 61 64 |ng refer|ences ad|
|00001320| 64 65 64 20 28 73 70 65 | 65 64 29 3b 0a 20 20 20 |ded (spe|ed);. |
|00001330| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001340| 20 20 20 20 20 20 68 61 | 76 69 6e 67 20 6d 75 6c | ha|ving mul|
|00001350| 74 69 70 6c 65 20 70 75 | 62 6c 69 63 73 20 6f 66 |tiple pu|blics of|
|00001360| 20 74 68 65 20 73 61 6d | 65 20 6e 61 6d 65 20 62 | the sam|e name b|
|00001370| 75 74 20 6f 66 20 64 69 | 66 66 65 72 65 6e 74 20 |ut of di|fferent |
|00001380| 74 79 70 65 73 0a 20 20 | 20 20 20 20 20 20 20 20 |types. | |
|00001390| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|000013a0| 73 20 6e 6f 20 6c 6f 6e | 67 65 72 20 6c 65 67 61 |s no lon|ger lega|
|000013b0| 6c 0a 0a 20 20 31 30 2e | 30 36 2e 39 33 20 28 54 |l.. 10.|06.93 (T|
|000013c0| 68 6f 6d 61 73 20 41 65 | 62 79 29 20 6d 75 6c 69 |homas Ae|by) muli|
|000013d0| 6e 6b 3a 20 2d 6f 20 4f | 70 74 69 6f 6e 3a 20 61 |nk: -o O|ption: a|
|000013e0| 20 73 70 61 63 65 20 62 | 65 74 77 65 65 6e 20 2d | space b|etween -|
|000013f0| 6f 20 61 6e 64 20 74 68 | 65 20 6f 75 74 70 75 74 |o and th|e output|
|00001400| 20 66 69 6c 65 20 6e 61 | 6d 65 0a 20 20 20 20 20 | file na|me. |
|00001410| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001420| 20 20 20 20 69 73 20 6c | 65 67 61 6c 20 6e 6f 77 | is l|egal now|
|00001430| 0a 0a 20 20 31 30 2e 30 | 36 2e 39 33 20 28 54 68 |.. 10.0|6.93 (Th|
|00001440| 6f 6d 61 73 20 41 65 62 | 79 29 20 47 43 43 20 28 |omas Aeb|y) GCC (|
|00001450| 6c 69 6e 6b 5f 63 6f 6d | 6d 61 6e 64 5f 73 70 65 |link_com|mand_spe|
|00001460| 63 29 20 6d 6f 64 69 66 | 69 65 64 3a 20 47 43 43 |c) modif|ied: GCC|
|00001470| 20 69 73 20 61 62 6c 65 | 20 74 6f 20 69 6e 76 6f | is able| to invo|
|00001480| 6b 65 20 6d 75 6c 69 6e | 6b 0a 20 20 20 20 20 20 |ke mulin|k. |
|00001490| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000014a0| 20 20 20 61 75 74 6f 6d | 61 74 69 63 61 6c 6c 79 | autom|atically|
|000014b0| 20 6e 6f 77 0a 0a 20 20 | 31 33 2e 30 36 2e 39 33 | now.. |13.06.93|
|000014c0| 20 28 54 68 6f 6d 61 73 | 20 41 65 62 79 29 20 61 | (Thomas| Aeby) a|
|000014d0| 73 3a 20 66 69 6c 65 20 | 74 63 2d 61 72 6d 2e 63 |s: file |tc-arm.c|
|000014e0| 3a 20 2e 2e 2e 20 61 73 | 5f 62 61 64 28 20 22 6c |: ... as|_bad( "l|
|000014f0| 64 72 2f 73 74 72 20 66 | 72 6f 6d 2f 74 6f 20 61 |dr/str f|rom/to a|
|00001500| 6e 20 75 6e 61 6c 69 67 | 6e 65 64 20 61 64 64 72 |n unalig|ned addr|
|00001510| 65 73 73 22 20 29 0a 20 | 20 20 20 20 20 20 20 20 |ess" ). | |
|00001520| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001530| 72 65 6d 6f 76 65 64 2e | 0a 0a 31 33 2e 30 36 2e |removed.|..13.06.|
|00001540| 39 33 20 52 65 76 20 41 | 3a 20 6d 75 6c 69 6e 6b |93 Rev A|: mulink|
|00001550| 2c 20 67 63 63 2c 20 77 | 69 6d 70 63 6c 61 73 73 |, gcc, w|impclass|
|00001560| 2c 20 6d 61 6b 65 6c 69 | 62 73 0a 0a 20 20 31 33 |, makeli|bs.. 13|
|00001570| 2e 30 36 2e 39 33 20 28 | 54 68 6f 6d 61 73 20 41 |.06.93 (|Thomas A|
|00001580| 65 62 79 29 20 6d 75 6c | 69 6e 6b 3a 20 61 64 64 |eby) mul|ink: add|
|00001590| 69 74 69 6f 6e 61 6c 20 | 6f 70 74 69 6f 6e 20 2d |itional |option -|
|000015a0| 3d 3c 6e 61 6d 65 3e 3d | 3c 76 61 6c 75 65 3e 20 |=<name>=|<value> |
|000015b0| 74 6f 20 6d 61 6b 65 20 | 6d 75 6c 69 6e 6b 20 70 |to make |mulink p|
|000015c0| 72 6f 64 75 63 65 0a 20 | 20 20 20 20 20 20 20 20 |roduce. | |
|000015d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000015e0| 61 20 73 79 6d 62 6f 6c | 20 3c 6e 61 6d 65 3e 20 |a symbol| <name> |
|000015f0| 77 69 74 68 20 6e 75 6d | 65 72 69 63 20 76 61 6c |with num|eric val|
|00001600| 75 65 20 3c 76 61 6c 75 | 65 3e 0a 0a 20 20 32 30 |ue <valu|e>.. 20|
|00001610| 2e 30 36 2e 39 33 20 28 | 46 65 72 64 69 6e 61 6e |.06.93 (|Ferdinan|
|00001620| 64 20 4f 65 69 6e 63 6b | 29 20 64 69 76 5f 66 61 |d Oeinck|) div_fa|
|00001630| 73 74 20 28 73 74 75 62 | 73 6d 75 29 3a 20 66 75 |st (stub|smu): fu|
|00001640| 6e 63 74 69 6f 6e 20 5f | 5f 66 69 78 64 66 73 69 |nction _|_fixdfsi|
|00001650| 20 61 64 64 65 64 0a 0a | 20 20 32 30 2e 30 36 2e | added..| 20.06.|
|00001660| 39 33 20 28 54 68 6f 6d | 61 73 20 41 65 62 79 29 |93 (Thom|as Aeby)|
|00001670| 20 67 63 63 2e 63 3a 20 | 6f 70 74 69 6f 6e 20 2d | gcc.c: |option -|
|00001680| 6a 75 73 74 2d 73 68 6f | 77 20 61 64 64 65 64 20 |just-sho|w added |
|00001690| 28 73 68 6f 77 73 20 77 | 68 69 63 68 20 63 6f 6d |(shows w|hich com|
|000016a0| 6d 61 6e 64 73 20 77 6f | 75 6c 64 20 62 65 0a 20 |mands wo|uld be. |
|000016b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000016c0| 20 20 20 20 20 20 20 20 | 65 78 65 63 75 74 65 64 | |executed|
|000016d0| 20 69 66 20 2d 6a 75 73 | 74 2d 73 68 6f 77 20 77 | if -jus|t-show w|
|000016e0| 65 72 65 20 6e 6f 74 20 | 67 69 76 65 6e 0a 0a 20 |ere not |given.. |
|000016f0| 20 32 38 2e 30 36 2e 39 | 33 20 28 54 68 6f 6d 61 | 28.06.9|3 (Thoma|
|00001700| 73 20 41 65 62 79 29 20 | 41 4f 46 63 6f 6e 76 65 |s Aeby) |AOFconve|
|00001710| 72 74 3a 20 43 6f 6d 6d | 6f 6e 20 61 72 65 61 20 |rt: Comm|on area |
|00001720| 68 61 6e 64 6c 69 6e 67 | 20 66 69 78 65 64 2e 20 |handling| fixed. |
|00001730| 4e 6f 20 6d 6f 72 65 20 | 27 64 6f 75 62 6c 65 20 |No more |'double |
|00001740| 64 65 66 69 6e 65 64 20 | 70 75 62 6c 69 63 73 0a |defined |publics.|
|00001750| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001760| 20 20 20 20 20 20 20 20 | 20 43 24 24 43 6f 64 65 | | C$$Code|
|00001770| 20 61 6e 64 20 43 24 24 | 44 61 74 61 27 20 28 66 | and C$$|Data' (f|
|00001780| 75 6e 63 74 69 6f 6e 73 | 20 70 75 74 5f 61 72 65 |unctions| put_are|
|00001790| 61 2c 20 68 61 6e 64 6c | 65 5f 6c 6f 63 61 6c 5f |a, handl|e_local_|
|000017a0| 70 75 62 6c 69 63 73 29 | 0a 0a 20 20 32 38 2e 30 |publics)|.. 28.0|
|000017b0| 36 2e 39 33 20 28 54 68 | 6f 6d 61 73 20 41 65 62 |6.93 (Th|omas Aeb|
|000017c0| 79 29 20 41 4f 46 63 6f | 6e 76 65 72 74 3a 20 66 |y) AOFco|nvert: f|
|000017d0| 75 6e 63 74 69 6f 6e 20 | 66 69 6e 64 5f 63 68 75 |unction |find_chu|
|000017e0| 6e 6b 20 66 69 78 65 64 | 20 28 64 69 64 20 6e 6f |nk fixed| (did no|
|000017f0| 74 20 77 6f 72 6b 20 77 | 68 65 6e 20 63 6f 6d 70 |t work w|hen comp|
|00001800| 69 6c 65 64 20 77 69 74 | 68 0a 20 20 20 20 20 20 |iled wit|h. |
|00001810| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001820| 20 20 20 47 43 43 29 0a | 0a 20 20 32 38 2e 30 36 | GCC).|. 28.06|
|00001830| 2e 39 33 20 28 54 68 6f | 6d 61 73 20 41 65 62 79 |.93 (Tho|mas Aeby|
|00001840| 29 20 61 73 3a 20 2e 69 | 6e 69 74 20 61 6e 64 20 |) as: .i|nit and |
|00001850| 2e 6b 69 6c 6c 20 61 64 | 64 65 64 0a 0a 20 20 32 |.kill ad|ded.. 2|
|00001860| 38 2e 30 36 2e 39 33 20 | 28 54 68 6f 6d 61 73 20 |8.06.93 |(Thomas |
|00001870| 41 65 62 79 29 20 63 6f | 6e 66 69 67 2e 68 31 2e |Aeby) co|nfig.h1.|
|00001880| 61 72 6d 3a 20 41 53 4d | 5f 4f 55 54 50 55 54 5f |arm: ASM|_OUTPUT_|
|00001890| 43 4f 4e 53 54 52 55 43 | 54 4f 52 20 61 6e 64 20 |CONSTRUC|TOR and |
|000018a0| 41 53 4d 5f 4f 55 54 50 | 55 54 5f 44 45 53 54 52 |ASM_OUTP|UT_DESTR|
|000018b0| 55 43 54 4f 52 20 61 64 | 64 65 64 0a 20 20 20 20 |UCTOR ad|ded. |
|000018c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000018d0| 20 20 20 20 20 28 6d 61 | 70 20 74 6f 20 2e 69 6e | (ma|p to .in|
|000018e0| 69 74 20 61 6e 64 20 2e | 6b 69 6c 6c 29 0a 0a 20 |it and .|kill).. |
|000018f0| 20 32 38 2e 30 36 2e 39 | 33 20 28 54 68 6f 6d 61 | 28.06.9|3 (Thoma|
|00001900| 73 20 41 65 62 79 29 20 | 73 74 75 62 73 6d 75 20 |s Aeby) |stubsmu |
|00001910| 28 6d 61 6b 65 6c 69 62 | 73 20 72 65 73 70 2e 29 |(makelib|s resp.)|
|00001920| 3a 20 66 69 6c 65 20 73 | 2e 69 6e 69 74 20 61 64 |: file s|.init ad|
|00001930| 64 65 64 20 2d 20 74 77 | 6f 20 66 75 6e 63 74 69 |ded - tw|o functi|
|00001940| 6f 6e 73 20 74 68 61 74 | 20 73 68 6f 75 6c 64 0a |ons that| should.|
|00001950| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001960| 20 20 20 20 20 20 20 20 | 20 62 65 20 63 61 6c 6c | | be call|
|00001970| 65 64 20 61 74 20 73 74 | 61 72 74 75 70 20 72 65 |ed at st|artup re|
|00001980| 73 70 2e 20 61 74 20 70 | 72 6f 67 72 61 6d 20 65 |sp. at p|rogram e|
|00001990| 78 69 74 20 28 65 78 65 | 63 75 74 65 20 74 68 65 |xit (exe|cute the|
|000019a0| 20 2e 69 6e 69 74 20 61 | 6e 64 20 2e 6b 69 6c 6c | .init a|nd .kill|
|000019b0| 29 0a 0a 20 20 32 38 2e | 30 36 2e 39 33 20 28 54 |).. 28.|06.93 (T|
|000019c0| 68 6f 6d 61 73 20 41 65 | 62 79 29 20 63 6f 6e 66 |homas Ae|by) conf|
|000019d0| 69 67 2e 68 31 2e 61 72 | 6d 3a 20 41 53 4d 5f 4f |ig.h1.ar|m: ASM_O|
|000019e0| 55 54 50 55 54 5f 53 4f | 55 52 43 45 5f 4c 49 4e |UTPUT_SO|URCE_LIN|
|000019f0| 45 20 61 6e 64 20 41 53 | 4d 5f 4f 55 54 50 55 54 |E and AS|M_OUTPUT|
|00001a00| 5f 53 4f 55 52 43 45 5f | 46 49 4c 45 4e 41 4d 45 |_SOURCE_|FILENAME|
|00001a10| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|00001a20| 20 20 20 20 20 20 20 20 | 20 20 6d 6f 64 69 66 69 | | modifi|
|00001a30| 65 64 2e 0a 0a 20 20 32 | 39 2e 30 36 2e 39 33 20 |ed... 2|9.06.93 |
|00001a40| 28 54 68 6f 6d 61 73 20 | 41 65 62 79 29 20 41 73 |(Thomas |Aeby) As|
|00001a50| 73 65 6d 62 6c 65 72 20 | 28 6f 62 6a 2d 6d 75 70 |sembler |(obj-mup|
|00001a60| 72 6f 73 2e 63 29 3a 20 | 63 6f 6d 6d 61 6e 64 73 |ros.c): |commands|
|00001a70| 20 2e 6f 62 6c 69 67 61 | 74 6f 72 79 20 61 6e 64 | .obliga|tory and|
|00001a80| 20 2e 6f 70 74 69 6f 6e | 61 6c 6c 79 20 61 64 64 | .option|ally add|
|00001a90| 65 64 0a 0a 20 20 32 39 | 2e 30 36 2e 39 33 20 28 |ed.. 29|.06.93 (|
|00001aa0| 54 68 6f 6d 61 73 20 41 | 65 62 79 29 20 41 73 73 |Thomas A|eby) Ass|
|00001ab0| 65 6d 62 6c 65 72 20 28 | 6f 62 6a 2d 6d 75 70 72 |embler (|obj-mupr|
|00001ac0| 6f 73 2e 63 29 3a 20 63 | 68 65 63 6b 5f 65 6e 64 |os.c): c|heck_end|
|00001ad0| 28 29 20 66 69 78 65 64 | 20 28 72 65 70 6c 61 63 |() fixed| (replac|
|00001ae0| 65 64 29 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |ed). | |
|00001af0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 2d 2d 3e | | -->|
|00001b00| 20 2e 73 65 67 69 64 20 | 77 6f 72 6b 73 20 74 68 | .segid |works th|
|00001b10| 65 20 72 69 67 68 74 20 | 77 61 79 0a 0a 20 20 32 |e right |way.. 2|
|00001b20| 39 2e 30 36 2e 39 33 20 | 28 54 68 6f 6d 61 73 20 |9.06.93 |(Thomas |
|00001b30| 41 65 62 79 29 20 41 73 | 73 65 6d 62 6c 65 72 20 |Aeby) As|sembler |
|00001b40| 28 6f 62 6a 2d 6d 75 70 | 72 6f 73 2e 63 29 3a 20 |(obj-mup|ros.c): |
|00001b50| 2e 6f 62 6a 6e 61 6d 65 | 20 66 69 78 65 64 0a 0a |.objname| fixed..|
|00001b60| 20 20 32 39 2e 30 36 2e | 39 33 20 28 54 68 6f 6d | 29.06.|93 (Thom|
|00001b70| 61 73 20 41 65 62 79 29 | 20 6d 75 6c 69 6e 6b 2e |as Aeby)| mulink.|
|00001b80| 63 63 3a 20 73 6f 72 74 | 6e 61 6d 65 28 29 2c 20 |cc: sort|name(), |
|00001b90| 73 6f 72 74 73 65 67 73 | 28 29 20 66 69 78 65 64 |sortsegs|() fixed|
|00001ba0| 20 28 77 68 61 74 20 74 | 68 65 20 68 65 6c 6c 20 | (what t|he hell |
|00001bb0| 64 69 64 20 49 20 64 72 | 69 6e 6b 0a 20 20 20 20 |did I dr|ink. |
|00001bc0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001bd0| 20 20 20 20 20 62 65 66 | 6f 72 65 20 49 20 77 72 | bef|ore I wr|
|00001be0| 6f 74 65 20 74 68 65 6d | 3f 29 0a 0a 20 20 33 30 |ote them|?).. 30|
|00001bf0| 2e 30 36 2e 39 33 20 28 | 54 68 6f 6d 61 73 20 41 |.06.93 (|Thomas A|
|00001c00| 65 62 79 29 20 67 63 63 | 2e 63 3a 20 41 73 73 65 |eby) gcc|.c: Asse|
|00001c10| 6d 62 6c 65 72 20 53 70 | 65 63 2e 3a 20 2d 64 20 |mbler Sp|ec.: -d |
|00001c20| 6f 70 74 69 6f 6e 20 61 | 64 64 65 64 0a 0a 20 20 |option a|dded.. |
|00001c30| 33 30 2e 30 36 2e 39 33 | 20 28 54 68 6f 6d 61 73 |30.06.93| (Thomas|
|00001c40| 20 41 65 62 79 29 20 6c | 69 6e 6b 2e 63 2f 63 68 | Aeby) l|ink.c/ch|
|00001c50| 75 6e 6b 2e 68 3a 20 72 | 65 6c 6f 63 6d 6f 64 65 |unk.h: r|elocmode|
|00001c60| 5f 53 55 42 54 52 41 43 | 54 20 61 64 64 65 64 0a |_SUBTRAC|T added.|
|00001c70| 0a 20 20 30 36 2e 30 37 | 2e 39 33 20 28 54 68 6f |. 06.07|.93 (Tho|
|00001c80| 6d 61 73 20 41 65 62 79 | 29 20 6d 75 70 72 6f 73 |mas Aeby|) mupros|
|00001c90| 2e 62 69 6e 61 72 79 2e | 63 63 3a 20 6d 65 72 67 |.binary.|cc: merg|
|00001ca0| 65 20 66 69 78 65 64 20 | 28 20 69 66 28 21 6e 65 |e fixed |( if(!ne|
|00001cb0| 77 74 72 65 65 2d 3e 75 | 73 65 64 29 20 72 65 74 |wtree->u|sed) ret|
|00001cc0| 75 72 6e 20 30 3b 20 29 | 0a 20 20 20 20 20 20 20 |urn 0; )|. |
|00001cd0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001ce0| 20 20 6d 75 6c 69 6e 6b | 20 69 73 20 61 62 6c 65 | mulink| is able|
|00001cf0| 20 74 6f 20 6f 75 74 70 | 75 74 20 6f 62 6a 65 63 | to outp|ut objec|
|00001d00| 74 20 66 69 6c 65 73 20 | 61 67 61 69 6e 0a 0a 20 |t files |again.. |
|00001d10| 20 30 36 2e 30 37 2e 39 | 33 20 28 54 68 6f 6d 61 | 06.07.9|3 (Thoma|
|00001d20| 73 20 41 65 62 79 29 20 | 6d 75 6c 69 6e 6b 2e 63 |s Aeby) |mulink.c|
|00001d30| 63 3a 20 66 75 6e 63 74 | 69 6f 6e 20 72 65 6c 6f |c: funct|ion relo|
|00001d40| 63 61 74 65 3a 20 72 2d | 3e 73 68 69 66 74 20 2b |cate: r-|>shift +|
|00001d50| 3d 20 31 3b 20 61 64 64 | 65 64 20 61 66 74 65 72 |= 1; add|ed after|
|00001d60| 20 76 61 6c 20 2b 3d 20 | 2e 2e 2e 0a 20 20 20 20 | val += |.... |
|00001d70| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001d80| 20 20 20 20 20 74 6f 20 | 61 76 6f 69 64 20 74 68 | to |avoid th|
|00001d90| 65 20 63 6f 6d 70 69 6c | 65 72 20 74 6f 20 6f 70 |e compil|er to op|
|00001da0| 74 69 6d 69 7a 65 20 74 | 6f 6f 20 6d 75 63 68 0a |timize t|oo much.|
|00001db0| 0a 20 20 31 33 2e 30 37 | 2e 39 33 20 28 54 68 6f |. 13.07|.93 (Tho|
|00001dc0| 6d 61 73 20 41 65 62 79 | 29 20 61 73 73 65 6d 62 |mas Aeby|) assemb|
|00001dd0| 6c 65 72 20 28 6f 62 6a | 2d 6d 75 70 72 6f 73 2e |ler (obj|-mupros.|
|00001de0| 63 20 2f 20 74 63 2d 61 | 72 6d 2e 63 29 3a 20 6f |c / tc-a|rm.c): o|
|00001df0| 70 74 69 6f 6e 73 20 2d | 64 20 28 64 65 62 75 67 |ptions -|d (debug|
|00001e00| 29 20 61 6e 64 20 2d 41 | 20 28 41 4f 46 29 0a 20 |) and -A| (AOF). |
|00001e10| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001e20| 20 20 20 20 20 20 20 20 | 61 64 64 65 64 2e 20 43 | |added. C|
|00001e30| 6f 6d 6d 61 6e 64 73 20 | 2e 6c 69 6e 65 2c 20 2e |ommands |.line, .|
|00001e40| 66 69 6c 65 2c 20 2e 66 | 72 61 67 20 61 64 64 65 |file, .f|rag adde|
|00001e50| 64 2e 0a 0a 20 20 31 36 | 2e 30 37 2e 39 33 20 28 |d... 16|.07.93 (|
|00001e60| 54 68 6f 6d 61 73 20 41 | 65 62 79 29 20 67 63 63 |Thomas A|eby) gcc|
|00001e70| 2e 63 3a 20 73 70 65 63 | 2e 20 6d 6f 64 69 66 69 |.c: spec|. modifi|
|00001e80| 63 61 74 65 64 20 2d 20 | 67 63 63 20 72 65 63 6f |cated - |gcc reco|
|00001e90| 67 6e 69 7a 65 73 20 6f | 70 74 69 6f 6e 20 2d 61 |gnizes o|ption -a|
|00001ea0| 6f 66 20 6e 6f 77 0a 0a | 20 20 31 36 2e 30 37 2e |of now..| 16.07.|
|00001eb0| 39 33 20 28 54 68 6f 6d | 61 73 20 41 65 62 79 29 |93 (Thom|as Aeby)|
|00001ec0| 20 67 63 63 2e 63 3a 20 | 65 72 72 6f 72 20 6d 65 | gcc.c: |error me|
|00001ed0| 73 73 61 67 65 20 61 64 | 64 65 64 20 66 6f 72 20 |ssage ad|ded for |
|00001ee0| 73 79 73 74 65 6d 28 29 | 20 3d 3d 20 2d 32 20 28 |system()| == -2 (|
|00001ef0| 65 2e 67 2e 20 6d 65 6d | 6f 72 79 20 6c 6f 77 29 |e.g. mem|ory low)|
|00001f00| 0a 0a 20 20 32 30 2e 30 | 37 2e 39 33 20 28 54 68 |.. 20.0|7.93 (Th|
|00001f10| 6f 6d 61 73 20 41 65 62 | 79 29 20 41 73 73 65 6d |omas Aeb|y) Assem|
|00001f20| 62 6c 65 72 3a 20 77 72 | 69 74 65 2e 68 3a 20 53 |bler: wr|ite.h: S|
|00001f30| 5f 4c 4f 43 41 4c 5f 4c | 41 42 45 4c 20 63 68 61 |_LOCAL_L|ABEL cha|
|00001f40| 6e 67 65 64 20 74 6f 20 | 70 72 65 76 65 6e 74 20 |nged to |prevent |
|00001f50| 61 73 73 65 6d 62 6c 65 | 72 20 66 72 6f 6d 0a 20 |assemble|r from. |
|00001f60| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00001f70| 20 20 20 20 20 20 20 20 | 69 6e 74 65 72 70 72 65 | |interpre|
|00001f80| 74 69 6e 67 20 2e 67 6c | 6f 62 61 6c 20 4c 2e 2e |ting .gl|obal L..|
|00001f90| 2e 20 61 73 20 6c 6f 63 | 61 6c 20 6c 61 62 65 6c |. as loc|al label|
|00001fa0| 46 69 6c 65 44 61 74 61 | 82 46 41 51 73 00 65 6c |FileData|.FAQs.el|
|00001fb0| 6f 67 00 00 e8 10 00 00 | 47 fd ff ff 48 64 ad 1e |og......|G...Hd..|
|00001fc0| 03 00 6b 9b 6b 6e 6f 77 | 6e 20 70 72 6f 62 6c 65 |..k.know|n proble|
|00001fd0| 6d 73 20 61 6e 64 20 46 | 41 51 73 3a 0a 2d 2d 2d |ms and F|AQs:.---|
|00001fe0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00001ff0| 2d 2d 2d 2d 0a 0a 0a 2d | 20 47 43 43 20 70 72 6f |----...-| GCC pro|
|00002000| 64 75 63 65 73 20 76 65 | 72 79 20 69 6e 65 66 66 |duces ve|ry ineff|
|00002010| 69 63 69 65 6e 74 20 63 | 6f 64 65 3a 20 75 73 65 |icient c|ode: use|
|00002020| 20 2d 4f 20 6f 72 20 2d | 4f 32 20 6f 70 74 69 6f | -O or -|O2 optio|
|00002030| 6e 20 28 6f 70 74 69 6d | 69 7a 65 29 0a 0a 0a 2d |n (optim|ize)...-|
|00002040| 20 74 65 6d 70 6c 61 74 | 65 2e 68 3a 20 72 65 70 | templat|e.h: rep|
|00002050| 6c 61 63 65 20 27 74 65 | 6d 70 6c 61 74 65 27 20 |lace 'te|mplate' |
|00002060| 69 6e 20 74 79 70 65 64 | 65 66 20 73 74 72 75 63 |in typed|ef struc|
|00002070| 74 20 2e 2e 2e 20 74 65 | 6d 70 6c 61 74 65 20 74 |t ... te|mplate t|
|00002080| 68 72 6f 75 67 68 20 65 | 2e 67 2e 20 27 74 65 6d |hrough e|.g. 'tem|
|00002090| 70 6c 61 74 65 5f 74 27 | 3b 0a 20 20 64 6f 6e 27 |plate_t'|;. don'|
|000020a0| 74 20 66 6f 72 67 65 74 | 20 74 6f 20 63 68 61 6e |t forget| to chan|
|000020b0| 67 65 20 69 74 20 61 6c | 6c 20 6f 76 65 72 20 74 |ge it al|l over t|
|000020c0| 68 65 20 66 69 6c 65 0a | 0a 0a 2d 20 79 6f 75 20 |he file.|..- you |
|000020d0| 67 65 74 20 61 6e 20 65 | 78 74 65 6e 73 69 76 65 |get an e|xtensive|
|000020e0| 20 6c 69 73 74 20 6f 66 | 20 75 6e 64 65 66 69 6e | list of| undefin|
|000020f0| 65 64 20 65 78 74 65 72 | 6e 61 6c 28 73 29 20 77 |ed exter|nal(s) w|
|00002100| 69 74 68 20 43 2b 2b 3f | 20 55 73 65 20 27 2d 2b |ith C++?| Use '-+|
|00002110| 27 20 6f 70 74 69 6f 6e | 20 77 69 74 68 20 6d 75 |' option| with mu|
|00002120| 6c 69 6e 6b 2e 0a 0a 0a | 2d 20 74 68 65 20 73 61 |link....|- the sa|
|00002130| 6d 65 20 61 73 20 61 62 | 6f 76 65 20 62 75 74 20 |me as ab|ove but |
|00002140| 77 69 74 68 20 41 4f 46 | 20 73 74 79 6c 65 20 63 |with AOF| style c|
|00002150| 6f 6d 70 69 6c 69 6e 67 | 20 28 2d 2b 20 6f 70 74 |ompiling| (-+ opt|
|00002160| 69 6f 6e 20 6e 6f 74 20 | 61 76 61 69 6c 61 62 6c |ion not |availabl|
|00002170| 65 20 66 6f 72 20 41 4f | 46 29 3a 0a 20 20 75 73 |e for AO|F):. us|
|00002180| 65 20 74 68 65 20 65 78 | 74 65 72 6e 20 22 43 22 |e the ex|tern "C"|
|00002190| 20 66 65 61 74 75 72 65 | 20 77 69 74 68 20 79 6f | feature| with yo|
|000021a0| 75 72 20 73 74 61 6e 64 | 61 72 64 20 43 20 68 65 |ur stand|ard C he|
|000021b0| 61 64 65 72 20 66 69 6c | 65 73 2e 20 46 6f 72 20 |ader fil|es. For |
|000021c0| 69 6e 73 74 61 6e 63 65 | 3a 0a 0a 20 20 20 20 65 |instance|:.. e|
|000021d0| 78 74 65 72 6e 20 22 43 | 22 20 7b 0a 20 20 20 20 |xtern "C|" {. |
|000021e0| 23 69 6e 63 6c 75 64 65 | 20 22 73 74 64 6c 69 62 |#include| "stdlib|
|000021f0| 2e 68 22 0a 20 20 20 20 | 23 69 6e 63 6c 75 64 65 |.h". |#include|
|00002200| 20 22 73 74 64 69 6f 2e | 68 22 0a 20 20 20 20 7d | "stdio.|h". }|
|00002210| 0a 0a 20 20 74 68 69 73 | 20 77 69 6c 6c 20 74 65 |.. this| will te|
|00002220| 6c 6c 20 74 68 65 20 63 | 6f 6d 70 69 6c 65 72 20 |ll the c|ompiler |
|00002230| 74 68 61 74 20 61 6c 6c | 20 74 68 65 20 66 75 6e |that all| the fun|
|00002240| 63 74 69 6f 6e 73 20 70 | 72 6f 74 6f 74 79 70 65 |ctions p|rototype|
|00002250| 64 20 69 6e 20 74 68 65 | 20 69 6e 63 6c 75 64 65 |d in the| include|
|00002260| 64 20 6c 69 62 72 61 72 | 69 65 73 0a 20 20 61 72 |d librar|ies. ar|
|00002270| 65 20 43 2d 73 74 79 6c | 65 20 66 75 6e 63 74 69 |e C-styl|e functi|
|00002280| 6f 6e 73 20 6e 6f 74 20 | 43 2b 2b 20 66 75 6e 63 |ons not |C++ func|
|00002290| 74 69 6f 6e 73 2e 20 59 | 6f 75 20 63 61 6e 20 75 |tions. Y|ou can u|
|000022a0| 73 65 20 74 68 69 73 20 | 66 65 61 74 75 72 65 20 |se this |feature |
|000022b0| 77 69 74 68 20 61 73 73 | 65 6d 62 6c 65 72 0a 20 |with ass|embler. |
|000022c0| 20 66 75 6e 63 74 69 6f | 6e 73 20 74 6f 6f 2e 0a | functio|ns too..|
|000022d0| 0a 0a 2d 20 79 6f 75 20 | 73 74 69 6c 6c 20 67 65 |..- you |still ge|
|000022e0| 74 20 61 6e 20 65 78 74 | 65 6e 73 69 76 65 20 6c |t an ext|ensive l|
|000022f0| 69 73 74 20 6f 66 20 75 | 6e 64 65 66 69 6e 65 64 |ist of u|ndefined|
|00002300| 20 65 78 74 65 72 6e 61 | 6c 28 73 29 3f 20 41 72 | externa|l(s)? Ar|
|00002310| 65 20 79 6f 75 20 73 75 | 72 65 20 79 6f 75 20 61 |e you su|re you a|
|00002320| 72 65 20 6c 69 6e 6b 69 | 6e 67 0a 20 20 79 6f 75 |re linki|ng. you|
|00002330| 72 20 6f 62 6a 20 77 69 | 74 68 20 74 68 65 20 4d |r obj wi|th the M|
|00002340| 55 50 52 4f 53 20 76 65 | 72 73 69 6f 6e 20 6f 66 |UPROS ve|rsion of|
|00002350| 20 61 6c 6c 20 6f 74 68 | 65 72 20 6f 62 6a 73 3f | all oth|er objs?|
|00002360| 20 52 65 6d 65 6d 62 65 | 72 20 74 68 61 74 20 6d | Remembe|r that m|
|00002370| 75 6c 69 6e 6b 20 64 6f | 65 73 20 6c 69 6e 6b 20 |ulink do|es link |
|00002380| 6f 62 6a 65 63 74 73 0a | 20 20 69 74 20 66 69 6e |objects.| it fin|
|00002390| 64 73 20 69 6e 20 74 68 | 65 20 66 69 6c 65 73 20 |ds in th|e files |
|000023a0| 79 6f 75 20 6d 65 6e 74 | 69 6f 6e 2e 20 49 66 20 |you ment|ion. If |
|000023b0| 74 68 65 72 65 20 61 72 | 65 20 6e 6f 20 76 61 6c |there ar|e no val|
|000023c0| 69 64 20 6f 62 6a 65 63 | 74 73 20 69 6e 20 61 20 |id objec|ts in a |
|000023d0| 66 69 6c 65 20 6d 75 6c | 69 6e 6b 20 73 6f 6d 65 |file mul|ink some|
|000023e0| 74 69 6d 65 73 0a 20 20 | 64 6f 65 73 20 6e 6f 74 |times. |does not|
|000023f0| 20 63 6f 6d 70 6c 61 69 | 6e 2e 0a 0a 0a 2d 20 79 | complai|n....- y|
|00002400| 6f 75 20 67 65 74 20 74 | 68 65 20 6d 65 73 73 61 |ou get t|he messa|
|00002410| 67 65 20 27 75 6e 64 65 | 66 69 6e 65 64 20 65 78 |ge 'unde|fined ex|
|00002420| 74 65 72 6e 61 6c 28 73 | 29 3a 20 5f 5f 64 69 76 |ternal(s|): __div|
|00002430| 73 69 33 2c 20 5f 5f 75 | 64 69 76 73 69 33 2c 20 |si3, __u|divsi3, |
|00002440| 5f 5f 6d 6f 64 73 69 33 | 2c 20 5f 5f 75 6d 6f 64 |__modsi3|, __umod|
|00002450| 73 69 33 27 3f 20 59 6f | 75 0a 20 20 61 72 65 20 |si3'? Yo|u. are |
|00002460| 75 73 69 6e 67 20 73 74 | 75 62 73 20 77 69 74 68 |using st|ubs with|
|00002470| 6f 75 74 20 74 68 65 20 | 47 4e 55 20 43 2f 43 2b |out the |GNU C/C+|
|00002480| 2b 20 65 78 74 65 6e 73 | 69 6f 6e 2e 20 4c 6f 6f |+ extens|ion. Loo|
|00002490| 6b 20 66 6f 72 20 74 68 | 65 20 66 69 6c 65 20 6f |k for th|e file o|
|000024a0| 2e 64 69 76 2d 66 61 73 | 74 20 69 6e 20 74 68 65 |.div-fas|t in the|
|000024b0| 20 72 69 73 63 6c 69 62 | 0a 20 20 64 69 72 65 63 | risclib|. direc|
|000024c0| 74 6f 72 79 20 61 6e 64 | 20 61 70 70 65 6e 64 20 |tory and| append |
|000024d0| 69 74 20 74 6f 20 73 74 | 75 62 73 6d 75 20 6f 72 |it to st|ubsmu or|
|000024e0| 20 72 75 6e 20 6d 61 6b | 65 6c 69 62 73 20 28 72 | run mak|elibs (r|
|000024f0| 65 62 75 69 6c 64 73 20 | 73 74 75 62 73 6d 75 20 |ebuilds |stubsmu |
|00002500| 61 6e 64 20 6f 73 6c 69 | 62 5f 6d 75 29 2e 0a 20 |and osli|b_mu).. |
|00002510| 20 69 66 20 79 6f 75 20 | 61 72 65 20 75 73 69 6e | if you |are usin|
|00002520| 67 20 41 4f 46 20 79 6f | 75 20 68 61 76 65 20 74 |g AOF yo|u have t|
|00002530| 6f 20 6c 69 6e 6b 20 74 | 68 65 20 6c 69 62 61 72 |o link t|he libar|
|00002540| 79 20 63 6c 69 62 3a 6f | 2e 67 63 63 65 78 74 20 |y clib:o|.gccext |
|00002550| 77 69 74 68 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |with you|r applic|
|00002560| 61 74 69 6f 6e 2e 0a 0a | 0a 2d 20 79 6f 75 20 68 |ation...|.- you h|
|00002570| 61 76 65 20 6e 6f 20 67 | 63 63 65 78 74 20 6c 69 |ave no g|ccext li|
|00002580| 62 72 61 72 79 3a 20 72 | 75 6e 20 28 61 6d 75 29 |brary: r|un (amu)|
|00002590| 20 74 68 65 20 6d 61 6b | 65 41 4f 46 20 66 69 6c | the mak|eAOF fil|
|000025a0| 65 20 69 6e 20 74 68 65 | 20 72 69 73 63 6c 69 62 |e in the| risclib|
|000025b0| 20 64 69 72 65 63 74 6f | 72 79 2e 0a 0a 0a 2d 20 | directo|ry....- |
|000025c0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000025d0| 20 64 6f 65 73 20 6e 6f | 74 20 73 74 61 72 74 75 | does no|t startu|
|000025e0| 70 20 61 74 20 61 6c 6c | 3f 20 59 6f 75 20 68 61 |p at all|? You ha|
|000025f0| 76 65 20 70 72 6f 62 61 | 62 6c 79 20 63 6f 6e 76 |ve proba|bly conv|
|00002600| 65 72 74 65 64 20 79 6f | 75 72 20 41 4f 46 20 73 |erted yo|ur AOF s|
|00002610| 74 75 62 73 20 74 6f 0a | 20 20 4d 55 50 52 4f 53 |tubs to.| MUPROS|
|00002620| 20 73 74 75 62 73 20 28 | 61 6f 66 63 6f 6e 76 65 | stubs (|aofconve|
|00002630| 72 74 29 20 77 69 74 68 | 6f 75 74 20 61 70 70 6c |rt) with|out appl|
|00002640| 79 69 6e 67 20 6f 70 74 | 69 6f 6e 20 2d 4f 2e 20 |ying opt|ion -O. |
|00002650| 49 66 20 79 6f 75 20 64 | 6f 20 73 6f 2c 20 4d 55 |If you d|o so, MU|
|00002660| 4c 49 4e 4b 20 77 69 6c | 6c 20 6e 6f 74 20 6c 69 |LINK wil|l not li|
|00002670| 6e 6b 0a 20 20 73 6f 6d | 65 20 75 6e 72 65 66 65 |nk. som|e unrefe|
|00002680| 72 65 6e 63 65 64 20 61 | 72 65 61 73 20 28 65 2e |renced a|reas (e.|
|00002690| 67 2e 20 52 54 53 4b 29 | 2e 20 42 75 74 20 74 68 |g. RTSK)|. But th|
|000026a0| 6f 73 65 20 61 72 65 61 | 73 20 61 72 65 20 61 62 |ose area|s are ab|
|000026b0| 73 6f 6c 75 74 65 6c 79 | 20 6e 65 63 65 73 73 61 |solutely| necessa|
|000026c0| 72 79 2e 0a 0a 0a 2d 20 | 61 6e 79 20 6d 65 73 73 |ry....- |any mess|
|000026d0| 61 67 65 73 20 61 73 20 | 27 2e 2e 2e 21 73 63 72 |ages as |'...!scr|
|000026e0| 61 70 2e 73 63 72 61 70 | 64 69 72 2e 78 30 32 38 |ap.scrap|dir.x028|
|000026f0| 37 34 30 30 73 3a 20 37 | 36 3a 20 65 72 72 6f 72 |7400s: 7|6: error|
|00002700| 3a 20 62 6c 61 20 62 6c | 61 20 62 6c 61 27 3f 20 |: bla bl|a bla'? |
|00002710| 53 6f 6d 65 20 69 6e 63 | 6f 6d 70 61 74 69 62 69 |Some inc|ompatibi|
|00002720| 6c 69 74 79 0a 20 20 62 | 65 74 77 65 65 6e 20 63 |lity. b|etween c|
|00002730| 6f 6d 70 69 6c 65 72 20 | 61 6e 64 20 61 73 73 65 |ompiler |and asse|
|00002740| 6d 62 6c 65 72 20 6f 63 | 63 75 72 65 64 2e 20 43 |mbler oc|cured. C|
|00002750| 6f 6e 74 61 63 74 20 6d | 65 20 28 73 65 65 20 62 |ontact m|e (see b|
|00002760| 65 6c 6f 77 29 2e 0a 0a | 0a 2d 20 74 68 65 20 73 |elow)...|.- the s|
|00002770| 61 6d 65 20 62 75 74 20 | 69 6e 20 66 6c 6f 61 74 |ame but |in float|
|00002780| 69 6e 67 20 70 6f 69 6e | 74 20 63 6f 6e 74 65 78 |ing poin|t contex|
|00002790| 74 3a 20 72 65 6d 65 6d | 62 65 72 20 74 68 61 74 |t: remem|ber that|
|000027a0| 20 66 6c 6f 61 74 69 6e | 67 20 70 6f 69 6e 74 20 | floatin|g point |
|000027b0| 61 72 69 74 68 6d 65 74 | 69 63 20 69 73 20 6e 6f |arithmet|ic is no|
|000027c0| 74 0a 20 20 73 75 70 70 | 6f 72 74 65 64 20 61 74 |t. supp|orted at|
|000027d0| 20 74 68 65 20 6d 6f 6d | 65 6e 74 2e 20 43 6f 6e | the mom|ent. Con|
|000027e0| 74 61 63 74 20 6d 65 20 | 74 6f 20 67 65 74 20 74 |tact me |to get t|
|000027f0| 68 65 20 6c 61 74 65 73 | 74 20 76 65 72 73 69 6f |he lates|t versio|
|00002800| 6e 20 28 6f 72 20 63 68 | 65 63 6b 20 79 6f 75 72 |n (or ch|eck your|
|00002810| 20 6f 74 68 65 72 20 73 | 6f 66 74 77 61 72 65 0a | other s|oftware.|
|00002820| 20 20 73 6f 75 72 63 65 | 73 29 2e 0a 0a 0a 2d 20 | source|s)....- |
|00002830| 6a 75 73 74 20 64 6f 6e | 27 74 20 72 65 61 64 20 |just don|'t read |
|00002840| 74 68 65 20 6c 69 6e 6b | 65 72 20 6d 65 73 73 61 |the link|er messa|
|00002850| 67 65 20 27 75 6e 64 65 | 66 69 6e 65 64 20 65 78 |ge 'unde|fined ex|
|00002860| 74 65 72 6e 61 6c 28 73 | 29 3a 20 5f 5f 72 6f 6f |ternal(s|): __roo|
|00002870| 74 5f 73 74 61 63 6b 5f | 73 69 7a 65 2c 20 5f 5f |t_stack_|size, __|
|00002880| 52 65 6c 6f 63 43 6f 64 | 65 27 2e 0a 20 20 54 68 |RelocCod|e'.. Th|
|00002890| 65 73 65 20 73 79 6d 62 | 6f 6c 73 20 61 72 65 20 |ese symb|ols are |
|000028a0| 77 65 61 6b 20 65 78 74 | 65 72 6e 61 6c 20 62 69 |weak ext|ernal bi|
|000028b0| 6e 64 69 6e 67 73 20 69 | 6e 20 73 74 75 62 73 2e |ndings i|n stubs.|
|000028c0| 20 41 73 20 4d 55 50 52 | 4f 53 20 64 6f 65 73 20 | As MUPR|OS does |
|000028d0| 6e 6f 74 20 73 75 70 70 | 6f 72 74 20 77 65 61 6b |not supp|ort weak|
|000028e0| 20 62 69 6e 64 69 6e 67 | 73 0a 20 20 74 68 65 20 | binding|s. the |
|000028f0| 6c 69 6e 6b 65 72 20 77 | 69 6c 6c 20 73 68 6f 77 |linker w|ill show|
|00002900| 20 74 68 65 20 77 61 72 | 6e 69 6e 67 20 74 68 6f | the war|ning tho|
|00002910| 75 67 68 20 74 68 65 20 | 61 70 70 6c 69 63 61 74 |ugh the |applicat|
|00002920| 69 6f 6e 20 77 69 6c 6c | 20 77 6f 72 6b 20 63 6f |ion will| work co|
|00002930| 72 72 65 63 74 6c 79 2e | 0a 0a 0a 2d 20 64 6f 20 |rrectly.|...- do |
|00002940| 73 6b 69 70 20 74 68 65 | 20 6d 65 73 73 61 67 65 |skip the| message|
|00002950| 20 27 64 6f 75 62 6c 65 | 20 64 65 66 69 6e 65 64 | 'double| defined|
|00002960| 20 70 75 62 6c 69 63 20 | 76 61 72 69 61 62 6c 65 | public |variable|
|00002970| 28 73 29 3a 20 43 24 24 | 43 6f 64 65 27 20 74 6f |(s): C$$|Code' to|
|00002980| 6f 2e 0a 0a 0a 2d 20 79 | 6f 75 72 20 64 65 73 6b |o....- y|our desk|
|00002990| 74 6f 70 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |top appl|ication |
|000029a0| 64 6f 65 73 20 6e 6f 74 | 20 73 74 61 72 74 75 70 |does not| startup|
|000029b0| 3a 20 6c 69 6e 6b 20 73 | 74 75 62 73 6d 75 20 62 |: link s|tubsmu b|
|000029c0| 65 66 6f 72 65 20 6f 73 | 6c 69 62 5f 6d 75 0a 0a |efore os|lib_mu..|
|000029d0| 0a 2d 20 47 43 43 20 74 | 65 72 6d 69 6e 61 74 65 |.- GCC t|erminate|
|000029e0| 73 20 66 61 73 74 20 62 | 75 74 20 64 6f 65 73 20 |s fast b|ut does |
|000029f0| 6e 6f 74 20 64 6f 20 61 | 6e 79 74 68 69 6e 67 20 |not do a|nything |
|00002a00| 6f 62 76 69 6f 75 73 6c | 79 3a 20 69 6e 63 72 65 |obviousl|y: incre|
|00002a10| 61 73 65 20 79 6f 75 72 | 20 6d 65 6d 6f 72 79 20 |ase your| memory |
|00002a20| 61 6c 6c 6f 63 61 74 69 | 6f 6e 0a 20 20 65 69 74 |allocati|on. eit|
|00002a30| 68 65 72 20 66 6f 72 20 | 27 6e 65 78 74 27 20 6f |her for |'next' o|
|00002a40| 72 20 66 6f 72 20 74 68 | 65 20 74 61 73 6b 20 67 |r for th|e task g|
|00002a50| 63 63 20 69 73 20 73 74 | 61 72 74 65 64 20 62 79 |cc is st|arted by|
|00002a60| 0a 0a 0a 2d 20 62 65 77 | 61 72 65 20 6f 66 20 72 |...- bew|are of r|
|00002a70| 65 64 65 66 69 6e 69 6e | 67 20 61 6e 20 69 6e 69 |edefinin|g an ini|
|00002a80| 74 69 61 6c 69 7a 65 72 | 20 69 6e 20 61 20 63 68 |tializer| in a ch|
|00002a90| 69 6c 64 20 63 6c 61 73 | 73 2c 20 65 2e 67 2e 3a |ild clas|s, e.g.:|
|00002aa0| 0a 20 20 20 20 63 6c 61 | 73 73 20 61 20 7b 20 61 |. cla|ss a { a|
|00002ab0| 28 29 3b 20 7d 3b 0a 20 | 20 20 20 63 6c 61 73 73 |(); };. | class|
|00002ac0| 20 62 3a 20 70 75 62 6c | 69 63 20 61 20 7b 20 61 | b: publ|ic a { a|
|00002ad0| 28 29 3b 20 7d 3b 0a 20 | 20 73 6f 6d 65 74 69 6d |(); };. | sometim|
|00002ae0| 65 73 20 74 68 69 73 20 | 77 69 6c 6c 20 63 61 75 |es this |will cau|
|00002af0| 73 65 20 47 43 43 20 74 | 6f 20 68 61 6e 67 2e 0a |se GCC t|o hang..|
|00002b00| 0a 0a 2d 20 59 6f 75 20 | 77 6f 75 6c 64 20 6c 69 |..- You |would li|
|00002b10| 6b 65 20 74 6f 20 75 73 | 65 20 61 6e 6f 74 68 65 |ke to us|e anothe|
|00002b20| 72 20 6c 69 62 72 61 72 | 79 20 74 68 61 6e 20 53 |r librar|y than S|
|00002b30| 74 75 62 73 20 6f 72 20 | 52 49 53 43 5f 4f 53 6c |tubs or |RISC_OSl|
|00002b40| 69 62 2c 20 65 2e 67 2e | 20 55 4e 49 58 4c 49 42 |ib, e.g.| UNIXLIB|
|00002b50| 0a 20 20 61 6e 64 20 44 | 65 73 6b 6c 69 62 20 28 |. and D|esklib (|
|00002b60| 62 79 20 74 68 65 20 77 | 61 79 3a 20 70 68 61 6e |by the w|ay: phan|
|00002b70| 74 61 73 74 69 63 2c 20 | 74 68 6f 73 65 20 74 77 |tastic, |those tw|
|00002b80| 6f 20 6c 69 62 73 21 29 | 3f 20 59 6f 75 20 63 61 |o libs!)|? You ca|
|00002b90| 6e 20 63 6f 6e 76 65 72 | 74 20 74 68 65 6d 0a 20 |n conver|t them. |
|00002ba0| 20 61 73 20 69 74 20 69 | 73 20 64 6f 6e 65 20 62 | as it i|s done b|
|00002bb0| 79 20 27 6d 61 6b 65 6c | 69 62 73 27 3a 20 75 73 |y 'makel|ibs': us|
|00002bc0| 65 20 6c 69 62 66 69 6c | 65 20 28 6e 6f 74 20 73 |e libfil|e (not s|
|00002bd0| 75 70 70 6c 69 65 64 20 | 77 69 74 68 20 47 43 43 |upplied |with GCC|
|00002be0| 29 20 74 6f 20 73 70 6c | 69 74 0a 20 20 74 68 65 |) to spl|it. the|
|00002bf0| 20 6c 69 62 61 72 69 65 | 73 20 69 6e 74 6f 20 6f | libarie|s into o|
|00002c00| 62 6a 65 63 74 20 66 69 | 6c 65 73 2c 20 74 68 65 |bject fi|les, the|
|00002c10| 6e 20 63 6f 6e 76 65 72 | 74 20 74 68 65 6d 20 77 |n conver|t them w|
|00002c20| 69 74 68 20 61 6f 66 63 | 6f 6e 76 65 72 74 20 61 |ith aofc|onvert a|
|00002c30| 6e 64 20 72 65 61 70 70 | 65 6e 64 0a 20 20 74 68 |nd reapp|end. th|
|00002c40| 65 6d 20 77 69 74 68 20 | 66 61 70 70 65 6e 64 2e |em with |fappend.|
|00002c50| 0a 20 20 57 69 74 68 20 | 72 65 76 69 73 69 6f 6e |. With |revision|
|00002c60| 20 3e 20 42 20 74 68 61 | 74 20 70 72 6f 62 6c 65 | > B tha|t proble|
|00002c70| 6d 20 69 73 20 6f 62 73 | 6f 6c 65 74 65 3a 20 79 |m is obs|olete: y|
|00002c80| 6f 75 20 63 61 6e 20 75 | 73 65 20 41 4f 46 2f 41 |ou can u|se AOF/A|
|00002c90| 4c 46 20 66 69 6c 65 73 | 20 6e 6f 77 2e 0a 0a 0a |LF files| now....|
|00002ca0| 2d 20 59 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |- Your a|pplicati|
|00002cb0| 6f 6e 20 62 65 68 61 76 | 65 73 20 73 74 72 61 6e |on behav|es stran|
|00002cc0| 67 65 20 2f 20 64 6f 65 | 73 20 6e 6f 74 20 73 74 |ge / doe|s not st|
|00002cd0| 61 72 74 75 70 20 61 74 | 20 61 6c 6c 3a 20 68 61 |artup at| all: ha|
|00002ce0| 76 65 20 79 6f 75 20 6c | 69 6e 6b 65 64 20 77 69 |ve you l|inked wi|
|00002cf0| 74 68 0a 20 20 73 74 75 | 62 73 6d 75 20 61 6e 64 |th. stu|bsmu and|
|00002d00| 20 64 6f 65 73 20 79 6f | 75 72 20 61 70 70 6c 69 | does yo|ur appli|
|00002d10| 63 61 74 69 6f 6e 20 75 | 73 65 20 6d 6f 72 65 20 |cation u|se more |
|00002d20| 74 68 61 6e 20 34 6b 42 | 79 74 65 73 20 6f 66 20 |than 4kB|ytes of |
|00002d30| 6c 6f 63 61 6c 20 76 61 | 72 69 61 62 6c 65 73 20 |local va|riables |
|00002d40| 28 73 74 61 63 6b 29 3f | 0a 20 20 49 6e 63 6c 75 |(stack)?|. Inclu|
|00002d50| 64 65 20 74 68 65 20 6c | 69 6e 65 20 0a 20 20 20 |de the l|ine . |
|00002d60| 20 69 6e 74 20 5f 5f 72 | 6f 6f 74 5f 73 74 61 63 | int __r|oot_stac|
|00002d70| 6b 5f 73 69 7a 65 20 3d | 20 31 36 33 38 34 3b 0a |k_size =| 16384;.|
|00002d80| 20 20 69 6e 74 6f 20 6f | 6e 65 20 6f 66 20 79 6f | into o|ne of yo|
|00002d90| 75 72 20 73 6f 75 72 63 | 65 20 66 69 6c 65 73 20 |ur sourc|e files |
|00002da0| 28 61 64 6a 75 73 74 20 | 73 74 61 63 6b 20 73 69 |(adjust |stack si|
|00002db0| 7a 65 3b 20 63 6f 75 6c | 64 20 62 65 20 6d 6f 72 |ze; coul|d be mor|
|00002dc0| 65 20 6f 72 20 6c 65 73 | 73 20 74 68 61 6e 20 31 |e or les|s than 1|
|00002dd0| 36 33 38 34 0a 20 20 74 | 6f 6f 29 2e 0a 20 20 47 |6384. t|oo).. G|
|00002de0| 43 43 20 64 6f 65 73 20 | 6e 6f 74 20 70 72 6f 64 |CC does |not prod|
|00002df0| 75 63 65 20 61 6e 79 20 | 73 74 61 63 6b 20 63 68 |uce any |stack ch|
|00002e00| 65 63 6b 69 6e 67 20 63 | 6f 64 65 2e 20 53 6f 20 |ecking c|ode. So |
|00002e10| 61 75 74 6f 6d 61 74 69 | 63 20 73 74 61 63 6b 20 |automati|c stack |
|00002e20| 65 78 74 65 6e 73 69 6f | 6e 20 63 61 6e 20 6e 6f |extensio|n can no|
|00002e30| 74 0a 20 20 62 65 20 64 | 6f 6e 65 20 61 6e 64 20 |t. be d|one and |
|00002e40| 74 68 65 20 73 74 61 63 | 6b 20 6d 75 73 74 20 62 |the stac|k must b|
|00002e50| 65 20 61 73 20 62 69 67 | 20 61 73 20 6e 65 65 64 |e as big| as need|
|00002e60| 65 64 20 66 72 6f 6d 20 | 74 68 65 20 62 65 67 69 |ed from |the begi|
|00002e70| 6e 6e 69 6e 67 2e 0a 0a | 0a 2d 20 79 6f 75 20 67 |nning...|.- you g|
|00002e80| 65 74 20 61 20 6e 75 6d | 62 65 72 20 6f 66 20 65 |et a num|ber of e|
|00002e90| 72 72 6f 72 73 20 6d 65 | 6e 74 69 6f 6e 69 6e 67 |rrors me|ntioning|
|00002ea0| 20 61 20 63 6f 6e 66 6c | 69 63 74 20 77 69 74 68 | a confl|ict with|
|00002eb0| 20 62 75 69 6c 74 2d 69 | 6e 20 66 75 6e 63 74 69 | built-i|n functi|
|00002ec0| 6f 6e 73 3a 0a 20 20 63 | 68 61 6e 67 65 20 69 6e |ons:. c|hange in|
|00002ed0| 20 79 6f 75 72 20 73 74 | 72 69 6e 67 2e 68 20 68 | your st|ring.h h|
|00002ee0| 65 61 64 65 72 20 66 69 | 6c 65 20 74 68 65 20 70 |eader fi|le the p|
|00002ef0| 72 6f 74 6f 74 79 70 65 | 73 20 66 6f 72 20 6d 65 |rototype|s for me|
|00002f00| 6d 63 6d 70 2c 20 6d 65 | 6d 63 70 79 20 61 6e 64 |mcmp, me|mcpy and|
|00002f10| 20 73 74 72 6c 65 6e 0a | 20 20 74 6f 0a 20 20 20 | strlen.| to. |
|00002f20| 20 65 78 74 65 72 6e 20 | 69 6e 74 20 6d 65 6d 63 | extern |int memc|
|00002f30| 6d 70 28 63 6f 6e 73 74 | 20 76 6f 69 64 20 2a 20 |mp(const| void * |
|00002f40| 2f 2a 73 31 2a 2f 2c 20 | 63 6f 6e 73 74 20 76 6f |/*s1*/, |const vo|
|00002f50| 69 64 20 2a 20 2f 2a 73 | 32 2a 2f 2c 20 6c 6f 6e |id * /*s|2*/, lon|
|00002f60| 67 20 75 6e 73 69 67 6e | 65 64 20 69 6e 74 20 20 |g unsign|ed int |
|00002f70| 2f 2a 6e 2a 2f 29 3b 0a | 20 20 20 20 65 78 74 65 |/*n*/);.| exte|
|00002f80| 72 6e 20 76 6f 69 64 20 | 2a 6d 65 6d 63 70 79 28 |rn void |*memcpy(|
|00002f90| 76 6f 69 64 20 2a 20 2f | 2a 73 31 2a 2f 2c 20 63 |void * /|*s1*/, c|
|00002fa0| 6f 6e 73 74 20 76 6f 69 | 64 20 2a 20 2f 2a 73 32 |onst voi|d * /*s2|
|00002fb0| 2a 2f 2c 20 6c 6f 6e 67 | 20 75 6e 73 69 67 6e 65 |*/, long| unsigne|
|00002fc0| 64 20 69 6e 74 20 2f 2a | 6e 2a 2f 29 3b 0a 20 20 |d int /*|n*/);. |
|00002fd0| 20 20 65 78 74 65 72 6e | 20 6c 6f 6e 67 20 75 6e | extern| long un|
|00002fe0| 73 69 67 6e 65 64 20 69 | 6e 74 20 73 74 72 6c 65 |signed i|nt strle|
|00002ff0| 6e 28 63 6f 6e 73 74 20 | 63 68 61 72 20 2a 20 2f |n(const |char * /|
|00003000| 2a 73 2a 2f 29 3b 0a 0a | 0a 2d 20 79 6f 75 20 61 |*s*/);..|.- you a|
|00003010| 72 65 20 6e 6f 74 20 61 | 62 6c 65 20 74 6f 20 63 |re not a|ble to c|
|00003020| 6f 6d 70 69 6c 65 20 73 | 6f 6d 65 20 74 65 6d 70 |ompile s|ome temp|
|00003030| 6c 61 74 65 73 3a 20 6e | 6f 20 73 6f 6c 75 74 69 |lates: n|o soluti|
|00003040| 6f 6e 20 79 65 74 2e 0a | 0a 0a 54 68 6f 6d 61 73 |on yet..|..Thomas|
|00003050| 20 41 65 62 79 0a 47 72 | 61 65 66 66 65 74 20 34 | Aeby.Gr|aeffet 4|
|00003060| 30 36 0a 31 37 33 35 20 | 47 69 66 66 65 72 73 0a |06.1735 |Giffers.|
|00003070| 53 77 69 74 7a 65 72 6c | 61 6e 64 0a 54 65 6c 2e |Switzerl|and.Tel.|
|00003080| 20 30 33 37 2f 33 38 20 | 31 36 20 30 30 0a 45 4d | 037/38 |16 00.EM|
|00003090| 61 69 6c 3a 20 61 65 62 | 79 40 75 72 6f 70 61 78 |ail: aeb|y@uropax|
|000030a0| 2e 63 6f 6e 74 72 69 62 | 2e 64 65 0a 46 69 6c 65 |.contrib|.de.File|
|000030b0| 44 61 74 61 82 52 65 61 | 64 6d 65 2f 52 42 00 00 |Data.Rea|dme/RB..|
|000030c0| 08 5e 00 00 47 fd ff ff | b5 64 ad 1e 03 00 13 0c |.^..G...|.d......|
|000030d0| 47 43 43 20 66 6f 72 20 | 52 49 53 43 20 4f 53 0a |GCC for |RISC OS.|
|000030e0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |--------|-------.|
|000030f0| 0a 2d 33 2e 20 43 6f 6e | 74 65 6e 74 73 0a 20 20 |.-3. Con|tents. |
|00003100| 20 20 2d 2d 2d 2d 2d 2d | 2d 2d 0a 0a 20 20 2d 33 | ------|--.. -3|
|00003110| 2e 20 43 6f 6e 74 65 6e | 74 73 0a 20 20 2d 32 2e |. Conten|ts. -2.|
|00003120| 20 46 6f 72 20 72 65 61 | 64 65 72 73 20 6f 66 20 | For rea|ders of |
|00003130| 47 65 72 6d 61 6e 20 6c | 61 6e 67 75 61 67 65 20 |German l|anguage |
|00003140| 6f 6e 6c 79 0a 20 20 2d | 31 2e 20 53 6f 6d 65 74 |only. -|1. Somet|
|00003150| 68 69 6e 67 20 67 65 6e | 65 72 61 6c 0a 20 20 20 |hing gen|eral. |
|00003160| 30 2e 20 49 6e 73 74 61 | 6c 6c 61 74 69 6f 6e 0a |0. Insta|llation.|
|00003170| 20 20 20 31 2e 20 50 72 | 65 66 69 78 65 73 20 69 | 1. Pr|efixes i|
|00003180| 6e 20 66 69 6c 65 6e 61 | 6d 65 73 0a 20 20 20 32 |n filena|mes. 2|
|00003190| 2e 20 28 4f 70 74 69 6f | 6e 73 20 66 6f 72 29 20 |. (Optio|ns for) |
|000031a0| 47 43 43 0a 20 20 20 33 | 2e 20 49 6e 63 6c 75 64 |GCC. 3|. Includ|
|000031b0| 65 20 66 69 6c 65 73 0a | 20 20 20 20 20 33 2e 31 |e files.| 3.1|
|000031c0| 20 48 6f 77 20 74 6f 20 | 75 73 65 20 73 74 61 6e | How to |use stan|
|000031d0| 64 61 72 64 20 43 20 68 | 65 61 64 65 72 20 66 69 |dard C h|eader fi|
|000031e0| 6c 65 73 0a 20 20 20 20 | 20 33 2e 32 20 43 68 61 |les. | 3.2 Cha|
|000031f0| 6e 67 65 73 20 74 6f 20 | 73 74 61 6e 64 61 72 64 |nges to |standard|
|00003200| 20 68 65 61 64 65 72 20 | 66 69 6c 65 73 0a 20 20 | header |files. |
|00003210| 20 34 2e 20 4c 69 6e 6b | 65 72 0a 20 20 20 35 2e | 4. Link|er. 5.|
|00003220| 20 41 4f 46 43 6f 6e 76 | 65 72 74 0a 20 20 20 36 | AOFConv|ert. 6|
|00003230| 2e 20 41 73 73 65 6d 62 | 6c 65 72 0a 20 20 20 37 |. Assemb|ler. 7|
|00003240| 2e 20 4c 69 62 72 61 72 | 69 65 73 0a 20 20 20 20 |. Librar|ies. |
|00003250| 20 37 2e 31 20 53 74 75 | 62 73 20 2f 20 52 49 53 | 7.1 Stu|bs / RIS|
|00003260| 43 5f 4f 53 6c 69 62 0a | 20 20 20 20 20 37 2e 32 |C_OSlib.| 7.2|
|00003270| 20 59 6f 75 72 20 6f 77 | 6e 20 6c 69 62 72 61 72 | Your ow|n librar|
|00003280| 69 65 73 0a 20 20 20 20 | 20 37 2e 33 20 43 6f 6e |ies. | 7.3 Con|
|00003290| 76 65 72 74 69 6e 67 20 | 6c 69 62 72 61 72 69 65 |verting |librarie|
|000032a0| 73 20 66 72 6f 6d 20 41 | 4c 46 20 28 41 63 6f 72 |s from A|LF (Acor|
|000032b0| 6e 20 4c 69 62 72 61 72 | 79 20 46 6f 72 6d 61 74 |n Librar|y Format|
|000032c0| 29 20 74 6f 20 4d 55 50 | 52 4f 53 0a 20 20 20 20 |) to MUP|ROS. |
|000032d0| 20 20 20 20 20 66 6f 72 | 6d 61 74 0a 20 20 20 20 | for|mat. |
|000032e0| 20 37 2e 34 20 54 68 65 | 20 77 69 6d 70 63 6c 61 | 7.4 The| wimpcla|
|000032f0| 73 73 20 6c 69 62 72 61 | 72 79 0a 20 20 20 20 20 |ss libra|ry. |
|00003300| 37 2e 35 20 54 68 65 20 | 6c 69 62 67 2d 2d 20 6c |7.5 The |libg-- l|
|00003310| 69 62 72 61 72 79 0a 20 | 20 20 38 2e 20 4f 62 6a |ibrary. | 8. Obj|
|00003320| 65 63 74 69 76 65 20 43 | 0a 20 20 20 39 2e 20 22 |ective C|. 9. "|
|00003330| 53 75 70 70 6f 72 74 22 | 0a 20 20 31 30 2e 20 53 |Support"|. 10. S|
|00003340| 6f 75 72 63 65 20 63 6f | 64 65 0a 20 20 31 31 2e |ource co|de. 11.|
|00003350| 20 46 6c 6f 61 74 69 6e | 67 20 70 6f 69 6e 74 20 | Floatin|g point |
|00003360| 61 72 69 74 68 6d 65 74 | 69 63 0a 20 20 31 32 2e |arithmet|ic. 12.|
|00003370| 20 4d 65 6d 6f 72 79 0a | 20 20 31 33 2e 20 44 65 | Memory.| 13. De|
|00003380| 62 75 67 67 65 72 0a 20 | 20 31 34 2e 20 41 4f 46 |bugger. | 14. AOF|
|00003390| 0a 20 20 31 35 2e 20 53 | 74 61 63 6b 0a 20 20 31 |. 15. S|tack. 1|
|000033a0| 36 2e 20 43 6f 6e 73 74 | 72 75 63 74 6f 72 73 2f |6. Const|ructors/|
|000033b0| 44 65 73 74 72 75 63 74 | 6f 72 73 0a 0a 0a 0a 2d |Destruct|ors....-|
|000033c0| 32 2e 20 46 6f 72 20 72 | 65 61 64 65 72 73 20 6f |2. For r|eaders o|
|000033d0| 66 20 47 65 72 6d 61 6e | 20 6c 61 6e 67 75 61 67 |f German| languag|
|000033e0| 65 20 6f 6e 6c 79 0a 20 | 20 20 20 2d 2d 2d 2d 2d |e only. | -----|
|000033f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00003400| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |--------|------..|
|00003410| 20 20 4e 75 6e 20 6a 61 | 2c 20 69 63 68 20 68 61 | Nun ja|, ich ha|
|00003420| 62 65 20 6d 69 63 68 20 | 61 6c 73 6f 20 65 6e 74 |be mich |also ent|
|00003430| 73 63 68 69 65 64 65 6e | 2c 20 64 69 65 20 54 65 |schieden|, die Te|
|00003440| 78 74 66 69 6c 65 73 20 | 6e 75 72 20 6e 6f 63 68 |xtfiles |nur noch|
|00003450| 20 69 6e 20 45 6e 67 6c | 69 73 63 68 0a 20 20 7a | in Engl|isch. z|
|00003460| 75 20 66 75 65 68 72 65 | 6e 2e 20 49 63 68 20 64 |u fuehre|n. Ich d|
|00003470| 65 6e 6b 65 2c 20 73 6f | 20 76 65 72 73 74 65 68 |enke, so| versteh|
|00003480| 65 6e 20 6d 69 63 68 20 | 6d 65 68 72 20 4c 65 75 |en mich |mehr Leu|
|00003490| 74 65 2c 20 61 6c 73 20 | 77 65 6e 6e 20 69 63 68 |te, als |wenn ich|
|000034a0| 20 69 6e 20 44 65 75 74 | 73 63 68 0a 20 20 73 63 | in Deut|sch. sc|
|000034b0| 68 72 65 69 62 65 6e 20 | 77 75 65 72 64 65 2e 20 |hreiben |wuerde. |
|000034c0| 49 63 68 20 68 6f 66 66 | 65 2c 20 61 6c 6c 65 20 |Ich hoff|e, alle |
|000034d0| 64 65 75 74 73 63 68 73 | 70 72 61 63 68 69 67 65 |deutschs|prachige|
|000034e0| 6e 20 4c 65 73 65 72 20 | 76 65 72 7a 65 69 68 65 |n Leser |verzeihe|
|000034f0| 6e 20 6d 69 72 21 0a 0a | 0a 0a 2d 31 2e 20 53 6f |n mir!..|..-1. So|
|00003500| 6d 65 74 68 69 6e 67 20 | 67 65 6e 65 72 61 6c 0a |mething |general.|
|00003510| 20 20 20 20 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | ----|--------|
|00003520| 2d 2d 2d 2d 2d 0a 0a 20 | 20 54 68 6f 75 67 68 20 |-----.. | Though |
|00003530| 74 68 69 73 20 64 69 73 | 74 72 69 62 75 74 69 6f |this dis|tributio|
|00003540| 6e 20 69 73 20 63 61 6c | 6c 65 64 20 27 67 63 63 |n is cal|led 'gcc|
|00003550| 2d 32 2e 33 2e 33 27 20 | 69 74 20 69 73 20 4e 4f |-2.3.3' |it is NO|
|00003560| 54 20 74 68 65 20 6f 66 | 66 69 63 69 61 6c 20 67 |T the of|ficial g|
|00003570| 63 63 20 66 6f 72 0a 20 | 20 52 49 53 43 2d 4f 53 |cc for. | RISC-OS|
|00003580| 20 72 65 6c 65 61 73 65 | 20 2d 20 69 74 20 69 73 | release| - it is|
|00003590| 20 6d 79 20 70 72 69 76 | 61 74 65 20 6f 6e 65 2e | my priv|ate one.|
|000035a0| 20 49 20 68 61 76 65 20 | 74 6f 20 61 64 64 20 74 | I have |to add t|
|000035b0| 68 61 74 20 69 74 20 69 | 73 20 4e 4f 54 20 41 54 |hat it i|s NOT AT|
|000035c0| 20 41 4c 4c 0a 20 20 66 | 72 65 65 20 6f 66 20 62 | ALL. f|ree of b|
|000035d0| 75 67 73 2e 20 53 6f 20 | 77 68 65 6e 20 75 73 69 |ugs. So |when usi|
|000035e0| 6e 67 20 74 68 69 73 20 | 76 65 72 73 69 6f 6e 20 |ng this |version |
|000035f0| 6f 66 20 67 63 63 20 79 | 6f 75 20 73 68 6f 75 6c |of gcc y|ou shoul|
|00003600| 64 20 61 6c 77 61 79 73 | 20 6b 65 65 70 20 69 6e |d always| keep in|
|00003610| 20 6d 69 6e 64 0a 20 20 | 74 68 61 74 20 74 68 65 | mind. |that the|
|00003620| 72 65 20 6d 61 79 20 62 | 65 20 28 61 29 20 62 75 |re may b|e (a) bu|
|00003630| 67 73 20 74 68 61 74 20 | 63 6f 75 6c 64 20 6d 61 |gs that |could ma|
|00003640| 6b 65 20 69 74 20 75 73 | 65 6c 65 73 73 20 66 6f |ke it us|eless fo|
|00003650| 72 20 79 6f 75 72 20 73 | 70 65 63 69 66 69 63 20 |r your s|pecific |
|00003660| 70 75 72 70 6f 73 65 2e | 0a 0a 20 20 49 20 74 68 |purpose.|.. I th|
|00003670| 69 6e 6b 20 74 68 61 74 | 20 74 68 65 72 65 20 61 |ink that| there a|
|00003680| 72 65 20 6e 6f 74 20 74 | 6f 6f 20 6d 61 6e 79 20 |re not t|oo many |
|00003690| 62 75 67 73 20 61 73 20 | 77 69 74 68 20 74 68 65 |bugs as |with the|
|000036a0| 20 68 65 6c 70 20 6f 66 | 20 73 6f 6d 65 20 6f 66 | help of| some of|
|000036b0| 20 79 6f 75 20 49 20 77 | 61 73 0a 20 20 61 62 6c | you I w|as. abl|
|000036c0| 65 20 74 6f 20 64 69 73 | 63 6f 76 65 72 20 61 6e |e to dis|cover an|
|000036d0| 64 20 65 6c 69 6d 69 6e | 61 74 65 20 73 6f 6d 65 |d elimin|ate some|
|000036e0| 2e 0a 0a 20 20 54 68 65 | 72 65 20 61 72 65 20 73 |... The|re are s|
|000036f0| 6f 6d 65 20 70 65 6f 70 | 6c 65 20 28 61 72 6f 75 |ome peop|le (arou|
|00003700| 6e 64 20 4d 69 63 68 61 | 65 6c 20 42 65 6e 20 47 |nd Micha|el Ben G|
|00003710| 65 72 73 68 6f 6e 20 61 | 6e 64 20 53 69 6d 6f 6e |ershon a|nd Simon|
|00003720| 20 43 61 6c 6c 61 6e 29 | 20 77 6f 72 6b 69 6e 67 | Callan)| working|
|00003730| 20 6f 6e 0a 20 20 61 6e | 20 6f 66 66 69 63 69 61 | on. an| officia|
|00003740| 6c 20 47 43 43 20 66 6f | 72 20 52 49 53 43 2d 4f |l GCC fo|r RISC-O|
|00003750| 53 20 72 65 6c 65 61 73 | 65 2e 20 54 68 69 73 20 |S releas|e. This |
|00003760| 77 69 6c 6c 20 62 65 20 | 61 20 6d 6f 72 65 20 72 |will be |a more r|
|00003770| 65 6c 69 61 62 6c 65 20 | 6f 6e 65 20 74 68 61 74 |eliable |one that|
|00003780| 20 74 68 69 73 0a 20 20 | 6f 6e 65 20 69 73 2e 20 | this. |one is. |
|00003790| 42 6f 74 68 20 76 65 72 | 73 69 6f 6e 20 77 69 6c |Both ver|sion wil|
|000037a0| 6c 20 63 6f 6e 76 65 72 | 67 65 20 28 69 73 20 74 |l conver|ge (is t|
|000037b0| 68 69 73 20 61 6e 20 45 | 6e 67 6c 69 73 63 68 20 |his an E|nglisch |
|000037c0| 77 6f 72 64 3f 29 20 69 | 6e 20 66 75 74 75 72 65 |word?) i|n future|
|000037d0| 20 73 6f 20 74 68 61 74 | 0a 20 20 79 6f 75 20 77 | so that|. you w|
|000037e0| 69 6c 6c 20 6e 6f 74 20 | 68 61 76 65 20 74 6f 20 |ill not |have to |
|000037f0| 63 6f 6d 70 6c 65 74 65 | 6c 79 20 63 68 61 6e 67 |complete|ly chang|
|00003800| 65 20 79 6f 75 72 20 63 | 6f 6e 63 65 70 74 69 6f |e your c|onceptio|
|00003810| 6e 20 6f 66 20 67 63 63 | 20 61 73 20 73 6f 6f 6e |n of gcc| as soon|
|00003820| 20 61 73 20 74 68 65 0a | 20 20 6f 66 66 69 63 69 | as the.| offici|
|00003830| 61 6c 20 76 65 72 73 69 | 6f 6e 20 69 73 20 61 76 |al versi|on is av|
|00003840| 61 69 6c 61 62 6c 65 2e | 0a 0a 0a 0a 30 2e 20 49 |ailable.|....0. I|
|00003850| 6e 73 74 61 6c 6c 61 74 | 69 6f 6e 0a 20 20 20 2d |nstallat|ion. -|
|00003860| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0a 0a 54 68 65 |--------|---..The|
|00003870| 20 69 6e 73 74 61 6c 6c | 61 74 69 6f 6e 20 63 6f | install|ation co|
|00003880| 6e 73 69 73 74 73 20 6f | 66 3a 0a 0a 20 20 31 2e |nsists o|f:.. 1.|
|00003890| 20 52 55 4e 24 50 61 74 | 68 20 6d 75 73 74 20 62 | RUN$Pat|h must b|
|000038a0| 65 20 65 78 74 65 6e 64 | 65 64 20 77 69 74 68 20 |e extend|ed with |
|000038b0| 74 68 65 20 64 69 72 65 | 63 74 6f 72 79 20 6e 61 |the dire|ctory na|
|000038c0| 6d 65 2c 20 77 68 69 63 | 68 20 63 6f 6e 74 61 69 |me, whic|h contai|
|000038d0| 6e 73 20 74 68 65 0a 20 | 20 20 20 20 47 4e 55 20 |ns the. | GNU |
|000038e0| 43 20 65 78 65 63 75 74 | 61 62 6c 65 73 2e 20 59 |C execut|ables. Y|
|000038f0| 6f 75 20 63 61 6e 20 61 | 6c 73 6f 20 63 6f 70 79 |ou can a|lso copy|
|00003900| 20 74 68 65 6d 20 74 6f | 20 79 6f 75 72 20 6c 69 | them to| your li|
|00003910| 62 72 61 72 79 20 64 69 | 72 65 63 74 6f 72 79 2e |brary di|rectory.|
|00003920| 0a 0a 0a 20 20 32 2e 20 | 53 65 74 20 74 68 65 20 |... 2. |Set the |
|00003930| 76 61 72 69 61 62 6c 65 | 20 43 50 41 54 48 2e 20 |variable| CPATH. |
|00003940| 54 68 69 73 20 76 61 72 | 69 61 62 6c 65 20 73 68 |This var|iable sh|
|00003950| 6f 75 6c 64 20 63 6f 6e | 74 61 69 6e 20 74 68 65 |ould con|tain the|
|00003960| 20 64 69 72 65 63 74 6f | 72 69 65 73 2c 0a 20 20 | directo|ries,. |
|00003970| 20 20 20 77 68 69 63 68 | 20 63 6f 6e 74 61 69 6e | which| contain|
|00003980| 20 74 68 65 20 68 65 61 | 64 65 72 20 66 69 6c 65 | the hea|der file|
|00003990| 73 2e 20 46 6f 72 20 69 | 6e 73 74 61 6e 63 65 3a |s. For i|nstance:|
|000039a0| 0a 0a 20 20 20 20 20 53 | 65 74 20 43 50 41 54 48 |.. S|et CPATH|
|000039b0| 20 49 44 45 46 53 3a 3a | 49 44 45 44 69 73 63 34 | IDEFS::|IDEDisc4|
|000039c0| 2e 24 2e 44 65 73 6b 74 | 6f 70 43 2e 43 6c 69 62 |.$.Deskt|opC.Clib|
|000039d0| 0a 0a 20 20 20 20 20 43 | 50 41 54 48 20 63 61 6e |.. C|PATH can|
|000039e0| 20 63 6f 6e 74 61 69 6e | 20 6d 6f 72 65 20 74 68 | contain| more th|
|000039f0| 61 6e 20 6f 6e 65 20 64 | 69 72 65 63 74 6f 72 79 |an one d|irectory|
|00003a00| 20 6e 61 6d 65 20 62 79 | 20 75 73 69 6e 67 20 27 | name by| using '|
|00003a10| 3b 27 20 73 65 70 65 72 | 61 74 6f 72 73 2e 0a 20 |;' seper|ators.. |
|00003a20| 20 0a 20 20 20 20 20 46 | 6f 72 20 69 6e 73 74 61 | . F|or insta|
|00003a30| 6e 63 65 3a 0a 0a 20 20 | 20 20 20 49 66 20 79 6f |nce:.. | If yo|
|00003a40| 75 72 20 68 65 61 64 65 | 72 20 66 69 6c 65 73 20 |ur heade|r files |
|00003a50| 61 72 65 20 69 6e 20 24 | 2e 63 6c 69 62 2e 31 2e |are in $|.clib.1.|
|00003a60| 68 20 61 6e 64 20 24 2e | 63 6c 69 62 2e 32 2e 68 |h and $.|clib.2.h|
|00003a70| 2c 20 43 50 41 54 48 20 | 6d 75 73 74 20 62 65 0a |, CPATH |must be.|
|00003a80| 20 20 20 20 20 73 65 74 | 20 61 73 20 66 6f 6c 6c | set| as foll|
|00003a90| 6f 77 73 3a 0a 0a 20 20 | 20 20 20 53 65 74 20 43 |ows:.. | Set C|
|00003aa0| 50 41 54 48 20 24 2e 63 | 6c 69 62 2e 31 3b 24 2e |PATH $.c|lib.1;$.|
|00003ab0| 63 6c 69 62 2e 32 0a 20 | 20 20 20 0a 20 20 20 20 |clib.2. | . |
|00003ac0| 20 59 6f 75 20 6d 61 79 | 20 61 6c 73 6f 20 77 61 | You may| also wa|
|00003ad0| 6e 74 20 74 6f 20 73 65 | 74 20 74 68 65 20 76 61 |nt to se|t the va|
|00003ae0| 72 69 61 62 6c 65 73 3a | 0a 0a 20 20 20 20 20 43 |riables:|.. C|
|00003af0| 5f 49 4e 43 4c 55 44 45 | 5f 50 41 54 48 0a 20 20 |_INCLUDE|_PATH. |
|00003b00| 20 20 20 43 50 4c 55 53 | 5f 49 4e 43 4c 55 44 45 | CPLUS|_INCLUDE|
|00003b10| 5f 50 41 54 48 0a 20 20 | 20 20 20 4f 42 4a 43 5f |_PATH. | OBJC_|
|00003b20| 49 4e 43 4c 55 44 45 5f | 50 41 54 48 0a 20 20 20 |INCLUDE_|PATH. |
|00003b30| 20 20 4f 42 4a 43 50 4c | 55 53 5f 49 4e 4c 43 55 | OBJCPL|US_INLCU|
|00003b40| 44 45 5f 50 41 54 48 0a | 0a 20 20 20 20 20 43 50 |DE_PATH.|. CP|
|00003b50| 4c 55 53 5f 49 4e 43 4c | 55 44 45 5f 50 41 54 48 |LUS_INCL|UDE_PATH|
|00003b60| 20 61 6e 64 20 4f 42 4a | 43 50 4c 55 53 5f 49 4e | and OBJ|CPLUS_IN|
|00003b70| 43 4c 55 44 45 5f 50 41 | 54 48 20 77 69 6c 6c 20 |CLUDE_PA|TH will |
|00003b80| 62 65 20 6f 6e 6c 79 20 | 75 73 65 64 20 64 75 72 |be only |used dur|
|00003b90| 69 6e 67 0a 20 20 20 20 | 20 63 6f 6d 70 69 6c 69 |ing. | compili|
|00003ba0| 6e 67 20 63 2b 2b 20 73 | 6f 75 72 63 65 73 2c 20 |ng c++ s|ources, |
|00003bb0| 6f 62 6a 65 63 74 69 76 | 65 20 63 20 73 6f 75 72 |objectiv|e c sour|
|00003bc0| 63 65 73 20 72 65 73 70 | 2e 0a 0a 20 20 20 20 20 |ces resp|... |
|00003bd0| 64 6f 20 6e 6f 74 20 66 | 6f 72 67 65 74 20 74 68 |do not f|orget th|
|00003be0| 65 20 68 65 61 64 65 72 | 20 66 69 6c 65 73 20 69 |e header| files i|
|00003bf0| 6e 20 72 69 73 63 6c 69 | 62 2e 69 6e 63 2e 68 21 |n riscli|b.inc.h!|
|00003c00| 0a 0a 0a 20 20 33 2e 20 | 59 6f 75 20 6d 75 73 74 |... 3. |You must|
|00003c10| 20 73 65 74 20 74 68 65 | 20 76 61 72 69 61 62 6c | set the| variabl|
|00003c20| 65 20 6d 75 6c 69 62 24 | 50 61 74 68 20 74 6f 20 |e mulib$|Path to |
|00003c30| 74 68 65 20 46 55 4c 4c | 20 64 69 72 65 63 74 6f |the FULL| directo|
|00003c40| 72 79 20 6e 61 6d 65 20 | 77 68 65 72 65 0a 20 20 |ry name |where. |
|00003c50| 20 20 20 74 68 65 20 72 | 69 73 63 6c 69 62 20 6c | the r|isclib l|
|00003c60| 69 62 72 61 72 69 65 73 | 20 63 61 6e 20 62 65 20 |ibraries| can be |
|00003c70| 66 6f 75 6e 64 20 28 65 | 2e 67 2e 20 73 74 75 62 |found (e|.g. stub|
|00003c80| 73 6d 75 20 61 6e 64 20 | 6f 73 6c 69 62 5f 6d 75 |smu and |oslib_mu|
|00003c90| 29 2e 20 46 6f 72 0a 20 | 20 20 20 20 69 6e 73 74 |). For. | inst|
|00003ca0| 61 6e 63 65 3a 0a 0a 20 | 20 20 20 20 53 65 74 20 |ance:.. | Set |
|00003cb0| 6d 75 6c 69 62 24 70 61 | 74 68 20 49 44 45 46 53 |mulib$pa|th IDEFS|
|00003cc0| 3a 3a 49 44 45 44 69 73 | 63 34 2e 24 2e 54 65 6d |::IDEDis|c4.$.Tem|
|00003cd0| 70 2e 47 4e 55 2d 43 43 | 2e 67 63 63 32 2d 33 2d |p.GNU-CC|.gcc2-3-|
|00003ce0| 33 2e 72 69 73 63 6c 69 | 62 2e 0a 0a 20 20 20 20 |3.riscli|b... |
|00003cf0| 20 54 68 65 20 6c 69 62 | 72 61 72 69 65 73 20 63 | The lib|raries c|
|00003d00| 61 6e 20 62 65 20 66 6f | 75 6e 64 20 62 79 20 63 |an be fo|und by c|
|00003d10| 61 6c 6c 69 6e 67 20 4c | 69 62 72 61 72 69 65 73 |alling L|ibraries|
|00003d20| 20 6d 75 6c 69 62 3a 73 | 74 75 62 73 6d 75 20 61 | mulib:s|tubsmu a|
|00003d30| 6e 64 0a 20 20 20 20 20 | 6d 75 6c 69 62 3a 6f 73 |nd. |mulib:os|
|00003d40| 6c 69 62 5f 6d 75 0a 0a | 20 20 20 20 20 73 65 74 |lib_mu..| set|
|00003d50| 20 74 68 65 20 76 61 72 | 69 61 62 6c 65 20 63 6c | the var|iable cl|
|00003d60| 69 62 24 50 61 74 68 20 | 74 6f 20 74 68 65 20 64 |ib$Path |to the d|
|00003d70| 69 72 65 63 74 6f 72 79 | 20 6e 61 6d 65 20 77 68 |irectory| name wh|
|00003d80| 65 72 65 20 74 68 65 20 | 6f 72 69 67 69 6e 61 6c |ere the |original|
|00003d90| 20 6c 69 62 72 61 72 69 | 65 73 0a 20 20 20 20 20 | librari|es. |
|00003da0| 28 69 6e 20 41 4f 46 2d | 66 6f 72 6d 61 74 29 20 |(in AOF-|format) |
|00003db0| 63 61 6e 20 62 65 20 66 | 6f 75 6e 64 2e 20 46 6f |can be f|ound. Fo|
|00003dc0| 72 20 69 6e 73 74 61 6e | 63 65 3a 0a 0a 20 20 20 |r instan|ce:.. |
|00003dd0| 20 20 53 65 74 20 63 6c | 69 62 24 70 61 74 68 20 | Set cl|ib$path |
|00003de0| 61 64 66 73 3a 3a 34 2e | 24 2e 63 2d 63 6f 6d 70 |adfs::4.|$.c-comp|
|00003df0| 69 6c 65 72 2e 63 6c 69 | 62 2e 0a 0a 0a 20 20 34 |iler.cli|b.... 4|
|00003e00| 2e 20 59 6f 75 20 6d 61 | 79 20 68 61 76 65 20 74 |. You ma|y have t|
|00003e10| 6f 20 63 6f 6e 76 65 72 | 74 20 53 74 75 62 73 20 |o conver|t Stubs |
|00003e20| 75 6e 64 20 52 49 53 43 | 5f 4f 53 6c 69 62 20 28 |und RISC|_OSlib (|
|00003e30| 75 73 65 20 6d 61 6b 65 | 6c 69 62 73 20 69 6e 20 |use make|libs in |
|00003e40| 74 68 65 20 72 69 73 63 | 6c 69 62 0a 20 20 20 20 |the risc|lib. |
|00003e50| 20 64 69 72 65 63 74 6f | 72 79 29 2e 20 4d 61 6b | directo|ry). Mak|
|00003e60| 65 6c 69 62 73 20 64 6f | 65 73 20 61 6c 73 6f 20 |elibs do|es also |
|00003e70| 63 6f 6d 70 69 6c 65 20 | 74 68 65 20 77 69 6d 70 |compile |the wimp|
|00003e80| 63 6c 61 73 73 20 6c 69 | 62 72 61 72 79 20 28 4d |class li|brary (M|
|00003e90| 55 50 52 4f 53 20 66 6f | 72 6d 61 74 29 2e 0a 20 |UPROS fo|rmat).. |
|00003ea0| 20 20 20 20 59 6f 75 20 | 73 68 6f 75 6c 64 20 72 | You |should r|
|00003eb0| 75 6e 20 6d 61 6b 65 6c | 69 62 73 20 65 76 65 6e |un makel|ibs even|
|00003ec0| 20 69 66 20 79 6f 75 20 | 68 61 76 65 20 61 6c 72 | if you |have alr|
|00003ed0| 65 61 64 79 20 61 20 72 | 75 6e 6e 69 6e 67 20 76 |eady a r|unning v|
|00003ee0| 65 72 73 69 6f 6e 20 6f | 66 20 67 63 63 0a 20 20 |ersion o|f gcc. |
|00003ef0| 20 20 20 69 6e 73 74 61 | 6c 6c 65 64 20 2d 20 74 | insta|lled - t|
|00003f00| 68 65 72 65 20 61 72 65 | 20 73 6f 6d 65 20 63 68 |here are| some ch|
|00003f10| 61 6e 67 65 73 2e 0a 0a | 0a 20 20 35 2e 20 63 6f |anges...|. 5. co|
|00003f20| 6d 70 69 6c 65 20 74 68 | 65 20 77 69 6d 70 63 6c |mpile th|e wimpcl|
|00003f30| 61 73 73 20 6c 69 62 72 | 61 72 79 20 28 66 6f 72 |ass libr|ary (for|
|00003f40| 20 70 65 6f 70 6c 65 20 | 77 68 6f 27 64 20 6c 69 | people |who'd li|
|00003f50| 6b 65 20 74 6f 20 75 73 | 65 20 41 4f 46 20 66 6f |ke to us|e AOF fo|
|00003f60| 72 6d 61 74 20 6f 62 6a | 65 63 74 0a 20 20 20 20 |rmat obj|ect. |
|00003f70| 20 66 69 6c 65 73 29 20 | 62 79 20 61 6d 75 2d 69 | files) |by amu-i|
|00003f80| 6e 67 20 74 68 65 20 6d | 61 6b 65 41 4f 46 20 66 |ng the m|akeAOF f|
|00003f90| 69 6c 65 20 69 6e 20 74 | 68 65 20 72 69 73 63 6c |ile in t|he riscl|
|00003fa0| 69 62 20 64 69 72 65 63 | 74 6f 72 79 2e 20 49 74 |ib direc|tory. It|
|00003fb0| 20 77 69 6c 6c 20 62 75 | 69 6c 64 0a 20 20 20 20 | will bu|ild. |
|00003fc0| 20 74 68 65 20 77 69 6d | 70 63 6c 61 73 73 20 61 | the wim|pclass a|
|00003fd0| 6e 64 20 67 63 63 65 78 | 74 20 6c 69 62 72 61 72 |nd gccex|t librar|
|00003fe0| 69 65 73 20 69 6e 20 74 | 68 65 20 63 6c 69 62 3a |ies in t|he clib:|
|00003ff0| 6f 20 64 69 72 65 63 74 | 6f 72 79 2e 0a 0a 20 20 |o direct|ory... |
|00004000| 36 2e 20 54 68 65 20 64 | 6f 63 75 6d 65 6e 74 61 |6. The d|ocumenta|
|00004010| 74 69 6f 6e 20 63 61 6e | 20 62 65 20 66 6f 75 6e |tion can| be foun|
|00004020| 64 20 69 6e 20 74 68 65 | 20 27 64 6f 63 27 20 64 |d in the| 'doc' d|
|00004030| 69 72 65 63 74 6f 72 79 | 2e 0a 0a 20 20 37 2e 20 |irectory|... 7. |
|00004040| 48 61 76 65 20 61 20 6c | 6f 6f 6b 20 61 74 20 74 |Have a l|ook at t|
|00004050| 68 65 20 21 73 62 63 6f | 6e 66 69 67 20 61 70 70 |he !sbco|nfig app|
|00004060| 6c 69 63 61 74 69 6f 6e | 2e 20 49 74 20 69 73 20 |lication|. It is |
|00004070| 61 20 67 6f 6f 64 20 73 | 61 6d 70 6c 65 20 6f 6e |a good s|ample on|
|00004080| 20 68 6f 77 20 74 6f 20 | 75 73 65 0a 20 20 20 20 | how to |use. |
|00004090| 20 77 69 6d 70 63 6c 61 | 73 73 20 6c 69 62 72 61 | wimpcla|ss libra|
|000040a0| 72 79 20 2d 20 61 6e 64 | 20 69 74 20 69 6e 63 6c |ry - and| it incl|
|000040b0| 75 64 65 73 20 6d 61 6b | 65 20 66 69 6c 65 73 20 |udes mak|e files |
|000040c0| 66 6f 72 20 62 6f 74 68 | 20 6d 75 70 72 6f 73 20 |for both| mupros |
|000040d0| 61 6e 64 20 41 4f 46 0a | 20 20 20 20 20 63 6f 6d |and AOF.| com|
|000040e0| 70 69 6c 69 6e 67 2f 6c | 69 6e 6b 69 6e 67 0a 0a |piling/l|inking..|
|000040f0| 0a 0a 31 2e 20 50 72 65 | 66 69 78 65 73 20 69 6e |..1. Pre|fixes in|
|00004100| 20 66 69 6c 65 6e 61 6d | 65 73 0a 20 20 20 2d 2d | filenam|es. --|
|00004110| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004120| 2d 2d 2d 0a 0a 55 6e 69 | 78 20 65 78 70 65 63 74 |---..Uni|x expect|
|00004130| 73 2c 20 69 6e 20 63 6f | 6e 74 72 61 72 79 20 74 |s, in co|ntrary t|
|00004140| 6f 20 52 49 53 43 20 4f | 53 2c 20 74 68 61 74 20 |o RISC O|S, that |
|00004150| 66 69 6c 65 73 20 74 79 | 70 65 73 20 73 75 63 68 |files ty|pes such|
|00004160| 20 61 73 20 2e 63 20 2e | 6f 20 2e 63 63 0a 61 72 | as .c .|o .cc.ar|
|00004170| 65 20 75 73 65 64 20 61 | 73 20 65 78 74 65 6e 73 |e used a|s extens|
|00004180| 69 6f 6e 20 74 6f 20 74 | 68 65 20 66 69 6c 65 6e |ion to t|he filen|
|00004190| 61 6d 65 20 28 65 2e 67 | 2e 20 6d 79 66 69 6c 65 |ame (e.g|. myfile|
|000041a0| 2e 63 29 2e 20 47 43 43 | 20 75 73 65 73 20 61 6c |.c). GCC| uses al|
|000041b0| 73 6f 0a 66 69 6c 65 20 | 6e 61 6d 65 73 20 69 6e |so.file |names in|
|000041c0| 20 74 68 69 73 20 66 6f | 72 6d 61 74 2e 20 49 6e | this fo|rmat. In|
|000041d0| 20 6f 72 64 65 72 20 74 | 6f 20 62 65 68 61 76 65 | order t|o behave|
|000041e0| 20 63 6f 72 72 65 63 74 | 6c 79 20 75 6e 64 65 72 | correct|ly under|
|000041f0| 20 52 49 53 43 20 4f 53 | 2c 0a 47 43 43 20 6d 6f | RISC OS|,.GCC mo|
|00004200| 76 65 73 20 74 68 65 20 | 66 69 6c 65 20 74 79 70 |ves the |file typ|
|00004210| 65 20 65 78 74 65 6e 73 | 69 6f 6e 20 74 6f 20 74 |e extens|ion to t|
|00004220| 68 65 20 73 74 61 72 74 | 20 6f 66 20 74 68 65 20 |he start| of the |
|00004230| 66 69 6c 65 6e 61 6d 65 | 2e 20 46 6f 72 20 69 6e |filename|. For in|
|00004240| 73 74 61 6e 63 65 0a 27 | 47 43 43 20 73 61 6d 70 |stance.'|GCC samp|
|00004250| 6c 65 2e 63 27 20 77 69 | 6c 6c 20 62 65 20 27 47 |le.c' wi|ll be 'G|
|00004260| 43 43 20 63 2e 73 61 6d | 70 6c 65 27 2e 20 4e 6f |CC c.sam|ple'. No|
|00004270| 74 65 3a 20 27 69 72 67 | 65 6e 64 2e 73 61 6d 70 |te: 'irg|end.samp|
|00004280| 6c 65 2e 63 27 20 77 69 | 6c 6c 20 62 65 0a 27 63 |le.c' wi|ll be.'c|
|00004290| 2e 69 72 67 65 6e 64 2e | 73 61 6d 70 6c 65 27 2e |.irgend.|sample'.|
|000042a0| 20 47 43 43 20 75 73 65 | 73 20 74 68 65 73 65 20 | GCC use|s these |
|000042b0| 65 78 74 65 6e 73 69 6f | 6e 73 20 69 6e 20 6f 72 |extensio|ns in or|
|000042c0| 64 65 72 20 74 6f 20 66 | 69 6e 64 20 6f 75 74 20 |der to f|ind out |
|000042d0| 74 68 65 0a 66 69 6c 65 | 20 74 79 70 65 2e 20 52 |the.file| type. R|
|000042e0| 65 6d 65 6d 62 65 72 3a | 20 61 6c 6c 20 75 6e 72 |emember:| all unr|
|000042f0| 65 63 6f 67 6e 69 7a 65 | 64 20 66 69 6c 65 73 20 |ecognize|d files |
|00004300| 61 72 65 20 74 72 65 61 | 74 65 64 20 6c 69 6b 65 |are trea|ted like|
|00004310| 20 6f 62 6a 65 63 74 20 | 66 69 6c 65 73 2e 0a 0a | object |files...|
|00004320| 54 68 65 20 65 78 74 65 | 6e 73 69 6f 6e 73 20 68 |The exte|nsions h|
|00004330| 61 76 65 20 74 68 65 20 | 66 6f 6c 6c 6f 77 69 6e |ave the |followin|
|00004340| 67 20 6d 65 61 6e 69 6e | 67 3a 0a 0a 20 2e 63 20 |g meanin|g:.. .c |
|00004350| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 43 20 53 | | C S|
|00004360| 6f 75 72 63 65 0a 20 2e | 63 63 2c 20 2e 63 78 78 |ource. .|cc, .cxx|
|00004370| 2c 20 2e 43 20 20 20 43 | 2b 2b 20 53 6f 75 72 63 |, .C C|++ Sourc|
|00004380| 65 20 28 4e 6f 74 65 3a | 20 6f 6e 6c 79 20 2e 63 |e (Note:| only .c|
|00004390| 63 20 63 61 6e 20 62 65 | 20 75 73 65 64 20 77 69 |c can be| used wi|
|000043a0| 74 68 20 52 49 53 43 20 | 4f 53 29 0a 20 2e 6d 20 |th RISC |OS). .m |
|000043b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 6f 62 6a | | obj|
|000043c0| 65 63 74 69 76 65 2d 43 | 20 53 6f 75 72 63 65 20 |ective-C| Source |
|000043d0| 28 6e 6f 74 20 79 65 74 | 20 73 75 70 70 6f 72 74 |(not yet| support|
|000043e0| 65 64 29 0a 20 2e 6f 20 | 20 20 20 20 20 20 20 20 |ed). .o | |
|000043f0| 20 20 20 20 20 6f 62 6a | 65 63 74 20 66 69 6c 65 | obj|ect file|
|00004400| 0a 20 2e 68 20 20 20 20 | 20 20 20 20 20 20 20 20 |. .h | |
|00004410| 20 20 68 65 61 64 65 72 | 20 66 69 6c 65 0a 20 2e | header| file. .|
|00004420| 69 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 70 |i | p|
|00004430| 72 65 2d 70 72 6f 63 65 | 73 73 65 64 20 66 69 6c |re-proce|ssed fil|
|00004440| 65 20 28 63 70 70 20 6f | 75 74 70 75 74 29 0a 20 |e (cpp o|utput). |
|00004450| 2e 69 69 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.ii | |
|00004460| 70 72 65 2d 70 72 6f 63 | 65 73 73 65 64 20 43 2b |pre-proc|essed C+|
|00004470| 2b 20 66 69 6c 65 0a 20 | 2e 73 20 20 20 20 20 20 |+ file. |.s |
|00004480| 20 20 20 20 20 20 20 20 | 61 73 73 65 6d 62 6c 65 | |assemble|
|00004490| 72 20 73 6f 75 72 63 65 | 0a 20 2e 53 20 20 20 20 |r source|. .S |
|000044a0| 20 20 20 20 20 20 20 20 | 20 20 61 73 73 65 6d 62 | | assemb|
|000044b0| 6c 65 72 20 73 6f 75 72 | 63 65 20 28 6e 65 65 64 |ler sour|ce (need|
|000044c0| 73 20 70 72 65 2d 70 72 | 6f 63 65 73 73 69 6e 67 |s pre-pr|ocessing|
|000044d0| 29 0a 0a 0a 0a 32 2e 20 | 28 4f 70 74 69 6f 6e 73 |)....2. |(Options|
|000044e0| 20 66 6f 72 29 20 47 43 | 43 0a 20 20 20 2d 2d 2d | for) GC|C. ---|
|000044f0| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 0a 0a |--------|------..|
|00004500| 53 69 6e 63 65 20 72 65 | 76 69 73 69 6f 6e 20 41 |Since re|vision A|
|00004510| 20 47 43 43 20 69 73 20 | 61 62 6c 65 20 74 6f 20 | GCC is |able to |
|00004520| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 69 6e |automati|cally in|
|00004530| 76 6f 6b 65 20 74 68 65 | 20 6c 69 6e 6b 65 72 2e |voke the| linker.|
|00004540| 20 57 69 74 68 20 52 65 | 76 69 73 69 6f 6e 0a 42 | With Re|vision.B|
|00004550| 20 69 74 20 69 6e 76 6f | 6b 65 73 20 65 69 74 68 | it invo|kes eith|
|00004560| 65 72 20 6d 75 6c 69 6e | 6b 20 6f 72 20 6c 69 6e |er mulin|k or lin|
|00004570| 6b 20 28 41 63 6f 72 6e | 27 73 20 6c 69 6e 6b 65 |k (Acorn|'s linke|
|00004580| 72 29 20 64 65 70 65 6e | 64 69 6e 67 20 6f 6e 20 |r) depen|ding on |
|00004590| 77 65 74 68 65 72 20 74 | 68 65 0a 2d 61 6f 66 20 |wether t|he.-aof |
|000045a0| 73 77 69 74 63 68 20 69 | 73 20 6f 66 66 20 6f 72 |switch i|s off or|
|000045b0| 20 6f 6e 2e 20 54 68 65 | 72 65 20 61 72 65 20 6e | on. The|re are n|
|000045c0| 6f 20 6c 69 62 72 61 72 | 69 65 73 20 61 75 74 6f |o librar|ies auto|
|000045d0| 6d 61 74 69 63 61 6c 6c | 79 20 6c 69 6e 6b 65 64 |maticall|y linked|
|000045e0| 2e 0a 0a 41 6e 20 65 78 | 61 63 74 20 65 78 70 6c |...An ex|act expl|
|000045f0| 61 6e 61 74 69 6f 6e 20 | 6f 66 20 74 68 65 20 63 |anation |of the c|
|00004600| 6f 6d 70 69 6c 65 72 20 | 6f 70 74 69 6f 6e 73 20 |ompiler |options |
|00004610| 61 72 65 20 67 69 76 65 | 6e 20 69 6e 20 74 68 65 |are give|n in the|
|00004620| 20 66 69 6c 65 20 27 69 | 6e 76 6f 6b 65 27 0a 69 | file 'i|nvoke'.i|
|00004630| 6e 20 74 68 65 20 64 6f | 63 20 64 69 72 65 63 74 |n the do|c direct|
|00004640| 6f 72 79 2e 20 4d 6f 73 | 74 20 6f 70 74 69 6f 6e |ory. Mos|t option|
|00004650| 73 20 61 72 65 20 6a 75 | 73 74 20 6c 69 6b 65 20 |s are ju|st like |
|00004660| 77 69 74 68 20 6f 74 68 | 65 72 20 43 20 63 6f 6d |with oth|er C com|
|00004670| 70 69 6c 65 72 73 2e 0a | 59 6f 75 20 6d 75 73 74 |pilers..|You must|
|00004680| 20 6e 6f 74 20 66 6f 72 | 67 65 74 20 74 6f 20 75 | not for|get to u|
|00004690| 73 65 20 74 68 65 20 2d | 4f 20 6f 72 20 2d 4f 32 |se the -|O or -O2|
|000046a0| 20 28 6f 70 74 69 6d 69 | 7a 69 6e 67 29 20 6f 70 | (optimi|zing) op|
|000046b0| 74 69 6f 6e 2e 20 57 69 | 74 68 6f 75 74 20 74 68 |tion. Wi|thout th|
|000046c0| 65 73 65 0a 6f 70 74 69 | 6f 6e 73 20 79 6f 75 20 |ese.opti|ons you |
|000046d0| 77 69 6c 6c 20 67 65 74 | 20 6c 65 73 73 20 65 66 |will get| less ef|
|000046e0| 66 69 63 69 65 6e 74 20 | 63 6f 64 65 2e 0a 0a 4d |ficient |code...M|
|000046f0| 61 63 68 69 6e 65 20 64 | 65 70 65 6e 64 65 6e 74 |achine d|ependent|
|00004700| 20 6f 70 74 69 6f 6e 73 | 3a 0a 0a 20 2d 6d 6e 6f | options|:.. -mno|
|00004710| 2d 61 70 73 63 20 20 20 | 20 20 20 20 20 20 20 20 |-apsc | |
|00004720| 20 75 73 65 20 74 68 65 | 20 43 2d 63 61 6c 6c 20 | use the| C-call |
|00004730| 63 6f 6e 76 65 6e 74 69 | 6f 6e 20 66 6f 72 20 66 |conventi|on for f|
|00004740| 75 6e 63 74 69 6f 6e 73 | 2e 0a 20 2d 6d 63 6f 70 |unctions|.. -mcop|
|00004750| 72 6f 63 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |roc | |
|00004760| 43 6f 70 72 6f 63 65 73 | 73 6f 72 20 69 73 20 61 |Coproces|sor is a|
|00004770| 76 61 69 6c 61 62 6c 65 | 20 28 64 75 65 20 74 6f |vailable| (due to|
|00004780| 20 63 6f 64 65 20 6f 70 | 74 69 6d 69 7a 69 6e 67 | code op|timizing|
|00004790| 2c 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,. | |
|000047a0| 20 20 20 20 20 20 20 20 | 77 6f 72 6b 73 20 61 6c | |works al|
|000047b0| 73 6f 20 77 69 74 68 6f | 75 74 20 6f 6e 65 29 0a |so witho|ut one).|
|000047c0| 20 2d 6d 70 6f 6b 65 2d | 66 75 6e 63 74 69 6f 6e | -mpoke-|function|
|000047d0| 2d 6e 61 6d 65 20 66 75 | 6e 63 74 69 6f 6e 20 6e |-name fu|nction n|
|000047e0| 61 6d 65 73 20 66 6f 72 | 20 70 6f 73 74 20 6d 6f |ames for| post mo|
|000047f0| 72 74 65 6d 20 64 65 62 | 75 67 67 65 72 20 69 6e |rtem deb|ugger in|
|00004800| 20 63 6f 64 65 0a 20 2d | 61 6f 66 20 20 20 20 20 | code. -|aof |
|00004810| 20 20 20 20 20 20 20 20 | 20 20 20 20 75 73 65 20 | | use |
|00004820| 41 4f 46 20 69 6e 73 74 | 65 61 64 20 6f 66 20 6d |AOF inst|ead of m|
|00004830| 75 70 72 6f 73 20 6f 62 | 6a 65 63 74 20 66 69 6c |upros ob|ject fil|
|00004840| 65 20 66 6f 72 6d 61 74 | 20 28 6e 65 77 29 0a 20 |e format| (new). |
|00004850| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004860| 20 20 20 20 20 79 6f 75 | 20 63 61 6e 20 6e 6f 74 | you| can not|
|00004870| 20 6d 69 78 20 41 4f 46 | 20 61 6e 64 20 6d 75 70 | mix AOF| and mup|
|00004880| 72 6f 73 21 0a 20 2d 2b | 20 20 20 20 20 20 20 20 |ros!. -+| |
|00004890| 20 20 20 20 20 20 20 20 | 20 20 20 28 70 61 73 73 | | (pass|
|000048a0| 65 64 20 74 6f 20 74 68 | 65 20 6c 69 6e 6b 65 72 |ed to th|e linker|
|000048b0| 29 20 6d 61 74 63 68 20 | 43 2b 2b 20 66 75 6e 63 |) match |C++ func|
|000048c0| 74 69 6f 6e 20 63 61 6c | 6c 73 0a 20 20 20 20 20 |tion cal|ls. |
|000048d0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000048e0| 20 74 6f 20 43 20 66 75 | 6e 63 74 69 6f 6e 20 6e | to C fu|nction n|
|000048f0| 61 6d 65 73 2e 20 77 69 | 74 68 20 74 68 61 74 20 |ames. wi|th that |
|00004900| 73 77 69 74 63 68 20 6f | 6e 20 79 6f 75 20 63 61 |switch o|n you ca|
|00004910| 6e 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |n. | |
|00004920| 20 20 20 20 20 20 20 20 | 63 61 6c 6c 20 43 20 66 | |call C f|
|00004930| 75 6e 63 74 69 6f 6e 73 | 20 66 72 6f 6d 20 61 20 |unctions| from a |
|00004940| 43 2b 2b 20 70 72 6f 67 | 72 61 6d 20 77 69 74 68 |C++ prog|ram with|
|00004950| 6f 75 74 20 64 65 63 6c | 61 72 69 6e 67 0a 20 20 |out decl|aring. |
|00004960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00004970| 20 20 20 20 69 74 20 61 | 73 20 65 78 74 65 72 6e | it a|s extern|
|00004980| 20 22 43 22 20 28 64 6f | 65 73 20 6e 6f 74 20 77 | "C" (do|es not w|
|00004990| 6f 72 6b 20 77 69 74 68 | 20 41 4f 46 29 0a 20 2d |ork with| AOF). -|
|000049a0| 6a 75 73 74 2d 73 68 6f | 77 20 20 20 20 20 20 20 |just-sho|w |
|000049b0| 20 20 20 20 28 6f 62 73 | 6f 6c 65 74 65 29 20 6a | (obs|olete) j|
|000049c0| 75 73 74 20 70 72 69 6e | 74 20 74 68 65 20 63 6f |ust prin|t the co|
|000049d0| 6d 6d 61 6e 64 73 20 67 | 63 63 20 77 6f 75 6c 64 |mmands g|cc would|
|000049e0| 20 69 6e 76 6f 6b 65 0a | 20 20 20 20 20 20 20 20 | invoke.| |
|000049f0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 74 6f | | to|
|00004a00| 20 74 72 65 61 74 20 74 | 68 65 20 67 69 76 65 6e | treat t|he given|
|00004a10| 20 66 69 6c 65 73 2e 0a | 0a 53 65 65 20 74 68 65 | files..|.See the|
|00004a20| 20 69 6e 63 6c 75 64 65 | 64 20 73 61 6d 70 6c 65 | include|d sample|
|00004a30| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 21 73 62 | applica|tion !sb|
|00004a40| 63 6f 6e 66 69 67 20 66 | 6f 72 20 73 61 6d 70 6c |config f|or sampl|
|00004a50| 65 20 6d 61 6b 65 20 66 | 69 6c 65 73 20 66 6f 72 |e make f|iles for|
|00004a60| 20 62 6f 74 68 0a 4d 55 | 50 52 4f 53 20 61 6e 64 | both.MU|PROS and|
|00004a70| 20 41 4f 46 20 73 74 79 | 6c 65 20 63 6f 6d 70 69 | AOF sty|le compi|
|00004a80| 6c 69 6e 67 2f 6c 69 6e | 6b 69 6e 67 0a 0a 0a 33 |ling/lin|king...3|
|00004a90| 2e 20 49 6e 63 6c 75 64 | 65 20 66 69 6c 65 73 0a |. Includ|e files.|
|00004aa0| 20 20 20 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -----|--------|
|00004ab0| 0a 0a 46 6f 72 20 74 68 | 65 20 69 6e 63 6c 75 64 |..For th|e includ|
|00004ac0| 65 20 66 69 6c 65 73 20 | 69 73 20 61 6c 73 6f 20 |e files |is also |
|00004ad0| 74 68 65 20 70 72 65 66 | 69 78 2d 6e 6f 74 61 74 |the pref|ix-notat|
|00004ae0| 69 6f 6e 20 66 6f 72 20 | 66 69 6c 65 20 74 79 70 |ion for |file typ|
|00004af0| 65 6e 20 75 73 65 64 2e | 20 49 6e 0a 74 68 65 20 |en used.| In.the |
|00004b00| 73 6f 75 72 63 65 20 63 | 6f 64 65 20 63 61 6e 20 |source c|ode can |
|00004b10| 74 68 65 20 73 75 66 66 | 69 78 2d 6e 6f 74 61 74 |the suff|ix-notat|
|00004b20| 69 6f 6e 20 62 65 20 75 | 73 65 64 2e 20 54 68 65 |ion be u|sed. The|
|00004b30| 20 70 72 65 2d 70 72 6f | 63 65 73 73 6f 72 20 63 | pre-pro|cessor c|
|00004b40| 6f 6e 76 65 72 74 73 0a | 74 68 65 73 65 20 66 69 |onverts.|these fi|
|00004b50| 6c 65 20 6e 61 6d 65 73 | 20 74 6f 20 70 72 65 66 |le names| to pref|
|00004b60| 69 78 20 6e 6f 74 61 74 | 69 6f 6e 20 61 6e 64 20 |ix notat|ion and |
|00004b70| 72 65 63 6f 67 6e 69 7a | 65 73 20 74 68 65 20 55 |recogniz|es the U|
|00004b80| 6e 69 78 20 64 69 72 65 | 63 74 6f 72 79 20 70 61 |nix dire|ctory pa|
|00004b90| 74 68 73 2e 0a 46 6f 72 | 20 69 6e 73 74 61 6e 63 |ths..For| instanc|
|00004ba0| 65 20 2f 75 73 72 2f 69 | 6e 63 6c 75 64 65 2f 73 |e /usr/i|nclude/s|
|00004bb0| 79 73 2f 74 69 6d 65 73 | 2e 68 20 62 65 63 6f 6d |ys/times|.h becom|
|00004bc0| 65 73 20 24 2e 75 73 72 | 2e 69 6e 63 6c 75 64 65 |es $.usr|.include|
|00004bd0| 2e 73 79 73 2e 68 2e 74 | 69 6d 65 73 2c 0a 2e 2e |.sys.h.t|imes,...|
|00004be0| 2f 6d 79 2d 68 65 61 64 | 65 72 2e 68 20 62 65 63 |/my-head|er.h bec|
|00004bf0| 6f 6d 65 73 20 5e 2e 68 | 2e 6d 79 2d 68 65 61 64 |omes ^.h|.my-head|
|00004c00| 65 72 2e 20 54 68 65 20 | 63 6f 6d 70 69 6c 65 72 |er. The |compiler|
|00004c10| 20 72 65 63 6f 67 6e 69 | 7a 65 73 20 6f 6e 6c 79 | recogni|zes only|
|00004c20| 20 74 68 65 0a 66 69 6c | 65 20 65 78 74 65 6e 73 | the.fil|e extens|
|00004c30| 69 6f 6e 73 20 2e 68 20 | 75 6e 64 20 2e 63 2e 0a |ions .h |und .c..|
|00004c40| 0a 53 65 61 72 63 68 20 | 6f 72 64 65 72 20 66 6f |.Search |order fo|
|00004c50| 72 20 69 6e 63 6c 75 64 | 65 20 66 69 6c 65 73 3a |r includ|e files:|
|00004c60| 0a 0a 20 20 31 2e 20 63 | 75 72 72 65 6e 74 20 64 |.. 1. c|urrent d|
|00004c70| 69 72 65 63 74 6f 72 79 | 20 6f 72 20 74 68 65 20 |irectory| or the |
|00004c80| 64 69 72 65 63 74 6f 72 | 69 65 73 2c 20 77 68 69 |director|ies, whi|
|00004c90| 63 68 20 68 61 76 65 20 | 62 65 65 6e 20 65 6e 74 |ch have |been ent|
|00004ca0| 65 72 65 64 20 75 73 69 | 6e 67 0a 20 20 20 20 20 |ered usi|ng. |
|00004cb0| 74 68 65 20 2d 49 20 6f | 70 74 69 6f 6e 20 0a 20 |the -I o|ption . |
|00004cc0| 20 32 2e 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 | 2. the |director|
|00004cd0| 69 65 73 2c 20 77 68 69 | 63 68 20 61 72 65 20 67 |ies, whi|ch are g|
|00004ce0| 69 76 65 6e 20 62 79 20 | 43 50 41 54 48 2e 0a 20 |iven by |CPATH.. |
|00004cf0| 20 33 2e 20 74 68 65 20 | 64 69 72 65 63 74 6f 72 | 3. the |director|
|00004d00| 69 65 73 20 67 69 76 65 | 6e 20 62 79 20 43 5f 49 |ies give|n by C_I|
|00004d10| 4e 43 4c 55 44 45 5f 50 | 41 54 48 20 28 53 74 61 |NCLUDE_P|ATH (Sta|
|00004d20| 6e 64 61 72 64 20 43 29 | 2c 0a 20 20 20 20 20 43 |ndard C)|,. C|
|00004d30| 50 4c 55 53 5f 49 4e 43 | 4c 55 44 45 5f 50 41 54 |PLUS_INC|LUDE_PAT|
|00004d40| 48 20 28 43 2b 2b 29 2c | 20 4f 42 4a 43 5f 49 4e |H (C++),| OBJC_IN|
|00004d50| 43 4c 55 44 45 5f 50 41 | 54 48 20 28 4f 62 6a 65 |CLUDE_PA|TH (Obje|
|00004d60| 63 74 69 76 65 20 43 29 | 20 6f 72 0a 20 20 20 20 |ctive C)| or. |
|00004d70| 20 4f 42 4a 43 50 4c 55 | 53 5f 49 4e 4c 43 55 44 | OBJCPLU|S_INLCUD|
|00004d80| 45 5f 50 41 54 48 20 28 | 4f 62 6a 65 63 74 69 76 |E_PATH (|Objectiv|
|00004d90| 65 20 43 2b 2b 29 0a 0a | 54 68 65 20 27 65 6e 76 |e C++)..|The 'env|
|00004da0| 69 72 6f 6e 6d 65 6e 74 | 20 76 61 72 69 61 62 6c |ironment| variabl|
|00004db0| 65 73 27 20 6d 61 79 20 | 63 6f 6e 74 61 69 6e 20 |es' may |contain |
|00004dc0| 6d 6f 72 65 20 64 69 72 | 65 63 74 6f 72 69 65 73 |more dir|ectories|
|00004dd0| 20 28 62 79 20 75 73 69 | 6e 67 20 74 68 65 0a 27 | (by usi|ng the.'|
|00004de0| 3b 27 20 63 68 61 72 61 | 63 74 65 72 20 61 73 20 |;' chara|cter as |
|00004df0| 73 65 70 65 72 61 74 6f | 72 29 2e 20 54 68 65 20 |seperato|r). The |
|00004e00| 55 6e 69 78 20 6e 6f 74 | 61 74 69 6f 6e 20 6d 61 |Unix not|ation ma|
|00004e10| 79 20 61 6c 73 6f 20 62 | 65 20 75 73 65 64 2e 20 |y also b|e used. |
|00004e20| 48 6f 77 65 76 65 72 2c | 0a 64 69 66 66 65 72 65 |However,|.differe|
|00004e30| 6e 74 20 66 72 6f 6d 20 | 52 49 53 43 20 4f 53 2c |nt from |RISC OS,|
|00004e40| 20 74 68 65 20 27 2e 27 | 20 6f 72 20 27 2f 27 20 | the '.'| or '/' |
|00004e50| 63 68 61 72 61 63 74 65 | 72 20 6d 61 79 20 6e 6f |characte|r may no|
|00004e60| 74 20 62 65 20 74 68 65 | 20 6c 61 73 74 0a 63 68 |t be the| last.ch|
|00004e70| 61 72 61 63 74 65 72 20 | 69 6e 20 64 69 72 65 63 |aracter |in direc|
|00004e80| 6f 72 79 20 6e 61 6d 65 | 20 28 74 68 65 20 50 72 |ory name| (the Pr|
|00004e90| 65 2d 50 72 6f 63 65 73 | 73 6f 72 20 77 69 6c 6c |e-Proces|sor will|
|00004ea0| 20 64 6f 20 74 68 69 73 | 20 66 6f 72 20 79 6f 75 | do this| for you|
|00004eb0| 29 2e 20 41 6c 73 6f 0a | 74 68 65 20 27 2e 68 27 |). Also.|the '.h'|
|00004ec0| 20 6d 75 73 74 20 6e 6f | 74 20 62 65 20 75 73 65 | must no|t be use|
|00004ed0| 64 20 69 6e 20 74 68 65 | 20 70 61 74 68 20 6e 61 |d in the| path na|
|00004ee0| 6d 65 2e 0a 0a 0a 33 2e | 31 20 48 6f 77 20 74 6f |me....3.|1 How to|
|00004ef0| 20 75 73 65 20 73 74 61 | 6e 64 61 72 64 20 43 20 | use sta|ndard C |
|00004f00| 68 65 61 64 65 72 20 66 | 69 6c 65 73 0a 20 20 20 |header f|iles. |
|00004f10| 20 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d | -------|--------|
|00004f20| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00004f30| 2d 2d 2d 0a 0a 49 66 20 | 79 6f 75 20 69 6e 63 6c |---..If |you incl|
|00004f40| 75 64 65 20 73 74 61 6e | 64 61 72 64 20 43 20 68 |ude stan|dard C h|
|00004f50| 65 61 64 65 72 73 20 69 | 6e 74 6f 20 61 20 43 2b |eaders i|nto a C+|
|00004f60| 2b 20 49 20 70 72 6f 70 | 6f 73 65 20 74 6f 20 64 |+ I prop|ose to d|
|00004f70| 6f 20 69 74 20 61 73 20 | 74 68 65 0a 65 78 61 6d |o it as |the.exam|
|00004f80| 70 6c 65 20 73 68 6f 77 | 73 3a 0a 0a 20 20 65 78 |ple show|s:.. ex|
|00004f90| 74 65 72 6e 20 22 43 22 | 20 7b 0a 20 20 23 69 6e |tern "C"| {. #in|
|00004fa0| 63 6c 75 64 65 20 22 73 | 74 64 6c 69 62 2e 68 22 |clude "s|tdlib.h"|
|00004fb0| 0a 20 20 23 69 6e 63 6c | 75 64 65 20 22 73 74 64 |. #incl|ude "std|
|00004fc0| 69 6f 2e 68 22 0a 20 20 | 2e 2e 2e 0a 20 20 7d 0a |io.h". |.... }.|
|00004fd0| 0a 54 68 69 73 20 6d 61 | 6b 65 73 20 74 68 65 20 |.This ma|kes the |
|00004fe0| 2d 2b 20 6f 70 74 69 6f | 6e 20 75 6e 6e 65 63 65 |-+ optio|n unnece|
|00004ff0| 73 73 61 72 79 20 61 6e | 64 20 74 68 65 72 65 66 |ssary an|d theref|
|00005000| 6f 72 65 20 64 6f 65 73 | 20 77 6f 72 6b 20 77 69 |ore does| work wi|
|00005010| 74 68 20 41 4f 46 20 74 | 6f 6f 2e 0a 0a 0a 0a 33 |th AOF t|oo.....3|
|00005020| 2e 32 20 43 68 61 6e 67 | 65 73 20 74 6f 20 73 74 |.2 Chang|es to st|
|00005030| 61 6e 64 61 72 64 20 68 | 65 61 64 65 72 20 66 69 |andard h|eader fi|
|00005040| 6c 65 73 0a 20 20 20 20 | 2d 2d 2d 2d 2d 2d 2d 2d |les. |--------|
|00005050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00005060| 2d 2d 2d 2d 2d 2d 2d 2d | 0a 0a 49 66 20 79 6f 75 |--------|..If you|
|00005070| 20 75 73 65 20 74 68 65 | 20 73 74 61 6e 64 61 72 | use the| standar|
|00005080| 64 20 73 74 72 69 6e 67 | 2e 68 20 66 69 6c 65 2c |d string|.h file,|
|00005090| 20 79 6f 75 20 73 68 6f | 75 6c 64 20 63 68 61 6e | you sho|uld chan|
|000050a0| 67 65 20 6d 65 6d 63 70 | 79 2c 20 6d 65 6d 63 6d |ge memcp|y, memcm|
|000050b0| 70 20 61 6e 64 0a 73 74 | 72 6c 65 6e 20 74 6f 0a |p and.st|rlen to.|
|000050c0| 0a 20 20 65 78 74 65 72 | 6e 20 69 6e 74 20 6d 65 |. exter|n int me|
|000050d0| 6d 63 6d 70 28 63 6f 6e | 73 74 20 76 6f 69 64 20 |mcmp(con|st void |
|000050e0| 2a 20 2f 2a 73 31 2a 2f | 2c 20 63 6f 6e 73 74 20 |* /*s1*/|, const |
|000050f0| 76 6f 69 64 20 2a 20 2f | 2a 73 32 2a 2f 2c 20 6c |void * /|*s2*/, l|
|00005100| 6f 6e 67 20 75 6e 73 69 | 67 6e 65 64 20 69 6e 74 |ong unsi|gned int|
|00005110| 20 20 2f 2a 6e 2a 2f 29 | 3b 0a 20 20 65 78 74 65 | /*n*/)|;. exte|
|00005120| 72 6e 20 76 6f 69 64 20 | 2a 6d 65 6d 63 70 79 28 |rn void |*memcpy(|
|00005130| 76 6f 69 64 20 2a 20 2f | 2a 73 31 2a 2f 2c 20 63 |void * /|*s1*/, c|
|00005140| 6f 6e 73 74 20 76 6f 69 | 64 20 2a 20 2f 2a 73 32 |onst voi|d * /*s2|
|00005150| 2a 2f 2c 20 6c 6f 6e 67 | 20 75 6e 73 69 67 6e 65 |*/, long| unsigne|
|00005160| 64 20 69 6e 74 20 2f 2a | 6e 2a 2f 29 3b 0a 20 20 |d int /*|n*/);. |
|00005170| 65 78 74 65 72 6e 20 6c | 6f 6e 67 20 75 6e 73 69 |extern l|ong unsi|
|00005180| 67 6e 65 64 20 69 6e 74 | 20 73 74 72 6c 65 6e 28 |gned int| strlen(|
|00005190| 63 6f 6e 73 74 20 63 68 | 61 72 20 2a 20 2f 2a 73 |const ch|ar * /*s|
|000051a0| 2a 2f 29 3b 0a 0a 59 6f | 75 20 73 68 6f 75 6c 64 |*/);..Yo|u should|
|000051b0| 20 61 6c 73 6f 20 72 65 | 70 6c 61 63 65 20 69 6e | also re|place in|
|000051c0| 20 74 68 65 20 66 69 6c | 65 20 27 74 65 6d 70 6c | the fil|e 'templ|
|000051d0| 61 74 65 2e 68 27 20 27 | 74 65 6d 70 6c 61 74 65 |ate.h' '|template|
|000051e0| 27 20 69 6e 20 74 79 70 | 65 64 65 66 20 73 74 72 |' in typ|edef str|
|000051f0| 75 63 74 20 2e 2e 2e 20 | 74 65 6d 70 6c 61 74 65 |uct ... |template|
|00005200| 0a 74 68 72 6f 75 67 68 | 20 65 2e 67 2e 20 27 74 |.through| e.g. 't|
|00005210| 65 6d 70 6c 61 74 65 5f | 74 27 3b 20 64 6f 6e 27 |emplate_|t'; don'|
|00005220| 74 20 66 6f 72 67 65 74 | 20 74 6f 20 63 68 61 6e |t forget| to chan|
|00005230| 67 65 20 69 74 20 61 6c | 6c 20 6f 76 65 72 20 74 |ge it al|l over t|
|00005240| 68 65 20 66 69 6c 65 0a | 0a 0a 0a 0a 34 2e 20 4c |he file.|....4. L|
|00005250| 69 6e 6b 65 72 0a 20 20 | 20 2d 2d 2d 2d 2d 2d 0a |inker. | ------.|
|00005260| 0a 49 6e 20 6f 72 64 65 | 72 20 74 6f 20 67 65 74 |.In orde|r to get|
|00005270| 20 27 61 62 73 6f 6c 75 | 74 65 27 20 63 6f 64 65 | 'absolu|te' code|
|00005280| 20 74 68 65 20 6c 69 6e | 6b 65 72 20 6d 75 73 74 | the lin|ker must|
|00005290| 20 62 65 0a 63 61 6c 6c | 65 64 20 61 73 20 66 6f | be.call|ed as fo|
|000052a0| 6c 6c 6f 77 73 3a 0a 0a | 20 6d 75 6c 69 6e 6b 20 |llows:..| mulink |
|000052b0| 2d 46 20 2d 61 33 32 37 | 36 38 20 2d 6f 73 61 6d |-F -a327|68 -osam|
|000052c0| 70 6c 65 20 2d 43 20 6f | 2e 73 61 6d 70 6c 65 31 |ple -C o|.sample1|
|000052d0| 20 6f 2e 73 61 6d 70 6c | 65 32 20 6d 75 6c 69 62 | o.sampl|e2 mulib|
|000052e0| 3a 73 74 75 62 73 6d 75 | 0a 20 73 65 74 74 79 70 |:stubsmu|. settyp|
|000052f0| 65 20 73 61 6d 70 6c 65 | 20 61 62 73 6f 6c 75 74 |e sample| absolut|
|00005300| 65 0a 20 0a 45 78 70 6c | 61 6e 61 74 69 6f 6e 3a |e. .Expl|anation:|
|00005310| 0a 0a 6d 75 6c 69 62 24 | 70 61 74 68 20 63 6f 6e |..mulib$|path con|
|00005320| 74 61 69 6e 73 20 74 68 | 65 20 64 69 72 65 63 74 |tains th|e direct|
|00005330| 6f 72 79 20 6e 61 6d 65 | 20 77 68 65 72 65 20 27 |ory name| where '|
|00005340| 73 74 75 62 73 6d 75 27 | 20 63 61 6e 20 62 65 20 |stubsmu'| can be |
|00005350| 66 6f 75 6e 64 2e 0a 0a | 20 2d 46 20 20 20 20 20 |found...| -F |
|00005360| 20 20 66 69 72 73 74 20 | 6f 62 6a 65 63 74 20 66 | first |object f|
|00005370| 69 6c 65 20 6d 75 73 74 | 20 61 6c 77 61 79 73 20 |ile must| always |
|00005380| 62 65 20 6c 69 6e 6b 65 | 64 20 28 6f 6e 6c 79 20 |be linke|d (only |
|00005390| 2c 20 77 68 65 6e 20 72 | 65 66 65 72 65 6e 63 65 |, when r|eference|
|000053a0| 64 29 2e 0a 20 20 20 20 | 20 20 20 20 20 20 49 66 |d).. | If|
|000053b0| 20 73 74 75 62 73 6d 75 | 20 69 73 20 6c 69 6e 6b | stubsmu| is link|
|000053c0| 65 64 2c 20 74 68 69 73 | 20 6f 70 74 69 6f 6e 20 |ed, this| option |
|000053d0| 69 73 20 6e 6f 74 20 70 | 61 72 74 69 63 75 6c 61 |is not p|articula|
|000053e0| 72 79 20 6e 65 63 65 73 | 73 61 72 79 2c 0a 20 20 |ry neces|sary,. |
|000053f0| 20 20 20 20 20 20 20 20 | 62 65 63 61 75 73 65 20 | |because |
|00005400| 73 74 75 62 73 6d 75 20 | 68 61 73 20 73 65 74 20 |stubsmu |has set |
|00005410| 74 68 65 20 4f 62 6c 69 | 67 61 74 6f 72 79 2d 4c |the Obli|gatory-L|
|00005420| 69 6e 6b 2d 46 6c 61 67 | 20 28 77 69 6c 6c 20 61 |ink-Flag| (will a|
|00005430| 6c 77 61 79 73 20 62 65 | 0a 20 20 20 20 20 20 20 |lways be|. |
|00005440| 20 20 20 6c 69 6e 6b 65 | 64 29 20 61 6e 64 20 63 | linke|d) and c|
|00005450| 6f 6e 74 61 69 6e 73 20 | 61 20 72 65 66 65 72 65 |ontains |a refere|
|00005460| 6e 63 65 20 74 6f 20 27 | 6d 61 69 6e 27 2e 0a 20 |nce to '|main'.. |
|00005470| 2d 61 33 32 37 36 38 20 | 20 41 62 73 6f 6c 75 74 |-a32768 | Absolut|
|00005480| 65 20 63 6f 64 65 20 77 | 69 74 68 20 65 78 65 63 |e code w|ith exec|
|00005490| 75 74 69 6f 6e 20 61 64 | 64 72 65 73 73 20 26 38 |ution ad|dress &8|
|000054a0| 30 30 30 2e 0a 20 2d 6f | 73 61 6d 70 6c 65 20 73 |000.. -o|sample s|
|000054b0| 61 6d 70 6c 65 20 77 69 | 6c 6c 20 62 65 20 74 68 |ample wi|ll be th|
|000054c0| 65 20 6f 75 74 70 75 74 | 20 66 69 6c 65 0a 20 2d |e output| file. -|
|000054d0| 43 20 20 20 20 20 20 20 | 6f 6e 6c 79 20 74 68 65 |C |only the|
|000054e0| 20 63 6f 64 65 2c 20 77 | 69 74 68 6f 75 74 20 68 | code, w|ithout h|
|000054f0| 65 61 64 65 72 2c 20 70 | 75 62 6c 69 63 73 2c 20 |eader, p|ublics, |
|00005500| 72 65 6c 6f 63 73 2e 0a | 0a 49 66 20 74 68 65 20 |relocs..|.If the |
|00005510| 2d 61 20 61 6e 64 20 2d | 43 20 6f 70 74 69 6f 6e |-a and -|C option|
|00005520| 73 20 61 72 65 20 6e 6f | 74 20 75 73 65 64 2c 20 |s are no|t used, |
|00005530| 61 6e 20 6f 62 6a 65 63 | 74 2d 66 69 6c 65 20 77 |an objec|t-file w|
|00005540| 69 6c 6c 20 62 65 20 70 | 72 6f 64 75 63 65 64 2e |ill be p|roduced.|
|00005550| 0a 0a 46 75 72 74 68 65 | 72 20 6f 70 74 69 6f 6e |..Furthe|r option|
|00005560| 73 3a 0a 0a 20 2d 78 20 | 20 20 20 20 20 20 20 20 |s:.. -x | |
|00005570| 20 61 20 6c 69 73 74 20 | 6f 66 20 73 79 6d 62 6f | a list |of symbo|
|00005580| 6c 73 2c 20 6d 6f 64 75 | 6c 73 20 61 6e 64 20 74 |ls, modu|ls and t|
|00005590| 68 65 69 72 20 61 64 64 | 72 65 73 73 65 73 20 28 |heir add|resses (|
|000055a0| 65 2e 67 2e 20 6f 66 66 | 73 65 74 73 29 0a 20 20 |e.g. off|sets). |
|000055b0| 20 20 20 20 20 20 20 20 | 20 20 20 77 69 6c 6c 20 | | will |
|000055c0| 62 65 20 67 69 76 65 6e | 2e 0a 0a 20 2d 2b 20 20 |be given|... -+ |
|000055d0| 20 20 20 20 20 20 20 20 | 6c 69 6e 6b 20 43 2b 2b | |link C++|
|000055e0| 20 2d 20 63 6f 64 65 2e | 20 54 68 65 20 6c 69 6e | - code.| The lin|
|000055f0| 6b 65 72 20 77 69 6c 6c | 20 73 65 61 72 63 68 20 |ker will| search |
|00005600| 66 6f 72 20 73 79 6d 62 | 6f 6c 20 6e 61 6d 65 73 |for symb|ol names|
|00005610| 20 69 6e 20 61 0a 20 20 | 20 20 20 20 20 20 20 20 | in a. | |
|00005620| 20 20 20 43 2b 2b 20 66 | 61 73 68 69 6f 6e 20 61 | C++ f|ashion a|
|00005630| 6e 64 20 69 66 20 74 68 | 65 79 20 63 6f 75 6c 64 |nd if th|ey could|
|00005640| 20 6e 6f 74 20 62 65 20 | 66 6f 75 6e 64 2c 20 74 | not be |found, t|
|00005650| 68 65 79 20 61 72 65 20 | 63 6f 6e 76 65 72 74 65 |hey are |converte|
|00005660| 64 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 |d. | i|
|00005670| 6e 74 6f 20 73 74 61 6e | 64 61 72 64 2d 43 20 6e |nto stan|dard-C n|
|00005680| 61 6d 65 2e 20 46 6f 72 | 20 69 6e 73 74 61 6e 63 |ame. For| instanc|
|00005690| 65 3a 0a 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |e:.. | |
|000056a0| 20 70 72 69 6e 74 66 28 | 20 22 25 64 22 2c 20 31 | printf(| "%d", 1|
|000056b0| 30 20 29 0a 20 20 20 20 | 20 0a 20 20 20 20 20 20 |0 ). | . |
|000056c0| 20 20 20 20 20 20 20 67 | 65 6e 65 72 61 74 65 73 | g|enerates|
|000056d0| 20 69 6e 20 43 2b 2b 20 | 61 20 61 73 73 65 6d 62 | in C++ |a assemb|
|000056e0| 6c 65 72 20 63 61 6c 6c | 3a 0a 20 20 20 20 20 20 |ler call|:. |
|000056f0| 20 20 20 20 0a 20 20 20 | 20 20 20 20 20 20 20 20 | . | |
|00005700| 20 20 2e 2e 2e 20 62 6c | 20 70 72 69 6e 74 66 5f | ... bl| printf_|
|00005710| 5f 46 50 63 69 0a 0a 20 | 20 20 20 20 20 20 20 20 |_FPci.. | |
|00005720| 20 20 20 20 49 66 20 61 | 20 73 79 6d 62 6f 6c 20 | If a| symbol |
|00005730| 70 72 69 6e 74 66 5f 5f | 46 50 63 69 20 65 78 69 |printf__|FPci exi|
|00005740| 73 74 73 2c 20 74 68 65 | 20 6c 69 6e 6b 65 72 20 |sts, the| linker |
|00005750| 77 69 6c 6c 20 67 65 6e | 65 72 61 74 65 20 61 20 |will gen|erate a |
|00005760| 63 61 6c 6c 0a 20 20 20 | 20 20 20 20 20 20 20 20 |call. | |
|00005770| 20 20 74 6f 20 74 68 69 | 73 20 73 79 6d 62 6f 6c | to thi|s symbol|
|00005780| 2e 20 4f 74 68 65 72 77 | 69 73 65 20 28 77 69 74 |. Otherw|ise (wit|
|00005790| 68 20 74 68 65 20 2d 2b | 20 6f 70 74 69 6f 6e 29 |h the -+| option)|
|000057a0| 20 74 68 65 20 6e 61 6d | 65 20 70 72 69 6e 74 66 | the nam|e printf|
|000057b0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 77 69 |. | wi|
|000057c0| 6c 6c 20 62 65 20 75 73 | 65 64 20 28 77 69 74 68 |ll be us|ed (with|
|000057d0| 6f 75 74 20 5f 5f 46 2e | 2e 2e 29 2e 0a 0a 20 2d |out __F.|..)... -|
|000057e0| 24 3c 73 75 66 66 69 78 | 3e 20 20 74 68 65 20 63 |$<suffix|> the c|
|000057f0| 68 61 72 61 63 74 65 72 | 73 2c 20 77 68 69 63 68 |haracter|s, which|
|00005800| 20 69 6e 20 43 2b 2b 20 | 73 79 6d 62 6f 6c 20 6e | in C++ |symbol n|
|00005810| 61 6d 65 73 20 69 73 20 | 75 73 65 64 20 62 65 74 |ames is |used bet|
|00005820| 77 65 65 6e 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ween. | |
|00005830| 20 20 74 68 65 20 27 6e | 6f 72 6d 61 6c 27 20 6e | the 'n|ormal' n|
|00005840| 61 6d 65 20 6f 66 20 74 | 68 65 20 66 75 6e 63 74 |ame of t|he funct|
|00005850| 69 6f 6e 20 61 6e 64 20 | 74 68 65 20 74 79 70 65 |ion and |the type|
|00005860| 2e 20 44 65 66 61 75 6c | 74 3a 20 5f 5f 46 2e 0a |. Defaul|t: __F..|
|00005870| 20 2d 75 20 20 20 20 20 | 20 20 20 20 20 64 6f 20 | -u | do |
|00005880| 6e 6f 74 20 70 72 69 6e | 74 20 61 20 6c 69 73 74 |not prin|t a list|
|00005890| 65 20 6f 66 20 75 6e 64 | 65 66 69 6e 65 64 20 65 |e of und|efined e|
|000058a0| 78 74 65 72 6e 61 6c 73 | 0a 20 2d 3d 3c 6e 61 6d |xternals|. -=<nam|
|000058b0| 65 3e 3d 3c 76 61 6c 75 | 65 3e 20 63 72 65 61 74 |e>=<valu|e> creat|
|000058c0| 65 20 61 20 73 79 6d 62 | 6f 6c 20 6e 61 6d 65 64 |e a symb|ol named|
|000058d0| 20 3c 6e 61 6d 65 3e 20 | 77 69 74 68 20 74 68 65 | <name> |with the|
|000058e0| 20 61 62 73 6f 6c 75 74 | 65 20 76 61 6c 75 65 20 | absolut|e value |
|000058f0| 3c 76 61 6c 75 65 3e 0a | 0a 41 6c 6c 20 6f 74 68 |<value>.|.All oth|
|00005900| 65 72 20 6f 70 74 69 6f | 6e 73 20 61 72 65 20 69 |er optio|ns are i|
|00005910| 67 6e 6f 72 65 64 20 62 | 79 20 52 49 53 43 20 4f |gnored b|y RISC O|
|00005920| 53 20 76 65 72 73 69 6f | 6e 20 28 68 61 76 65 20 |S versio|n (have |
|00005930| 6e 6f 20 6d 65 61 6e 69 | 6e 67 29 2e 0a 0a 53 74 |no meani|ng)...St|
|00005940| 75 62 73 20 4d 55 53 54 | 20 62 65 20 6c 69 6e 6b |ubs MUST| be link|
|00005950| 65 64 20 62 65 66 6f 72 | 65 20 74 68 65 20 52 49 |ed befor|e the RI|
|00005960| 53 43 5f 4f 53 6c 69 62 | 20 69 73 20 6c 69 6e 6b |SC_OSlib| is link|
|00005970| 65 64 2e 20 54 68 65 20 | 66 69 6c 65 20 77 68 69 |ed. The |file whi|
|00005980| 63 68 0a 63 6f 6e 74 61 | 69 6e 73 20 74 68 65 20 |ch.conta|ins the |
|00005990| 66 75 6e 63 74 69 6f 6e | 20 6d 61 69 6e 20 4d 55 |function| main MU|
|000059a0| 53 54 20 62 65 20 6c 69 | 6e 6b 65 64 20 66 69 72 |ST be li|nked fir|
|000059b0| 73 74 20 28 6f 62 73 6f | 6c 65 74 65 20 2d 20 64 |st (obso|lete - d|
|000059c0| 6f 65 73 20 6e 6f 74 20 | 6d 61 74 74 65 72 0a 69 |oes not |matter.i|
|000059d0| 66 20 41 49 46 20 68 65 | 61 64 65 72 20 69 73 20 |f AIF he|ader is |
|000059e0| 6c 69 6e 6b 65 64 2e 20 | 41 73 20 69 74 20 69 73 |linked. |As it is|
|000059f0| 20 63 6f 6e 74 61 69 6e | 65 64 20 69 6e 20 73 74 | contain|ed in st|
|00005a00| 75 62 73 6d 75 20 69 74 | 20 77 69 6c 6c 20 62 65 |ubsmu it| will be|
|00005a10| 20 6c 69 6e 6b 65 64 29 | 2e 20 49 6e 0a 6f 74 68 | linked)|. In.oth|
|00005a20| 65 72 20 63 61 73 65 73 | 20 74 68 65 20 6f 72 64 |er cases| the ord|
|00005a30| 65 72 20 6f 66 20 74 68 | 65 20 6f 62 6a 65 63 74 |er of th|e object|
|00005a40| 20 66 69 6c 65 73 20 64 | 6f 65 73 6e 27 74 20 6d | files d|oesn't m|
|00005a50| 61 74 74 65 72 2e 20 4f | 62 6a 65 63 74 73 20 77 |atter. O|bjects w|
|00005a60| 68 69 63 68 20 61 72 65 | 0a 72 65 66 65 72 65 6e |hich are|.referen|
|00005a70| 63 65 64 20 62 79 20 6e | 6f 6e 65 20 6f 66 20 74 |ced by n|one of t|
|00005a80| 68 65 20 6f 74 68 65 72 | 20 6f 62 6a 65 63 74 20 |he other| object |
|00005a90| 66 69 6c 65 73 20 61 72 | 65 20 73 69 6d 70 6c 79 |files ar|e simply|
|00005aa0| 20 69 67 6e 6f 72 65 64 | 2e 20 46 6f 72 20 69 6e | ignored|. For in|
|00005ab0| 73 74 61 6e 63 65 3a 0a | 0a 20 6d 75 6c 69 6e 6b |stance:.|. mulink|
|00005ac0| 20 2d 46 20 6f 2e 73 61 | 6d 70 6c 65 31 20 6f 2e | -F o.sa|mple1 o.|
|00005ad0| 73 61 6d 70 6c 65 32 20 | 6d 75 6c 69 62 3a 73 74 |sample2 |mulib:st|
|00005ae0| 75 62 73 6d 75 0a 0a 6f | 2e 73 61 6d 70 6c 65 32 |ubsmu..o|.sample2|
|00005af0| 20 77 69 6c 6c 20 6e 6f | 74 20 62 65 20 6c 69 6e | will no|t be lin|
|00005b00| 6b 65 64 2c 20 69 66 20 | 6e 65 69 74 68 65 72 20 |ked, if |neither |
|00005b10| 69 6e 20 6d 75 6c 69 62 | 3a 73 74 75 62 73 6d 75 |in mulib|:stubsmu|
|00005b20| 20 6e 6f 72 20 69 6e 20 | 6f 2e 73 61 6d 70 6c 65 | nor in |o.sample|
|00005b30| 31 0a 61 20 66 75 6e 63 | 74 69 6f 6e 20 6f 72 20 |1.a func|tion or |
|00005b40| 76 61 72 69 61 62 6c 65 | 20 66 72 6f 6d 20 6f 2e |variable| from o.|
|00005b50| 73 61 6d 70 6c 65 31 20 | 69 73 20 72 65 66 65 72 |sample1 |is refer|
|00005b60| 65 6e 63 65 64 2e 0a 0a | 49 66 20 53 74 75 62 73 |enced...|If Stubs|
|00005b70| 20 61 72 65 20 6c 69 6e | 6b 65 64 2c 20 74 68 65 | are lin|ked, the|
|00005b80| 20 66 6f 6c 6c 6f 77 69 | 6e 67 20 6d 65 73 73 61 | followi|ng messa|
|00005b90| 67 65 20 63 6f 75 6c 64 | 20 62 65 20 70 72 69 6e |ge could| be prin|
|00005ba0| 74 65 64 3a 0a 0a 20 75 | 6e 72 65 73 6f 6c 76 65 |ted:.. u|nresolve|
|00005bb0| 64 20 65 78 74 65 72 6e | 61 6c 28 73 29 0a 20 20 |d extern|al(s). |
|00005bc0| 20 27 5f 5f 72 6f 6f 74 | 5f 73 74 61 63 6b 5f 73 | '__root|_stack_s|
|00005bd0| 69 7a 65 27 20 69 6e 20 | 6d 6f 64 75 6c 65 20 27 |ize' in |module '|
|00005be0| 53 74 75 62 24 24 43 6f | 64 65 27 0a 20 20 20 27 |Stub$$Co|de'. '|
|00005bf0| 5f 5f 52 65 6c 6f 63 43 | 6f 64 65 27 20 69 6e 20 |__RelocC|ode' in |
|00005c00| 6d 6f 64 75 6c 65 20 27 | 53 74 75 62 24 24 43 6f |module '|Stub$$Co|
|00005c10| 64 65 27 0a 0a 42 6f 74 | 68 20 72 65 66 65 72 65 |de'..Bot|h refere|
|00005c20| 6e 63 65 73 20 61 72 65 | 20 69 6e 20 41 4f 46 2d |nces are| in AOF-|
|00005c30| 66 69 6c 65 73 20 61 73 | 20 27 77 65 61 6b 20 62 |files as| 'weak b|
|00005c40| 69 6e 64 69 6e 67 27 20 | 64 65 66 69 6e 65 64 20 |inding' |defined |
|00005c50| 61 6e 64 20 64 6f 6e 27 | 74 20 68 61 76 65 0a 74 |and don'|t have.t|
|00005c60| 6f 20 62 65 20 64 65 63 | 6c 61 72 65 64 2e 20 41 |o be dec|lared. A|
|00005c70| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 77 69 6c 6c |pplicati|ons will|
|00005c80| 20 62 65 20 6c 69 6e 6b | 65 64 20 63 6f 72 72 65 | be link|ed corre|
|00005c90| 63 74 6c 79 2e 0a 0a 46 | 6f 6d 65 72 20 76 65 72 |ctly...F|omer ver|
|00005ca0| 73 69 6f 6e 73 20 6f 66 | 20 6d 75 6c 69 6e 6b 20 |sions of| mulink |
|00005cb0| 75 73 65 64 20 74 6f 20 | 70 72 69 6e 74 20 74 68 |used to |print th|
|00005cc0| 65 20 66 6f 6c 6c 6f 77 | 69 6e 67 20 6d 65 73 73 |e follow|ing mess|
|00005cd0| 61 67 65 20 69 73 20 70 | 72 69 6e 74 65 64 3a 0a |age is p|rinted:.|
|00005ce0| 0a 20 77 61 72 6e 69 6e | 67 3a 20 64 6f 75 62 6c |. warnin|g: doubl|
|00005cf0| 65 20 64 65 66 69 6e 65 | 64 20 70 75 62 6c 69 63 |e define|d public|
|00005d00| 20 76 61 72 69 61 62 6c | 65 28 73 29 3a 0a 20 20 | variabl|e(s):. |
|00005d10| 20 27 43 24 24 43 6f 64 | 65 27 20 69 6e 20 6d 6f | 'C$$Cod|e' in mo|
|00005d20| 64 75 6c 65 20 27 43 24 | 24 43 6f 64 65 27 0a 0a |dule 'C$|$Code'..|
|00005d30| 54 68 69 73 20 77 61 73 | 20 64 75 65 20 74 6f 20 |This was| due to |
|00005d40| 61 6e 20 65 72 72 6f 72 | 20 69 6e 20 41 4f 46 63 |an error| in AOFc|
|00005d50| 6f 6e 76 65 72 74 20 61 | 6e 64 20 73 68 6f 75 6c |onvert a|nd shoul|
|00005d60| 64 20 6e 6f 74 20 61 70 | 70 65 61 72 20 61 6e 79 |d not ap|pear any|
|00005d70| 20 6d 6f 72 65 20 28 69 | 66 0a 79 6f 75 20 75 73 | more (i|f.you us|
|00005d80| 65 20 6e 65 77 6c 79 20 | 63 6f 6e 76 65 72 74 65 |e newly |converte|
|00005d90| 64 20 6c 69 62 72 61 72 | 69 65 73 29 2e 20 49 66 |d librar|ies). If|
|00005da0| 20 79 6f 75 20 67 65 74 | 20 73 75 63 68 20 61 20 | you get| such a |
|00005db0| 6d 65 73 73 61 67 65 20 | 70 6c 65 61 73 65 20 72 |message |please r|
|00005dc0| 65 70 6f 72 74 0a 74 6f | 20 6d 65 20 77 68 69 63 |eport.to| me whic|
|00005dd0| 68 20 6c 69 62 72 61 72 | 69 65 73 20 79 6f 75 20 |h librar|ies you |
|00005de0| 75 73 65 64 2e 0a 0a 0a | 0a 35 2e 20 41 4f 46 43 |used....|.5. AOFC|
|00005df0| 6f 6e 76 65 72 74 0a 20 | 20 20 2d 2d 2d 2d 2d 2d |onvert. | ------|
|00005e00| 2d 2d 2d 2d 0a 0a 41 4f | 46 43 6f 6e 76 65 72 74 |----..AO|FConvert|
|00005e10| 20 69 73 20 61 20 75 74 | 69 6c 69 74 79 20 77 68 | is a ut|ility wh|
|00005e20| 69 63 68 20 63 6f 6e 76 | 65 72 74 73 20 6f 62 6a |ich conv|erts obj|
|00005e30| 65 63 74 20 66 69 6c 65 | 73 20 69 6e 20 41 4f 46 |ect file|s in AOF|
|00005e40| 2d 46 6f 72 6d 61 74 20 | 69 6e 74 6f 0a 74 68 65 |-Format |into.the|
|00005e50| 20 4d 55 50 52 4f 53 20 | 66 6f 72 6d 61 74 2e 0a | MUPROS |format..|
|00005e60| 0a 59 6f 75 20 68 61 76 | 65 20 74 6f 20 75 73 65 |.You hav|e to use|
|00005e70| 20 69 74 20 61 73 20 66 | 6f 6c 6c 6f 77 73 3a 0a | it as f|ollows:.|
|00005e80| 0a 20 41 4f 46 43 6f 6e | 76 65 72 74 20 2d 6c 20 |. AOFCon|vert -l |
|00005e90| 2d 6f 73 61 6d 70 6c 65 | 20 6f 2e 73 61 6d 70 6c |-osample| o.sampl|
|00005ea0| 65 0a 0a 54 68 65 20 6f | 70 74 69 6f 6e 20 2d 6c |e..The o|ption -l|
|00005eb0| 20 73 75 70 70 72 65 73 | 73 65 73 20 61 6c 6c 20 | suppres|ses all |
|00005ec0| 77 61 72 6e 69 6e 67 73 | 20 28 77 68 69 63 68 20 |warnings| (which |
|00005ed0| 61 72 65 20 6e 6f 74 20 | 69 6e 74 65 72 65 73 74 |are not |interest|
|00005ee0| 69 6e 67 29 2e 20 44 75 | 72 69 6e 67 0a 73 6f 6d |ing). Du|ring.som|
|00005ef0| 65 20 63 69 72 63 75 6d | 73 74 61 6e 63 65 73 20 |e circum|stances |
|00005f00| 79 6f 75 20 77 69 6c 6c | 20 61 6c 73 6f 20 68 61 |you will| also ha|
|00005f10| 76 65 20 74 6f 20 75 73 | 65 20 74 68 65 20 2d 4f |ve to us|e the -O|
|00005f20| 20 6f 70 74 69 6f 6e 2e | 20 54 68 65 6e 20 77 69 | option.| Then wi|
|00005f30| 6c 6c 20 74 68 65 0a 63 | 6f 6e 76 65 72 74 65 64 |ll the.c|onverted|
|00005f40| 20 6f 62 6a 65 63 74 20 | 41 4c 57 41 59 53 20 62 | object |ALWAYS b|
|00005f50| 65 20 6c 69 6e 6b 65 64 | 20 28 69 66 20 69 74 20 |e linked| (if it |
|00005f60| 69 73 20 75 73 65 64 20 | 73 6f 6d 65 77 68 65 72 |is used |somewher|
|00005f70| 65 20 69 6e 20 63 6f 6e | 6a 75 6e 63 74 69 6f 6e |e in con|junction|
|00005f80| 0a 77 69 74 68 20 4d 55 | 4c 49 4e 4b 2c 20 65 76 |.with MU|LINK, ev|
|00005f90| 65 6e 20 69 66 20 6e 6f | 20 72 65 66 65 72 65 6e |en if no| referen|
|00005fa0| 63 65 20 69 73 20 66 75 | 6c 6c 66 69 6c 6c 65 64 |ce is fu|llfilled|
|00005fb0| 29 2e 0a 0a 0a 0a 36 2e | 20 41 73 73 65 6d 62 6c |).....6.| Assembl|
|00005fc0| 65 72 0a 20 20 20 2d 2d | 2d 2d 2d 2d 2d 2d 2d 0a |er. --|-------.|
|00005fd0| 0a 49 66 20 79 6f 75 20 | 6c 69 6b 65 20 74 6f 20 |.If you |like to |
|00005fe0| 75 73 65 20 74 68 65 20 | 61 73 73 65 6d 62 6c 65 |use the |assemble|
|00005ff0| 72 2c 20 79 6f 75 20 61 | 72 65 20 72 65 66 65 72 |r, you a|re refer|
|00006000| 72 65 64 20 74 6f 20 74 | 68 65 20 74 65 78 20 66 |red to t|he tex f|
|00006010| 69 6c 65 20 28 69 6e 20 | 74 68 65 0a 64 6f 63 20 |ile (in |the.doc |
|00006020| 64 69 72 65 63 74 6f 72 | 79 29 20 61 6e 64 20 74 |director|y) and t|
|00006030| 68 65 20 52 49 53 43 20 | 4f 53 20 50 52 4d 27 73 |he RISC |OS PRM's|
|00006040| 2e 20 54 68 65 20 61 73 | 73 65 6d 62 6c 65 72 20 |. The as|sembler |
|00006050| 69 73 20 63 61 6c 6c 65 | 64 20 62 79 20 75 73 69 |is calle|d by usi|
|00006060| 6e 67 3a 0a 0a 20 61 73 | 20 2d 6f 20 6f 2e 73 61 |ng:.. as| -o o.sa|
|00006070| 6d 70 6c 65 20 73 2e 73 | 61 6d 70 6c 65 0a 20 20 |mple s.s|ample. |
|00006080| 20 20 20 20 20 20 0a 41 | 20 6f 62 6a 65 63 74 20 | .A| object |
|00006090| 66 69 6c 65 20 69 6e 20 | 4d 55 50 52 4f 53 20 66 |file in |MUPROS f|
|000060a0| 6f 72 6d 61 74 20 77 69 | 6c 6c 20 62 65 20 67 65 |ormat wi|ll be ge|
|000060b0| 6e 65 72 61 74 65 64 2e | 20 4e 6f 74 65 3a 20 61 |nerated.| Note: a|
|000060c0| 73 73 65 6d 62 6c 65 72 | 0a 69 6e 73 74 72 75 63 |ssembler|.instruc|
|000060d0| 74 69 6f 6e 73 20 6d 75 | 73 74 20 62 65 20 6c 6f |tions mu|st be lo|
|000060e0| 77 65 72 20 63 61 73 65 | 2e 20 52 65 67 69 73 74 |wer case|. Regist|
|000060f0| 65 72 20 6e 61 6d 65 73 | 20 6d 61 79 20 62 65 20 |er names| may be |
|00006100| 75 70 70 65 72 20 63 61 | 73 65 20 6f 72 0a 6c 6f |upper ca|se or.lo|
|00006110| 77 65 72 20 63 61 73 65 | 2e 0a 0a 41 52 4d 2f 4d |wer case|...ARM/M|
|00006120| 55 50 52 4f 53 2f 41 4f | 46 20 73 70 65 63 69 66 |UPROS/AO|F specif|
|00006130| 69 63 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 20 |ic comma|nd line |
|00006140| 6f 70 74 69 6f 6e 73 3a | 0a 0a 20 2d 64 20 20 20 |options:|.. -d |
|00006150| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 63 72 | | cr|
|00006160| 65 61 74 65 20 61 20 64 | 65 62 75 67 20 61 72 65 |eate a d|ebug are|
|00006170| 61 2e 20 61 6e 79 20 73 | 6f 75 72 63 65 20 6c 65 |a. any s|ource le|
|00006180| 76 65 6c 20 64 65 62 75 | 67 67 69 6e 67 20 64 61 |vel debu|gging da|
|00006190| 74 61 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |ta. | |
|000061a0| 20 20 20 20 20 20 20 77 | 69 6c 6c 20 6f 6e 6c 79 | w|ill only|
|000061b0| 20 62 65 20 69 6e 63 6c | 75 64 65 64 20 69 6e 20 | be incl|uded in |
|000061c0| 74 68 65 20 6f 62 6a 65 | 63 74 20 66 69 6c 65 20 |the obje|ct file |
|000061d0| 69 66 20 74 68 69 73 20 | 6f 70 74 69 6f 6e 0a 20 |if this |option. |
|000061e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000061f0| 20 20 20 69 73 20 66 6f | 75 6e 64 20 6f 6e 20 74 | is fo|und on t|
|00006200| 68 65 20 63 6f 6d 6d 61 | 6e 64 20 6c 69 6e 65 2e |he comma|nd line.|
|00006210| 0a 20 2d 41 20 20 20 20 | 20 20 20 20 20 20 20 20 |. -A | |
|00006220| 20 20 20 20 20 6f 75 74 | 70 75 74 20 61 6e 20 41 | out|put an A|
|00006230| 4f 46 20 6f 62 6a 65 63 | 74 20 66 69 6c 65 20 72 |OF objec|t file r|
|00006240| 61 74 68 65 72 20 74 68 | 61 6e 20 61 20 4d 55 50 |ather th|an a MUP|
|00006250| 52 4f 53 20 6f 62 6a 65 | 63 74 0a 20 20 20 20 20 |ROS obje|ct. |
|00006260| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 66 | | f|
|00006270| 69 6c 65 0a 0a 41 52 4d | 2f 4d 55 50 52 4f 53 20 |ile..ARM|/MUPROS |
|00006280| 73 70 65 63 69 66 69 63 | 20 70 73 65 75 64 6f 2d |specific| pseudo-|
|00006290| 69 6e 73 74 72 75 63 74 | 69 6f 6e 73 3a 0a 0a 20 |instruct|ions:.. |
|000062a0| 2e 6f 62 6a 6e 61 6d 65 | 20 3c 6e 61 6d 65 3e 20 |.objname| <name> |
|000062b0| 20 20 20 20 20 20 74 68 | 65 20 6a 75 73 74 20 61 | th|e just a|
|000062c0| 73 73 65 6d 62 6c 65 64 | 20 6f 62 6a 65 63 74 20 |ssembled| object |
|000062d0| 77 69 6c 6c 20 62 65 20 | 63 61 6c 6c 65 64 0a 20 |will be |called. |
|000062e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|000062f0| 20 20 20 20 20 20 3c 6e | 61 6d 65 3e 20 28 44 65 | <n|ame> (De|
|00006300| 66 61 75 6c 74 3a 20 44 | 61 74 65 69 6e 61 6d 65 |fault: D|ateiname|
|00006310| 29 0a 20 2e 73 65 67 69 | 64 20 3c 6e 61 6d 65 3e |). .segi|d <name>|
|00006320| 20 20 20 20 20 20 20 20 | 20 74 68 65 20 73 65 67 | | the seg|
|00006330| 6d 65 6e 74 20 49 44 20 | 62 65 63 6f 6d 65 73 20 |ment ID |becomes |
|00006340| 3c 6e 61 6d 65 3e 20 28 | 44 65 66 61 75 6c 74 3a |<name> (|Default:|
|00006350| 20 27 63 6f 64 65 27 29 | 0a 20 2e 73 65 67 61 74 | 'code')|. .segat|
|00006360| 74 72 20 3c 27 52 4f 27 | 7c 27 52 57 27 3e 20 20 |tr <'RO'||'RW'> |
|00006370| 52 65 61 64 2d 6f 6e 6c | 79 20 6f 72 20 52 65 61 |Read-onl|y or Rea|
|00006380| 64 2d 57 72 69 74 65 20 | 53 65 67 6d 65 6e 74 20 |d-Write |Segment |
|00006390| 28 44 65 66 61 75 6c 74 | 3a 20 27 52 57 27 29 0a |(Default|: 'RW').|
|000063a0| 20 2e 69 6e 69 74 20 3c | 73 79 6d 62 6f 6c 3e 20 | .init <|symbol> |
|000063b0| 20 20 20 20 69 6e 73 65 | 72 74 20 61 20 63 6f 6e | inse|rt a con|
|000063c0| 73 74 72 75 63 74 6f 72 | 20 69 6e 74 6f 20 69 6e |structor| into in|
|000063d0| 69 74 20 61 72 65 61 0a | 20 20 20 20 20 20 20 20 |it area.| |
|000063e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 28 69 6e | | (in|
|000063f0| 69 74 20 61 72 65 61 20 | 69 73 20 73 63 61 6e 6e |it area |is scann|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.