(WIP) Cross-Platform Compiler using Windows Linux Subsystem
Posted: Sun Oct 27, 2019 10:10 pm
Very much a work in progress, but I'm quite excited with progress so far so I thought I'd blog a little about what I'm up to.
PBCC - PureBasic Cross-Compiler Tool
Utilising Windows 10's Windows Linux Subsystem architecture, I wanted to create a tool that would make compiling for different target platforms as easy as using one command-line tool, and as such started developing this application.
A console application (based off my General Purpose Console Interface) where you can specify Windows 32/64bit and Linux 64bit compiler paths, and then compile your projects by simply calling either win32, win64, linux64 followed by the standard command line switches.
Under the hood is also logic and gubbins to handle such things like Windows directory paths within the Linux subsystem, as well as the little nuances between the different platform compilers.
Screenshot

Here's a screenshot of the tool in it's infantile stages in action. For this example I've already configured the paths of 3 different compilers.
When a compiler is added to the tool's config, it exposes a relevant quick-command to the commands available (win32, win64, linux64) which you can then use instead of pbcompiler ....
Release?
It's not quite ready yet - I still have a lot more testing and optimisation, and a few bugs to sort out (namely FASM not running correctly in WSL) to do before I'm happy for it to be released to the public, but once it's ready it will be released for free.
PBCC - PureBasic Cross-Compiler Tool
Utilising Windows 10's Windows Linux Subsystem architecture, I wanted to create a tool that would make compiling for different target platforms as easy as using one command-line tool, and as such started developing this application.
A console application (based off my General Purpose Console Interface) where you can specify Windows 32/64bit and Linux 64bit compiler paths, and then compile your projects by simply calling either win32, win64, linux64 followed by the standard command line switches.
Under the hood is also logic and gubbins to handle such things like Windows directory paths within the Linux subsystem, as well as the little nuances between the different platform compilers.
Screenshot

Here's a screenshot of the tool in it's infantile stages in action. For this example I've already configured the paths of 3 different compilers.
When a compiler is added to the tool's config, it exposes a relevant quick-command to the commands available (win32, win64, linux64) which you can then use instead of pbcompiler ....
Release?
It's not quite ready yet - I still have a lot more testing and optimisation, and a few bugs to sort out (namely FASM not running correctly in WSL) to do before I'm happy for it to be released to the public, but once it's ready it will be released for free.