Home | Forums | What's new | Resources | |
Setting Up Linux Dev Environment? |
slinga - Aug 7, 2019 |
mrkotfw | Aug 11, 2019 | |||
What steps have you taken? Have you cloned the repo? |
slinga | Aug 28, 2019 | |||
Sorry for the delayed reply. Yes I cloned the git repo: git clone johannes-fetz/joengine... In /jo/joengine/Compiler/SH_NONE_ELF/bin there appears to be a compiler sh-none-elf-gcc-8.2.0. I think tried to compile a empty main file that includes jo/jo.h: ./sh-none-elf-gcc-8.2.0 main.c -I ~/jo/joengine/jo_engine And that fails. Any advice? Thanks in advance. |
antime | Aug 29, 2019 | |||
What fails? How? What errors do you get? |
antime | Aug 31, 2019 | |||
Can you build one of the bundled demo apps? |
slinga | Sep 2, 2019 | |||
Thank you, it was embarrassingly simple. All I had to do was run "compile.sh" in one of the sample dirs. |
vexatious | Sep 19, 2019 | |||||
Unfortunately there isn't a straight forward way. Each variant of Linux has a different system. Slackware is possibly easiest since you just write a .SlackBuild and let it compile the program; Slackware is pretty much a GNU BASH driven system so it's transparent to GNU Linux. I'd recommend you make a .spec file for rpmbuild, for rpm based Linux variants. Or at least an Ebuild for Gentoo's Portage. |
slinga | Sep 20, 2019 | ||||
Actually it was pretty simple for me on Linux Mint: And that successfully compiled the demo and created an .ISO for me. |
vexatious | Sep 20, 2019 | |||
That's great things worked for you. Usually you want a sane resulting installable program so you can avoid git and keep track of installed software (e.g. deb, rpm, tbz2, txz, etc). Integrity keeps things transparent under Linux; Linux can be nasty against user preference. EDIT: You said any dev environment under Linux so not just Joengine? Consider "Codewarrior" version 4; this one and some others work in Linux. |