Skip to content

Commit

Permalink
Good enough
Browse files Browse the repository at this point in the history
  • Loading branch information
andwn committed Aug 23, 2017
1 parent 758eecc commit 1d4bb4e
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 26 deletions.
30 changes: 7 additions & 23 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
## Marsdev - GNU toolchain for MegaDrive + 32X
## Marsdev

It's sort-of working now.
Personal MegaDrive toolchain I put too much effort into.
You probably shouldn't try using this for 32X dev,
I don't have any examples yet and am still learning how that thing works.


### Install this stuff first
Expand All @@ -21,27 +23,11 @@ Possible targets to install are:
* `sh-toolchain`: GNU toolchain for SH-2 (32X / Saturn)
* `tools`: A couple Z80 assemblers and various tools I find useful
* `sgdk`: SGDK and its tools (rescomp, xgmtool, etc)
* `umdk`: UMDK tools

By default, only the `m68k-toolchain` and `tools` targets are built.

You can change the install path like `make MARSDEV=/where/to/install`.
But really you can just copy the "mars" directory anywhere and change
your project's Makefile to point to it.


### How is this different from Gendev?

Added:
* plugin support for nm, so you can still generate a symbol table with LTO.
* Most of Sik's tools, and z80asm so Echo can be built.
* Optional `sh-elf` toolchain for 32X dev.
* Installs to `${HOME}/mars` by default. No need for superuser.

Not Included:
* Aplib/Sixpack
* Newlib
* Massive archive files
The default install path is `${HOME}/mars`, but can be changed by defining `MARSDEV`
like this: `make MARSDEV=/where/to/install`.


### Examples
Expand All @@ -57,6 +43,4 @@ Should be as easy as a `make` for any of them.

### TODO

* 32X Example
* GDB maybe?
* SDCC?
* 32X example/skeleton
6 changes: 3 additions & 3 deletions gdb/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
GDB_VER = 8.0
GDB_DIR = gdb-$(GDB_VER)
GDB_PKG = $(GDB_DIR).tar.gz
GDB_VER = 8.0
GDB_DIR = gdb-$(GDB_VER)
GDB_PKG = $(GDB_DIR).tar.gz

TARGET = $(ARCH)-elf
PREFIX = $(MARSDEV)/$(TARGET)
Expand Down

0 comments on commit 1d4bb4e

Please sign in to comment.