delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/06/22/16:00:26

From: Mark Collinson <mark DOT collinson AT unn DOT ac DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: pcGRASP setup, compiling, front-ends, and just being a newbie in
general
Date: Tue, 22 Jun 1999 12:16:21 +0100
Organization: University of Northumbria at Newcastle
Lines: 46
Message-ID: <376F7085.F997C9CA@unn.ac.uk>
References: <19990621194306 DOT 17262 DOT 00000493 AT ng-fk1 DOT aol DOT com>
NNTP-Posting-Host: monkey.unn.ac.uk
Mime-Version: 1.0
X-Mailer: Mozilla 4.51 [en] (WinNT; I)
X-Accept-Language: en
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Greetings,

I set pcGRASP up as follows:

Click File->Global Preferences... 
Click the Workspace/Compilers tab (This should appear as default)

Now select the 'Add' command and enter the following
-----------------------------------------------------------------
Environment Name: 		(C) Djgpp
Compile Only Command:		gcc -Wall -c %f.c
Compile/Link Command:		gcc -Wall -o %f.exe %f.c
Debug Command:			gdb %f.exe
Semantic Check Command:		gcc -fsyntax-only %f.c
Run Command:			%f.exe
Make Command:			make
Error Format:			
CSD Include Path:
Environment Variables:		
-----------------------------------------------------------------
Then click save. Do the same as before for the following:
-----------------------------------------------------------------
Environment Name: 		(C++) Djgpp
Compile Only Command:		gxx -Wall -c %f.cpp
Compile/Link Command:		gxx -Wall -o %f.exe %f.cpp
Debug Command:			gdb %f.exe
Semantic Check Command:		gxx -fsyntax-only %f.cpp
Run Command:			%f.exe
Make Command:			make
Error Format:			
CSD Include Path:
Environment Variables:		
-----------------------------------------------------------------
Click save again.

Click the 'C' tab and change the Compiler Environment for C
programs to (C) Djgpp.

Click the 'C++' tab and change the same option to (C++) Djgpp.

And that should work.

If you have any further problems contact me.

Cheers,
Mark

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019