Blame
|
1 | # Toolchains |
||||||
| 2 | ||||||||
| 3 | There are any number of ways you might pick for programming the sbc and some of them are listed here. |
|||||||
| 4 | ||||||||
| 5 | ## Assemblers |
|||||||
| 6 | ||||||||
| 7 | ### The Gnu assembler gas |
|||||||
| 8 | **Pros** |
|||||||
| 9 | - it comes bundled as part of the Gnu C Compiler toolkit. |
|||||||
| 10 | - Supports most 680x0 processsors. |
|||||||
| 11 | ||||||||
| 12 | **Cons** |
|||||||
| 13 | - Non-Motorola syntax. Personally I hate it. |
|||||||
| 14 | ||||||||
| 15 | ### Vasm |
|||||||
| 16 | **Pros** |
|||||||
| 17 | - Uses Motorola standard syntax |
|||||||
| 18 | - Powerful macro support |
|||||||
| 19 | - Can produce output in multiple formats: |
|||||||
|
20 | - S-Records - great for building standalone images ready to upload to the sbc-3 |
||||||
| 21 | - elf - code assembled to elf can be linked with other elf files (which could be assembled code or compiled C). |
|||||||
| 22 | - Can be compiled on just about any platform with a half decent C compiler. |
|||||||
| 23 | ||||||||
| 24 | **Cons** |
|||||||
| 25 | - Can't think of any. |
|||||||
|
26 | |||||||
| 27 | ||||||||
| 28 | ## Compilers |
|||||||
| 29 | ||||||||
| 30 | ### gcc-m68k |
|||||||
| 31 | For me, it's a no brainer to use this wherever it's available. I do most of my development under Linux and `gcc-m68k` is available to install on all but the most obscure Linux distros. |
|||||||