|
|
How do you install QC? It's not too difficult, at least compared with LegOS 
First, download the distribution from Francesco's web site at http://digilander.iol.it/ferrarafrancesco/lego/qc/index.html
The QC distribution comprises of two files: http://legos.sourceforge.net/files/windows/cygwin/win-h8-egcs-1.1.2.zip and the quite C library: http://digilander.iol.it/ferrarafrancesco/lego/qc/qc105.zip
Next extract these files using Winzip or another zip extractor to a new directory for QC on your hard drive.
Important note: The qc.zip contains a top level qc folder already. you may end up with an extra qc folder level in your Quite C directory, if you do - just copy the contents of the qc folder 'up a level' into the folder you made for Quite C. The directory structure should look like this:

To get the compiler to work, you need to tell it where you've just installed it
as you probably already know, your computer has an environment variable called PATH which lists the directories to look when finding files. You need to add the \bin subdirectory of your QC directory to this path - don't worry it's quite easy: Just open up autoexec.bat in notepad or sysedit (or your favourite editor) and you will see a line which reads: SET PATH=C:\WINDOWS or something similar. Add your QC directory to the end of this, using a semicolon to separate it from the previous entry. Remember that if there are spaces in the directory path, you need to add quotes (") around the path. For example my path command reads: SET PATH=C:\WINDOWS;D:\lego\qc\bin You'll have to reboot your computer to get it to read the new path into memory.
Actually, I prefer not to set my path, I just do it once from the command prompt when I start working by typing:
set path="%path%;d:\lego\qc\bin" on win95/98/ME
set path=%path%;d:\lego\qc\bin on winXP/NT/2K
|
|