The intention of this project is to build an open wireless network using consumer router hardware in order to provide visiting friends or neighbors Internet access without potentially compromising our own local network.
For this project, we have a second wireless router configured as a "dummy" with DHCP/DNS switched off and with our primary WRT54Gv4 router's LAN VLAN'd LAN port plugged into one of its LAN ports so that it can provide wireless access. We do this so that we can use the WRT54G's WLAN interface with out own internal WPA-Enterprise network.
I'll note this here because I couldn't find any useful information on converting an image stored in libgd's native image format to Windows's native bitmap format directly anywhere on Google. In the end, I had to piece together a few clues.
This is actually pretty simple to do, though I haven't found any English instructions for doing so as of this writing. I did, however, find a very informative page on Touhou music extraction which included instructions for SWR.
This tutorial is Windows-centric, since SWR is a Windows game to begin with. Even if you normally use a different operating system, you should have a method of running Windows and .NET applications available to you.
To begin with, you need:
Adding SDKs and APIs
I'll now briefly cover adding SDL support to your new MingW installation in order to further solidify some of the concepts expressed earlier.
SDL-devel is the development package for SDL which includes the headers and libraries necessary to compile SDL-based applications. As of this writing, SDL-devel can be found on the SDL project download page. The appropriate package for the purposes of this tutorial would most likely be SDL-devel-x-mingw32, so download the appropriate version of that.
Practical Application
Now that I've defined some basic terms, I'll begin to explain the setup of the MingW gcc compiler. This explanation primarily applies to Windows. However, as gcc is native to a UNIX-based operating system, the information provided here can easily apply to nearly any UNIX platform, including Mac OS X, BSD, and Linux as well.
Background
Introduction
This is a somewhat simplified explanation of the basics of compilation and compiled C programs. Much of this also applies to any language that compiles to native machine code, but C is the low-level language with which I'm most familiar, so I'll use that for most of my examples. Throughout this article I'll try to explain the compilation process and, following that, how to setup and use a C compiler suite.