Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Setup dev. env. with docker #146

Closed
wants to merge 1 commit into from
Closed

Setup dev. env. with docker #146

wants to merge 1 commit into from

Conversation

thamulot
Copy link

@thamulot thamulot commented Apr 7, 2023

Working with my Mac I had a hard time trying to setup myself to begin the development of #75

I followed the Development intructions at https://orca.pet/tonyhax/ as well as the Compiling instructions from https://github.com/Lameguy64/mkpsxiso#compiling.

I got an error with the gcc-10-mips-linux-gnu package not providing the mips-linux-gnu-gcc CLI which I fixed (and you should probably too in the aformentioned doc) with installing gcc-mips-linux-gnu instead.

Usage

Basically you clone the tonyhax repo. Then once inside the dir you have to build the docker image with,

docker build -t tonyhax-dev .

Now that you have the image, you can compile tonyhax by booting a container,

docker run -v $(pwd):/tonyhax -it tonyhax-dev

And then make,

cd tonyhax/
make

The zip file will appear at the root of the host directory (outside the container) 🎉

@alex-free
Copy link

alex-free commented Apr 7, 2023

IMO the better way is to just integrate cross tool-ng directly to make any OS capable of building the tool chain.

@thamulot thamulot closed this Apr 7, 2023
@socram8888
Copy link
Owner

I fixed the docs. Thanks for the tip.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants