www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/11/04/09:05:46

Message-ID: <356586F4.EA35C5F8@cue.satnet.net>
Date: Fri, 22 May 1998 09:08:53 -0500
From: "Ronald Patiño G" <logan AT cue DOT satnet DOT net>
X-Mailer: Mozilla 4.04 [en] (Win95; I)
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: g++ how to compile?
References: <Pine DOT BSI DOT 3 DOT 95 DOT 981030124205 DOT 7339A-100000 AT cue DOT satnet DOT net> <363ABFFC DOT B0DBF2A2 AT mcis DOT de> <35603D79 DOT 3DAA7B03 AT cue DOT satnet DOT net>
Reply-To: djgpp AT delorie DOT com

hello.

   I'm tryng to comile a simple program like:
#include <iostream.h>
void main()
{

cout << "hello";
}
then if i tipe g++ hello.cc
i get this error message
c:/djgpp/bin/ld.exe cannot open crtf.o:no such file or directory

or if i try to compile it from rhide i get this
in file included from hola.cc:1:
c:/djgpp/lang/cxx/iostream.h(91) error:parse error before
'__extension__'
c:/djgpp/lang/cxx/iostream.h(208) error:parse error before
'__extension__'

do i have to set up something in order to compile a c++ program??
what for ld neads to read crtf.o??
thanks in advance.

- Raw text -


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