Mail Archives: djgpp/1999/05/25/18:40:25
From: | Massimo Petrucci <massimo AT erg123 DOT casaccia DOT enea DOT it>
|
Newsgroups: | comp.os.msdos.djgpp
|
Subject: | Re: my rhide wont work with c++
|
Date: | Tue, 25 May 1999 10:42:58 -0700
|
Organization: | CASPUR - Inter-University Computing Consortium
|
Lines: | 63
|
Message-ID: | <374AE122.167E@erg123.casaccia.enea.it>
|
References: | <7i9ggh$ej5$1 AT news DOT koti DOT tpo DOT fi>
|
NNTP-Posting-Host: | erg123.casaccia.enea.it
|
Mime-Version: | 1.0
|
X-Trace: | canarie.caspur.it 927622198 27890 192.107.72.123 (25 May 1999 08:49:58 GMT)
|
X-Complaints-To: | admnir AT caspur DOT it
|
NNTP-Posting-Date: | 25 May 1999 08:49:58 GMT
|
X-Mailer: | Mozilla 3.01SC-SGI (X11; I; IRIX 5.3 IP22)
|
To: | djgpp AT delorie DOT com
|
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp
|
Reply-To: | djgpp AT delorie DOT com
|
Ilari Kaartinen wrote:
>
> When i compile a simple test program, i get error messages...
> --------
> Compiling: test.cpp
> c:/ohjelm/c/djgpp/lang/gxx/libio.h(30) In file included from
> c:/ohjelm/c/djgpp/lang/gxx/libio.h:30,
> c:/ohjelm/c/djgpp/lang/gxx/streambuf.h(36) from
> c:/ohjelm/c/djgpp/lang/gxx/streambuf.h:36,
> c:/ohjelm/c/djgpp/lang/gxx/iostream.h(31) from
> c:/ohjelm/c/djgpp/lang/gxx/iostream.h:31,
> test.cpp(1) from test.cpp:1:
> c:/ohjelm/c/djgpp/lang/gxx/_G_config.h(20) Error: parse error before
> '__extension__'
> test.cpp(1) In file included from test.cpp:1:
> c:/ohjelm/c/djgpp/lang/gxx/iostream.h(91) Error: parse error before
> '__extension__'
> c:/ohjelm/c/djgpp/lang/gxx/iostream.h(208) Error: parse error before
> '__extension__'
> There were some errors
> --------
>
> test.cpp
> --------
> #include <iostream.h>
> int main (void)
> {
>
> cout << "Testing..." << endl;
>
> return 0;
>
> }
> --------
>
> test.cpp will compile ok, if i do it like this...
> gxx test.cpp -o test.exe
>
> Also:
> my rhide works fine with c files and such
> (I didint find any help from FAQ)
>
> i have installed these packages:
> BNU281B
> DJDEV202
> GCC281B
> GPP281B
> LGP2811B
> MAK377B
> OBJC281B
> RHIDE14B
> TXI390B
>
> Thanks for your help...
>
> - Ilari
Try to put libstdcxx.a in the 'lib/' directory of your djgpp
installation.. The file should be in some subdirectory of 'lib/'
itself....
If it does'nt work try to read the FAQ, section 8.7
Massimo
- Raw text -