| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mailnull set sender to djgpp-bounces using -f |
| From: | "Robert" <robertrichmond AT bigpond DOT com> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Setting up in Windows XP |
| Lines: | 48 |
| X-Priority: | 3 |
| X-MSMail-Priority: | Normal |
| X-Newsreader: | Microsoft Outlook Express 6.00.2600.0000 |
| X-MimeOLE: | Produced By Microsoft MimeOLE V6.00.2600.0000 |
| Message-ID: | <Y%Jh8.9321$nC6.46779@news-server.bigpond.net.au> |
| Date: | Thu, 07 Mar 2002 13:34:48 GMT |
| NNTP-Posting-Host: | 203.45.191.51 |
| X-Complaints-To: | news AT bigpond DOT net DOT au |
| X-Trace: | news-server.bigpond.net.au 1015508088 203.45.191.51 (Fri, 08 Mar 2002 00:34:48 EST) |
| NNTP-Posting-Date: | Fri, 08 Mar 2002 00:34:48 EST |
| Organization: | BigPond Internet Services (http://www.bigpond.net.au) |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
Hi,
Being brand New to programming in C I have come across my first problem. ;)
I am trying to install c on my Windows XP Professional PC.
I have been doing this:
START -> All Programs -> Control Panel -> System -> Advanced ->
Environmental Variables ->
Then I select Path and and EDIT and modify the Variable Value to look like:
"
%SYSTEMROOT%\system32;c:\jdk1.3.1_01\bin;%SYSTEMROOT%;%SYSTEMROOT%\system32\
WBEM;E:\MSPUBL~1\Office;C:\DJGPP\BIN;
" (minus the quotes)
Then I clicked new and in the variable Name I typed : " DJGPP " (minus
the quotes)
and in the Variable value I added " C:\DJGPP\DJGPP.env " (minus the
quotes)
Then I typed up a small C program:
"
/* This program prints the message
ANSI--A kinder and gentler C:
to the video Display */
#include <stdio.h>
main() {
printf( "ANSI--A kinder and gentler C!\n" );
} "
And tried compiling it ( C:\C>gcc first.c ) and I get:
'gcc' is not recognized as an internal or external command,
operable program or batch file.
Any Ideas to a newbie what's going on?
--
Robert Richmond
Return email address : robertrichmond-NOSPAM- AT bigpond DOT com
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |