Ok I downloaded the file, unpacked into a directory wingw32. However, you said after that everything would be fine, and I dont think it is. I am still confused as to how to get this program to actually run/compile code that I write in a text editor.
Whats a "Comand line compiler?"
Markus Gerwinski wrote:
Hello, Kevin!
Would you have any advice for someone like myself to make the downloading and installation process I little more manageable.
First of all choose the distribution you want to download. The current Windows version of gpc is in
ftp://agnes.dida.physik.uni-essen.de/gnu-pascal/beta/binary/gpc-19990118-egcs-1+.1.1.i386-pc-mingw32.zip
Create a directory "mingw32" on C: (or on whatever drive you want to install gpc), and unpack the archive file into this directory. After that, everything should be fine.
Up to now, there is not a gpc IDE for Windows, so you'll have to work with a text editor and a command line compiler. But watch out for a new all-platform IDE named PENG, which soon shall be released.
If there are still problems, I recommend to post them to the GPC mailing list (gpc@gnu.de).
Hope this helps
Markus
Kevin Williams wrote:
Ok I downloaded the file, unpacked into a directory wingw32. However, you said after that everything would be fine, and I dont think it is. I am still confused as to how to get this program to actually run/compile code that I write in a text editor.
Whats a "Comand line compiler?"
As the name says, it's a compiler that you can invoke from the command line.
Suppose you have edited a file `C:\GPC-Progrmas\foo.pas'. Then, from your MS-DOS shell, you can compile and run it as follows:
C:\GPC-Programs> gpc --automake foo.pas -o foo C:\GPC-Programs> foo
This method to control the compiler has the advantage that it needn't be a human who types these commands. It can be a batch file or better (a Unix shell script, an IDE of your choice) that calls the compiler for you.
Please note that mingw32 produces programs for MS-Windows, so they will only run in a MS-Windows DOS box, not under real MS-DOS without the MS-Windows API (and GUI).
Hope this helps,
Peter