How do I convert .c files to .gb (GameBoy) files on Linux

47 Views Asked by At

I'm starting to learn how to program GameBoy games using Visual Studio on Ubuntu 20.04. This requires me to compile my .c file to .gb; on Windows this is done via .bat, but I cannot find an equivalent on Linux. Any ideas?

1

There are 1 best solutions below

0
Phil On

as I understand it, you need to use a make file to compile your C code. Ideally you could use GBDK (Game Boy Development Kit) and the github page has a description on how to use the make file. It basically has a set of instructions that brings together the various .h files and compiles them together. If you are using Visual studio and coding directly in C without any of these resources then I'm not sure how you would do that.