An odd question

Associate
Joined
22 Sep 2009
Posts
2,085
Location
Leicester
Sorry for vague title, struggled to think of anything better :confused:

I'm working on a programming project currently and the 2 options I have is either building a complex cross compiler for Windows, or using the standard GCC with minor changes. I can't install Linux onto my main PC, I did get by using a virtual machine for a while however it's a bit tiresome, so I figured another option was to see if there are any known Linux systems where I can ssh into and compile, this would give me the advantage of being able to develop anywhere using my phone too.

The final option is to use an extremely basic Linux distro which I can emulate in a small speedy VM. It'd need at most the following abilities: use of NASM and be able to mount virtual floppies. I'd rather do away with a GUI (never used one for programming, probably never will) and all the other stuff which will slow down the booting and bulk up the ISO.
 
was to see if there are any known Linux systems where I can ssh into and compile, this would give me the advantage of being able to develop anywhere using my phone too.

Pretty much any distro will have openssh and gcc support.

Another option would be for you to just use Cygwin on Windows and use the gcc build chain without having to have a Linux OS.

Another option would be MinGW.
 
Yes, but some of the ones I've looked at don't support NASM per se, at least not out the box and I've not had the time to experiment with which ones might work. I don't need SSH on my distro, it was purely a question of if there are any systems I can SSH into to compile my code, rather than relying on a VM.

Both Cygwin and Mingw are out of the question as they require spending a fair amount of time building the cross compiler, I specifically need to output elf files and under Windows I get a bunch of errors when trying without the cross compiler, not to mention I have a ton of scripts for automating everything from compiling, packing and testing which won't run on Cygwin.
 
Yes, but some of the ones I've looked at don't support NASM per se, at least not out the box and I've not had the time to experiment with which ones might work. I don't need SSH on my distro, it was purely a question of if there are any systems I can SSH into to compile my code, rather than relying on a VM.

Both Cygwin and Mingw are out of the question as they require spending a fair amount of time building the cross compiler, I specifically need to output elf files and under Windows I get a bunch of errors when trying without the cross compiler, not to mention I have a ton of scripts for automating everything from compiling, packing and testing which won't run on Cygwin.

You're right, it is an odd question :p

Have you considered buying a shell account? You could get one with SSH/GCC for maybe £5/month. Other than that no, I would stick with a VM with your build chain all setup.
 
Back
Top Bottom