You are not logged in. | Register | Resend Activation

How To Compile Gccvb

Here's a quick guide about compiling, setting up and using the latest gccVB (GCC 2.95) in Windows.

Installation

  1. Do a complete install of cygwin (if you don't have enough free disc space: you need at least the following packages: make, gcc, flex, patch, tar, gzip, autoconf, gperf, and bison).
  2. Add "C:\cygwin\bin" to your "PATH" Windows environment variable.
  3. Grab the latest gccVB (GCC 2.95, 2007/03/26), extract it, browse to the gccvb directory "vb_v810_gcc_03" in cygwin and type "./make_v810.sh". The compiler will then be installed automatically. This will take quite a while, so be prepared for some waiting!
  4. Since the crt0, that came with gccVB, is outdated by now, download this one, and copy it to C:/cygwin/usr/local/v810/lib.

Usage

  1. In Cygwin, browse to the source you want to compile (for example "/cygdrive/c/Users/Chris/Documents/VB/blox2")
  2. Type in "make" and voila, done! (Of course your project will need a makefile for this to work)


 


Last modified: 16.02.2009