-
Notifications
You must be signed in to change notification settings - Fork 23
DeveloperEnvironment
One of the main barrier to entry on an open source is in general the knowledge about setting up a developer environment.
This barrier is even higher when you need a setup to compile C/C++ under different operating systems.
It was a long time coming, but I think I finally wrote something that can help anyone from the total noob to the more experienced dev to setup a sane developer environment.
Even if the end goal is to compile C/C++ to produce Redtamarin executables, I do think those setup can also help for other projects at different level, any comment/feedback welcome.
Use the command line.
- you may not need the Command Line Interface (CLI) now
- you will need the CLI at some point
as most developer environment use CLI tools - anything advanced and/or automated
will require the CLI
Use a POSIX / Bash Shell environment.
-
cmd.exe
under Windows sucks - a Bash Shell can be viewed as the
smallest common denominator - wether you work under
Windows, Mac OS X, Linux, BSD, Solaris, etc.
a bash shell can save your butt
Be able to update/upgrade this environment with new versions or new tools.
- you do not want to waste time clicking GUI
- you do want a package manager on the CLI
- you would want a CLI package manager
working similarly under Windows, Mac OS X and Linux
Be able to remote control on the command line and the desktop.
- VNC to Linux is slow, RDP is faster
- we want to be able to RDP to anything
- we want to be able to SSH to anything
Have a common workflow (as much as possible) shared between Windows, Mac OS X and Linux.
- command line tools work the same
- package manager work the same
- your build scripts/tools work the same
- easier to move from one system to another
- easier to share with other people
using different operating systems
- under Windows 8.1 pro
- Cygwin / Mintty
- Bash shell
- package manager:
$ apt-cyg
- under Mac OS X 10.10 Yosemite
- Terminal.app
- Bash shell
- package manager:
$ port
- under Linux Ubuntu 15.10 Wily Werewolf
- Terminal
- Bash shell
- package manager:
$ apt-get
Tested
- running bash scripts
- running perl
- running python
- compiling C
- gcc
- visual studio
- compiling C++
- g++
- visual studio
- running Java
- compiling Java
- compiling the Flex SDK
- compiling Flash applications
- compiling AIR applications
- compiling Redtamarin programs
- running AS3 shell scripts
Not Tested but should work too
- running PHP
- running Ruby
- running Node.js
- etc.