Mail Archives: djgpp/2000/07/20/00:27:27
Message-ID: | <000c01bff203$3c8d9a80$a41bfea9@we.mediaone.net>
|
From: | "george" <ghanna8136 AT mediaone DOT net>
|
To: | <djgpp AT delorie DOT com>
|
Subject: | DJGPP Compiler
|
Date: | Wed, 19 Jul 2000 21:30:10 -0700
|
MIME-Version: | 1.0
|
X-Priority: | 3
|
X-MSMail-Priority: | Normal
|
X-Mailer: | Microsoft Outlook Express 5.50.4133.2400
|
X-MimeOLE: | Produced By Microsoft MimeOLE V5.50.4133.2400
|
Reply-To: | djgpp AT delorie DOT com
|
This is a multi-part message in MIME format.
------=_NextPart_000_0009_01BFF1C8.840163A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Dear Sir
I tried hard to start the compiler, But I failed to do that.
So I got the following instruction:
1) Write the source code using Notepad and save it as a .cpp file. This =
example will use hello.cpp as the file name.
2) Go to the DOS Prompt. (Start | Program Files | MS DOS Prompt)
3) Change the directory to the directory where you saved the source =
code. (cd\djgpp\src)
4) Type gcc -c -Wall hello.cpp
5) Press Enter.
6) Type gxx -o hello.exe hello.o
7) Press Enter.
8) You will get an error about Stubify, this is okay.
9) Type hello.exe
Unfortunately, It did not work too.
Starting from # 4, I always get bad command.
Please tell me what can I do.
Thank you
George
------=_NextPart_000_0009_01BFF1C8.840163A0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Dear Sir</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I tried hard to start the compiler, But I failed to =
do=20
that.</FONT></DIV>
<DIV><FONT size=3D2>So I got the following instruction:</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>1) Write the source code using Notepad and save it =
as a .cpp=20
file. This example will use hello.cpp as the file name.<BR>2) Go to the =
DOS=20
Prompt. (Start | Program Files | MS DOS Prompt)<BR>3) Change the =
directory to=20
the directory where you saved the source code. (cd\djgpp\src)<BR>4)=20
Type gcc -c -Wall hello.cpp<BR>5) Press Enter.<BR>6)=20
Type gxx -o hello.exe hello.o<BR>7) Press Enter.<BR>8) You =
will get=20
an error about Stubify, this is okay.<BR>9) Type =20
hello.exe</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Unfortunately, It did not work too.</FONT></DIV>
<DIV><FONT size=3D2>Starting from # 4, I always get bad =
command.</FONT></DIV>
<DIV><FONT size=3D2>Please tell me what can I do.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Thank you</FONT></DIV>
<DIV><FONT size=3D2>George</FONT></DIV></BODY></HTML>
------=_NextPart_000_0009_01BFF1C8.840163A0--
- Raw text -