| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 27 Aug 2000 16:40:24 -0500 |
| From: | "S. Petersmeyer" <ptrsmyrm AT swbell DOT net> |
| Subject: | Help! Won't compile C++ |
| To: | djgpp AT delorie DOT com |
| Message-id: | <000001c0106f$91dbf6a0$f4dad840@new300> |
| MIME-version: | 1.0 |
| X-Mailer: | Microsoft Outlook 8.5, Build 4.71.2173.0 |
| Importance: | Normal |
| X-MSMail-Priority: | Normal |
| X-MimeOLE: | Produced By Microsoft MimeOLE V4.72.3612.1700 |
| X-Priority: | 3 (Normal) |
| Reply-To: | djgpp AT delorie DOT com |
This is a multi-part message in MIME format.
------=_NextPart_000_0001_01C01045.A905EEA0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
I have been using djgpp for 2 months successfully compiling C programs. Now
I need to compile C++ programs.
I have downloaded and unzipped the file gpp2952b.zip.
See attached files for error message.
Thanks!
------=_NextPart_000_0001_01C01045.A905EEA0
Content-Type: text/plain;
name="errormessg.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="errormessg.txt"
#include <iostream.h>
void main()
{
cout<<"hello world"<<endl;
}
C:\djgpp\bin>gcc -c -Wall sample.cc
sample.cc:3: return type for `main' changed to `int'
C:\djgpp\bin>gxx -o sample.exe sample.o
c:/djgpp/bin/ld.exe: cannot open -lgpp: No such file or directory (ENOENT)
------=_NextPart_000_0001_01C01045.A905EEA0
Content-Type: text/plain;
name="go32.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="go32.txt"
go32/v2 version 2.0 built Nov 15 1998 14:36:43
Usage: go32 coff-image [args]
Rename this to go32.exe only if you need a go32 that can run v2 binaries =
as
well as v1 binaries (old makefiles). Put ahead of the old go32 in your =
PATH
but do not delete your old go32 - leave it in the PATH after this one.
Set GO32_V2_DEBUG=3Dy in the environment to get verbose output.
DPMI memory available: 32711 Kb
DPMI swap space available: 28593 Kb
------=_NextPart_000_0001_01C01045.A905EEA0
Content-Type: text/plain;
name="environ.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="environ.txt"
TMP=3DC:\WINDOWS\TEMP
TEMP=3DC:\WINDOWS\TEMP
PROMPT=3D$p$g
winbootdir=3DC:\WINDOWS
COMSPEC=3DC:\WINDOWS\COMMAND.COM
SOUND=3Df:\PROGRA~1\Creative\CTSND
MIDI=3DSYNTH:1 MAP:E MODE:0
PATH=3DC:\DJGPP\BIN;C:\PROGRA~1\MICROS~1\OFFICE;F:\LOTAPPS\CCMAIL;C:\SRVT=
OOLS;C:\WINDOWS;C:\WINDOWS\COMMAND
DJGPP=3DC:\DJGPP\DJGPP.ENV
windir=3DC:\WINDOWS
BLASTER=3DA220 I5 D1 H5 P330 T6 E620
------=_NextPart_000_0001_01C01045.A905EEA0--
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |