delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/05/22/17:01:26

Message-ID: <002801c0e2fd$dd0a0ac0$dc6a68d5@self>
From: "greg.pearce" <greg DOT pearce AT ntlworld DOT com>
To: <djgpp AT delorie DOT com>
Subject: new c++ problem
Date: Tue, 22 May 2001 21:29:11 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2615.200
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2615.200
Reply-To: djgpp AT delorie DOT com

This is a multi-part message in MIME format.

------=_NextPart_000_0025_01C0E306.3E269A00
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I installed  DJGPP with a long filename supporting PKZIP, and followed =
all the installation properly.
I can compile C source written in notepad with a .c extension using gcc =
no problem, but when i try to compile C++ written in notepad  with a .cc =
extension using gpp it says: =20
gpp.exe: installation problem, cannot exec 'cpp': No such file or =
directory (ENOENT)

I even tryed to compile it in gcc with the line:
  gcc myprog.cc -o myprog.exe -lstdcxx
and got a simaliar error, what am i doing wrong, can you please help?
from Greg Pearce

P.S sorry to bother you again

------=_NextPart_000_0025_01C0E306.3E269A00
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.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><STRONG><FONT face=3DArial size=3D2>I installed&nbsp; DJGPP with a =
long=20
filename supporting PKZIP, and followed all the installation=20
properly.</FONT></STRONG></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>I can compile C source written =
in notepad=20
with a .c extension using gcc no problem, but when i try to compile C++ =
written=20
in notepad&nbsp; with a .cc extension using gpp it says:&nbsp;=20
</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>gpp.exe: installation problem, cannot =
exec 'cpp':=20
No such file or directory (ENOENT)</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><STRONG><FONT face=3DArial size=3D2>I even tryed to compile it in =
gcc with the=20
line:</FONT></STRONG></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>&nbsp; </STRONG>gcc myprog.cc =
-o myprog.exe=20
-lstdcxx</FONT></DIV>
<DIV><STRONG><FONT face=3DArial size=3D2>and got a simaliar error, what =
am i doing=20
wrong, can you please help?</FONT></STRONG></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>from Greg =
Pearce</STRONG></FONT></DIV>
<DIV><STRONG></STRONG>&nbsp;</DIV>
<DIV><STRONG>P.S sorry to bother you=20
again</STRONG></DIV></FONT></DIV></BODY></HTML>

------=_NextPart_000_0025_01C0E306.3E269A00--

- Raw text -


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