-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Enable builds from source, clean up README
- Loading branch information
1 parent
13fcba6
commit 91900fc
Showing
151 changed files
with
3,959 additions
and
16,297 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
# AgDev - compile instructions | ||
|
||
A script ```compile.sh``` can be used to compile this source tree. | ||
It is a Linux only compile script. | ||
Broadly speaking, compiling AgDev entails cloning CEdev, then copying AgDev source files on top of that repo, and then building CEdev, with some additional cleanup work performed afterwards. However, there's a lot of ways this can go wrong, so build scripts are provided to make this process easier. These scripts will place the AgDev build inside the `AgDev_build` folder relative to where they're called. They take an optional argument which points to a local copy of the AgDev git repo; if this is not provided it will pull from the main branch on GitHub instead. | ||
|
||
You should clone the repo or extract the release, then just run the bash script `compile.sh` | ||
As part of the script it will download https://github.com/CE-Programming/toolchain/releases/latest/download/CEdev-Linux.tar.gz | ||
If you run into issues, try installing the CEdev prerequisite libraries (fasmg, ez80-clang, and MinGW for Windows users) as described in the [CEdev compilation instructions](https://ce-programming.github.io/toolchain/static/contributing.html). | ||
|
||
After the code is compiled, move the CEdev directory to wherever you desire and add the CEdev/bin directory to your path. | ||
## Windows | ||
|
||
`compile.bat [path\to\agdev\repo]` | ||
|
||
## Linux | ||
|
||
`sudo sh compile.sh [path/to/agdev/repo/]` |
Oops, something went wrong.